censys-censeye
Use when the user wants to run censys censeye, censys pivot analysis, censys rarity analysis, censys find related infrastructure, or run censeye on a host. Wraps the `censys censeye` CLI subcommand to analyze a single host and generate pivotable threat-hunting queries bounded by rarity (how many other hosts share each attribute). Trigger phrases include "censys censeye," "censys pivot analysis," "censys rarity analysis," "censys find related infrastructure," and "run censeye on." Requires Threat Hunting feature access on the organization. Not for criteria-based search (see censys-search) or single-record point lookups (see censys-view).
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-30
- Stars
- ★ 14
- Forks
- 0
01 前言 Front Matter
- name
- censys-censeye
- version
- 0.1.0
- description
- Use when the user wants to run censys censeye, censys pivot analysis, censys rarity analysis, censys find related infrastructure, or run censeye on a host. Wraps the `censys censeye` CLI subcommand to analyze a single host and generate pivotable threat-hunting queries bounded by rarity (how many other hosts share each attribute). Trigger phrases include "censys censeye," "censys pivot analysis," "censys rarity analysis," "censys find related infrastructure," and "run censeye on." Requires Threat Hunting feature access on the organization. Not for criteria-based search (see censys-search) or single-record point lookups (see censys-view).
02 资源文件 1
- 参考文档references/cli-globals.md1.9 KB
03 SKILL.md 正文
censys-censeye
When to use
Use this skill when the user has one (or a handful) of known hosts and wants Censys to surface which of that host's attributes are distinctive enough to be useful pivot points for finding related infrastructure. Typical asks:
- "censys censeye 8.8.8.8"
- "run censeye on this IP"
- "censys pivot analysis for 1.1.1.1"
- "censys find related infrastructure to this host"
- "censys rarity analysis on 203.0.113.5"
censeye inspects a host's fields (certificates, JARM/JA3 fingerprints, banners,
software, favicon hashes, etc.), counts how many other hosts on the internet share
each one, and returns candidate CenQL queries ranked by that shared-host count. Low
counts are distinctive (good pivots); very high counts are generic noise (e.g.
common software versions) and get filtered out by the rarity bounds.
Do not use this for open-ended criteria search (censys-search), a plain
point-in-time record lookup (censys-view), or field-level aggregation across many
hosts (censys-aggregate). This skill starts from one known host and radiates
outward into pivot candidates; it does not itself execute those pivot queries.
Requires Threat Hunting feature access on the authenticated organization. If the org doesn't have this entitlement, every invocation fails regardless of flags.
Invocation
censys censeye <asset> [flags]
<asset> is a host IP address. Defanged IPs (e.g. 8[.]8[.]8[.]8) are accepted and
normalized automatically.
Skill-specific flags
| Flag | Alias | Description |
|---|---|---|
--rarity-min |
-m |
Minimum host count for a result to be flagged interesting (default: 2) |
--rarity-max |
-M |
Maximum host count for a result to be flagged interesting (default: 100) |
--interactive |
-I |
Launch an interactive TUI for exploring results (note: capital -I) |
--include-url |
Include a Platform search URL for each pivot query in the output | |
--input-file |
-i |
Read host IPs from a file, one per line; use - to read from stdin |
Output format
Supports --output-format/-O with short (default), json, yaml, or tree.
template is not supported for this subcommand and will fail with a non-zero
exit code — see Error handling.
Global CLI flags
See ${CLAUDE_SKILL_DIR}/references/cli-globals.md for the full global flags reference (output
format, diagnostics, org-id, and PAT vs OAuth notes). Note: censeye does
not support -S (streaming) or -O template. Default output is short.
Common patterns
# Basic pivot analysis with default rarity bounds (2-100)
censys censeye 8.8.8.8
# Narrow the rarity window for tightly related infrastructure
censys censeye --rarity-min 2 --rarity-max 25 1.1.1.1
# Machine-readable output with Platform search URLs included
censys censeye --output-format json --include-url 203.0.113.5
# Interactive TUI for exploring pivot candidates
censys censeye 8.8.8.8 -I
# Widen the rarity ceiling to catch larger campaigns/botnets
censys censeye 8.8.8.8 --rarity-max 200
# Bulk analysis from a file, one host per line
censys censeye --input-file hosts.txt
# Bulk analysis from stdin
echo "8.8.8.8" | censys censeye --input-file -
JSON output structure
[
{
"count": 42,
"query": "host.services.tls.certificates.leaf_fp_sha_256: abc123...",
"interesting": true,
"search_url": "https://platform.censys.io/search?q=..."
}
]
count— number of hosts across Censys that share this attribute.query— a ready-to-run CenQL pivot query for that attribute.interesting—truewhencountfalls within[--rarity-min, --rarity-max].search_url— Platform search link for the query; only present when--include-urlis passed.
Interpreting results
- Each result represents one candidate pivot: a query that would surface every other host sharing a specific attribute with the analyzed host.
countis the key signal — lower is more distinctive. Acountof 3 means only 3 hosts total (including this one) share that fingerprint; acountof 50,000 means the attribute is common and not worth pivoting on.interesting: trueresults are the ones worth acting on; results outside the rarity bounds are still returned but deprioritized/flagged as noise.- Rarity tuning:
- Start with the defaults (
2-100) for a general first pass. - Narrow
--rarity-max(e.g.25) when hunting for a small, tightly related cluster of infrastructure (shared C2 panel, same actor's staging boxes). - Widen
--rarity-max(e.g.200+) when investigating a large campaign or botnet where the shared attribute is expected to fan out across many hosts. - Leave
--rarity-minat2(the default) unless there's a specific reason to go lower — acountof1means the attribute is unique to this host alone and has nothing else to pivot to.
- Start with the defaults (
- Treat each returned
queryas a starting point, not a conclusion — run it throughcensys-searchto see the actual matching hosts before drawing conclusions about shared infrastructure or attribution.
Error handling
| Error | Cause | Resolution |
|---|---|---|
| Non-zero exit (exit code 2) with a format error | --output-format template was requested |
template is not implemented for censeye; use short, json, yaml, or tree instead |
| Threat Hunting / entitlement error | The authenticated org doesn't have the Threat Hunting module enabled | Confirm module access with the org owner; no flag combination works around this |
[Invalid Asset ID] (verified on cencli 1.1.3, 2026-08) |
Input isn't a valid IP | Check for typos, stray whitespace, or a defanged IP that didn't normalize |
| Empty result set | Host has no fields with a distinctive-enough footprint, or none fall within the rarity bounds | Widen --rarity-max, lower --rarity-min, or confirm the host has recent Censys scan data via censys-view |
Caveats
censeyeanalyzes one host's current snapshot — it is not historical; pair withcensys-timeline/censys historyif the user wants to know how a host's pivotable attributes changed over time.- Rarity counts are internet-wide and reflect Censys's current index; they shift over time as hosts come online/offline, so a query that was rare last week may not be this week.
--interactive/-Iopens a TUI and is not suitable for scripting, piping, or non-interactive/CI contexts — use the default or JSON output for those.- A returned pivot
queryis a hypothesis, not a confirmed relationship — shared infrastructure (e.g. a common CDN certificate or hosting-provider default banner) can produce false-positive-feeling pivots. Corroborate with other signals before attributing hosts to the same actor. --include-urlonly affects output shape; it does not change which results are returned or which are markedinteresting.- Bulk mode (
--input-file) runs the same single-host analysis independently for each line — it does not compare hosts against each other or look for attributes shared across the input set.
Cross-references
- censys-search — run the pivot queries this skill surfaces to see the actual matching hosts.
- censys-view — point lookup of a single host, cert, or web property (no pivot/rarity analysis).
- censys-timeline — historical/time-series view of a host, for when the question is "how has this changed" rather than "what else is related."
- censys-investigate — broader investigation methodology that chains censeye pivots with search and analysis into a full workflow.
- censys-cenql — syntax reference for hand-editing or extending a pivot query returned by censeye.
04 同仓库更多 Skills
censys-view
Use when the user wants detailed point-lookup data on a single asset via the Censys CLI — e.g. "censys view," "censys look up this IP," "censys host details for," "view this cert on censys," "censys what services does X run," "censys view this cert," "look this host up on censys," "censys pull the record for," "what does censys show for this hostname," "what's running on this IP," "profile this host," or "show me this host's services." Wraps `censys view` for hosts, certificates, and web properties. This is the right skill for any single-asset lookup — use censys-investigate only when the user explicitly asks for a multi-step investigation. Not for search-by-criteria (see censys-search) or time-series history (see censys-timeline).
censys-timeline
Use when the user wants temporal analysis of how a Censys-tracked asset changed over time — e.g. "censys timeline," "censys host history," "censys what changed on this host," "censys when did this service appear," "censys change detection," "censys temporal analysis," "censys track cert rotations," or "censys did this host change hands." Wraps `censys history` for hosts, web properties, and certificates. Not for current-state lookups (see censys-view) or criteria search (see censys-search).
censys-search
Use when the user wants to run a censys search, censys search for hosts or certificates, search censys for hosts/certs/web properties, find censys hosts with a given condition, run a censys query for hosts, or search for certificates on censys using CenQL. Wraps the `censys search` CLI subcommand. Trigger phrases include "censys search," "search censys for," "find censys hosts with," "censys query for hosts," and "search for certificates on censys." Do not use for viewing a single known host/cert/domain by identifier (see censys-view) or for aggregating/counting by field (see censys-aggregate).
censys-investigate
Use when the user explicitly requests a multi-step Censys investigation — e.g. "censys investigate," "censys deep dive into," "trace this infrastructure with censys," "censys pivot chain," "full censys investigation," "hunt for related infrastructure," or "/censys-investigate." This is a heavyweight methodology skill (typically 20–50+ API calls) — do NOT fire on simple lookups like "what's running on this IP" or "profile this host" (use censys-view for those). Structured as a baseline collection phase followed by decision trees that branch on what the baseline reveals. Prescribes a findings template and data preservation convention. Always confirms scope and estimated cost with the user before starting.
censys-enrich
Use when the user wants fast, credit-free IP context for SOC/triage work via the Censys CLI — e.g. "censys enrich," "censys enrich this IP," "censys bulk enrich," "censys triage IP," "censys SOC lookup," "is this IP interesting per censys," "censys check this IP for scanning activity," or "censys reputation on this address." Wraps `censys enrich` for single/bulk IP enrichment (location, AS, WHOIS, DNS, labels, GreyNoise, reputation, network/privacy classification, third-party verdicts). Not for full host records with all services and raw banners (see censys-view) or criteria-based search (see censys-search).
censys-cenql
Use when the user needs help with CenQL syntax, censys query syntax, how to write a censys query, what censys fields are available, or censys query help — field paths, operators, quoting/escaping rules, or example queries for hosts, certificates, and web properties. Trigger phrases include "CenQL syntax," "censys query syntax," "how do I write a censys query," "what censys fields are available," and "censys query help." Also fires when the user writes "CQL," a frequent misspelling of CenQL. This is a reference skill, not a CLI wrapper — defer to censys-search, censys-aggregate, or censys-view to actually execute the query once it's constructed.