isIPsafe

v1.0.1
com.isipsafe/isipsafe Checked 1 day ago Published 29 days ago

Check whether an IP address or network is malicious and report abusive IPs to isIPsafe.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_ip Check an IP address

Reputation of one IPv4 or IPv6 address: abuse confidence score (0-100, 75+ is on the blocklist), number of reports and distinct reporters, attack categories, country, network owner (ASN), Tor exit status and a link to its page. Set verbose to include the latest reports with their comments.

ParameterTypeDescription
ip *stringIPv4 or IPv6 address, e.g. 203.0.113.7
maxAgeInDaysintegerOnly count reports from the last N days
verbosebooleanInclude up to 100 recent reports with comments

get_reports List reports for an IP address

The individual abuse reports filed against one address, newest first, with time, categories, comment (usually log lines) and reporter. Paginated.

ParameterTypeDescription
ip *stringIPv4 or IPv6 address
maxAgeInDaysintegerOnly reports from the last N days
pageintegerPage number
perPageintegerReports per page

check_network Check a network (CIDR)

Every reported address inside a CIDR block (IPv4 up to /16, IPv6 up to /48), with score, report count and last report time, plus the network's owner. Use it to judge a whole hosting range or subnet.

ParameterTypeDescription
network *stringCIDR block, e.g. 203.0.113.0/24
maxAgeInDaysintegerOnly count reports from the last N days

report_ip Report an abusive IP address

File an abuse report against an address that attacked a system you run. Needs an API key. Use category codes from list_categories (e.g. ssh,brute-force) and put the evidence (log lines, never personal data) in the comment. Each reporter can report the same address once per 15 minutes. Only report real, observed abuse.

ParameterTypeDescription
categories *stringComma-separated category codes or numeric IDs, e.g. ssh,brute-force
ip *stringThe attacking IPv4 or IPv6 address
commentstringEvidence: what happened, ideally the relevant log lines
timestampstringWhen the attack happened, ISO 8601 (optional, defaults to now)

get_blocklist Get the blocklist

The highest-confidence abusive addresses right now, best first, with score, country and categories. Needs an API key and counts as one blocklist download. For a firewall-ready file, point the firewall at the blocklist URL instead (see the integrations).

ParameterTypeDescription
confidenceMinimumintegerLowest score to include
exceptCountriesstringComma-separated ISO country codes to leave out
ipVersionintegerOnly IPv4 or only IPv6
limitintegerMaximum number of addresses
onlyCountriesstringComma-separated ISO country codes to include, e.g. CN,RU

list_categories List report categories

All attack categories with their code, numeric ID, group and when to use them. Use the codes with report_ip.

get_statistics Current abuse statistics

What the database sees right now: reports in the last 24 hours, addresses on the blocklist, and over the last 30 days the top attack categories, countries, networks and highest-scoring addresses.

get_today_news Today News

Today's threat news from the last 24 hours: the countries the most reported attacks come from, the networks (ASNs) behind them, the attack techniques (categories) reported most, and the top 10 malicious IP addresses reported today, highest score first. Use it for a daily briefing on what is attacking right now.

analyze_logs Analyze log traffic

Find malicious traffic in logs. Pass raw log lines from any source (nginx/Apache/IIS access logs, sshd/auth.log, syslog, firewall such as iptables/UFW/pfSense/ASA, mail servers, Windows events as text, CEF, JSON lines from a SIEM or cloud, CSV); every IPv4/IPv6 address is extracted wherever it appears and each non-blank line is one event. Returns how many events came from malicious (score 75+), suspicious (25-74) and unreported addresses, the top offenders with score and attack categories, the busiest addresses, countries, networks, attack categories, detected log formats, HTTP status classes,…

ParameterTypeDescription
logs *stringThe raw log text, one event per line, in any format

get_country_report Abuse report for a country

How many addresses in a country were reported in the last 30 days, how many are on the blocklist, the most reported addresses there, and the networks and attack categories behind them.

ParameterTypeDescription
country *stringISO 3166-1 alpha-2 code, e.g. DE

get_network_report Abuse report for a network (ASN)

Abuse reported against one autonomous system in the last 30 days: number of reported and blocklisted addresses, the worst addresses, attack categories and countries. Useful to judge a hosting provider or ISP.

ParameterTypeDescription
asn *stringAS number, with or without the AS prefix, e.g. AS14061 or 14061

about_isipsafe About isIPsafe

Explains isIPsafe itself. Use it for any question about the product rather than guessing: what it is and who it is for, its mission and aims, how reports and the confidence score work, plans, pricing and limits, how to get started, how to get an address delisted, privacy, and who runs it. Needs no API key and uses no allowance.

ParameterTypeDescription
topicstringWhat to read about. overview: What the product is, who it is for and what it offers. Start here. mission: Why it exists, what it aims for, its principles and where it is heading. how_it_works: How rep…