Queries Censys for deep host and certificate reconnaissance on IPs. Returns services, TLS certs, ASN, location. Supports search and free aggregations. Quota-limited (250/month).
Ships in cti-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Queries Censys for host and certificate reconnaissance on IPs, or runs a Censys Search query. Retrieval only. Quota-aware — free tier is 250 queries/month.
Do NOT invoke for:
Two CLIs are provided. Pick by capability needed.
Auth note: Censys migrated to a single Personal Access Token (PAT) on the new Platform. The Node CLI uses the legacy Search API (HTTP Basic Auth with
CENSYS_API_ID+CENSYS_API_SECRET); the Python CLI uses the new Platform API (Bearer auth withCENSYS_PAT). New accounts get a PAT — use the Python CLI. Old accounts may still have working legacy credentials and can use either.
node tools/clis/censys.js ip <ip>
node tools/clis/censys.js search "<query>" # Censys Search syntax
Requires CENSYS_API_ID + CENSYS_API_SECRET (legacy). Hits hosts/{ip} or hosts/search.
python3 tools/clis/censys.py host <ip> [--at-time ISO8601]
python3 tools/clis/censys.py timeline <ip> --start ISO8601 --end ISO8601
python3 tools/clis/censys.py services <ip>
python3 tools/clis/censys.py search "<query>" [--page-size N] [--page-token TOKEN] [--fields F1,F2]
python3 tools/clis/censys.py aggregate "<query>" --field FIELD [--buckets N] [--filter-by-query]
python3 tools/clis/censys.py certs view <cert_id>
python3 tools/clis/censys.py certs list <id1,id2,...>
Requires CENSYS_PAT (new). Self-bootstraps a private venv at tools/clis/.venv-censys/ on first run (installs censys-platform).
Capabilities the Node CLI doesn't have, ordered by CTI value:
--page-token for traversing large result sets.Examples:
# Free aggregation: count hosts running Cobalt Strike by country (no credits)
python3 tools/clis/censys.py aggregate \
'services.product: "Cobalt Strike Team Server"' \
--field location.country_code
# Free aggregation: ASN distribution of a JARM-fingerprinted cluster
python3 tools/clis/censys.py aggregate \
'services.tls.jarm.fingerprint: "1234567890abcdef..."' \
--field autonomous_system.asn --buckets 50
# What was this IP doing two weeks ago? (Platform-only)
python3 tools/clis/censys.py host 185.220.101.45 \
--at-time 2026-04-12T00:00:00Z
# Daily activity timeline for an IP
python3 tools/clis/censys.py timeline 185.220.101.45 \
--start 2026-04-01T00:00:00Z --end 2026-04-26T00:00:00Z
# Certificate view by ID (the SHA-256 fingerprint)
python3 tools/clis/censys.py certs view 5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8
# Search hosts and only return specific fields (saves payload)
python3 tools/clis/censys.py search \
'services.tls.certificates.leaf_data.subject.common_name: "*.badcorp.example"' \
--fields ip,location.country_code,services.port
Both CLIs accept --dry-run. Python CLI exits code 2 if CENSYS_PAT is unset; Node CLI exits code 2 if either of the legacy variables is unset. Report missing credentials; do not fabricate.
The new Censys Platform tightened free-tier API access. As of 2026, free Community accounts can call these endpoints only:
host — view host detail by IP ✓services — list services on a host ✓timeline — host activity timeline between two timestamps ✓certs view — certificate by ID ✓These are restricted on free tier (return 403 "endpoint requires organization ID"):
search — paid plan with organization requiredaggregate — paid plan only (no longer free as it was on the legacy API)certs list — likely same restrictionFor search / aggregation / pivoting on a free account, use the Censys web UI at https://platform.censys.io/. The web UI has full access; API access for those endpoints is a paid feature.
For CLI use on free tier, the Python CLI is still useful for per-IP enrichment (host, services, timeline) but won't replace the legacy Search API's free aggregations. If you have a legacy account with CENSYS_API_ID + CENSYS_API_SECRET, the Node CLI may give you better free-tier reach for now.
Each per-IP call on a free account counts against the 250 queries/month quota. Be deliberate.
For bulk infrastructure mapping, prefer Shodan — its free-membership tier ($49 one-time) gives you proper search access, and count is free. Reserve Censys for high-fidelity per-IP enrichment of indicators you've already found elsewhere.
source: censys
indicator: <IP or search query>
query_time: <ISO8601>
services:
- port: <port>
service: <name>
banner: <truncated>
certificates:
- subject_cn: <common name>
issuer: <issuer>
sha256: <fingerprint>
autonomous_system:
asn: <number>
name: <name>
location:
country: <country>
city: <city>
last_updated: <date>
Free tier: 250 queries/month (very limited). Research tier: 10k/month. Paid: unlimited.
Default rating for downstream /score-source: A2 (completely reliable, probably true). Censys is an authoritative internet-scan dataset with strong data hygiene.
$CENSYS_API_ID and $CENSYS_API_SECRET./lookup-shodan — lighter-weight alternative with higher rate limits/lookup-virustotal — reputation, not reconnaissance/ip-investigationtools/integrations/censys.mdtools/clis/censys.jstools/clis/censys.pyWhat SKILL.md sets; muted values are Claude Code's defaults
/cti-skills:lookup-censysfrom cti-skills
npx claudepluginhub liberty91ltd/cti-skills --plugin cti-skills78 skills in this plugin
/abuseipdb-apiAbuseIPDB API reference. IP reputation and abuse report lookups./achAnalysis of Competing Hypotheses — structured technique for evaluating multiple explanations against evidence. Use when facing ambiguous attribution or multiple plausible scenarios. Prefers graded evidence items from /quality-of-information-check and runs that skill first when handed raw URLs or text. Runs on ungraded evidence when asked, labelled as such, unweighted, and capped at Moderate confidence./campaign-trackingUse when documenting a named campaign across time and victims, the user asks to start or update a campaign record, or another skill identified a multi-incident cluster that warrants formal tracking. Provides the template (timeline, attribution, victimology, attack chain, Diamond Model mapping, IOC clusters) and the lifecycle from active to historical./carding-financial-fraudUse when the user asks about carding, BIN attacks, payment-card breach markets, fullz/CVV2 trade, autoshops (BidenCash, Brian's Club, Russianmarket, B1ack's Stash), or financial-fraud TTPs. Self-updating knowledge cell./censys-apiCensys API v2 reference. Host reconnaissance and certificate data./china-cyber-espionageUse when the user asks about Chinese state-sponsored cyber operations or specific PRC-aligned actors (APT41, Volt Typhoon, Mustang Panda, APT10, APT31, Salt Typhoon, etc.), MSS/PLA-attributed campaigns, or PRC sector targeting. Self-updating knowledge cell.Other plugins' skills for the same job