Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add asaotomo/DeepSentry --skill fofamapgit clone --depth 1 https://github.com/asaotomo/DeepSentryWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/asaotomo/deepsentry/fofamap)<a href="https://agentmods.dev/skills/asaotomo/deepsentry/fofamap"><img src="https://agentmods.dev/badge/skills/asaotomo/deepsentry/fofamap/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/asaotomo/deepsentry/fofamap"><img src="https://agentmods.dev/badge/skills/asaotomo/deepsentry/fofamap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00094 | $0.00821 |
| Opus 5.5 | $0.00038 | $0.00328 |
| Sonnet 5.5 | $0.00019 | $0.00164 |
| Haiku 4.5 | $0.00009 | $0.00082 |
Grade A, and why
fofamap scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
致远/OA/VPN、导出 CSV 时必须先 load_skill 本 skill。不要用 curl 打 FOFA API。 What it actually says
FofaMap MCP
FofaMap 已出现在本会话工具列表中就等于已经连通。工具名以本会话前缀为准
(常见 fofamap__fofa_search)。这是 FofaMap MCP v2.0.1(mcp_server.py
的 15 个工具),不是 ClawHub 市场里那个跑 scripts/fofa_recon.py 的 Skill 包装。
禁止 execute python3 scripts/fofa_recon.py,禁止 curl FOFA API,禁止把 API Key
写进报告。
工作流
fofa_account+fofa_fields。看 vip_level:注册用户无 Host API;个人/教育账户无 stats API。- 用户点名产品、OA、VPN、中间件、摄像头、CMS 时,先
fofa_rules,原样使用返回的query。空 keyword 列出内置目录,不耗额度。禁止编造app=。 - 耗额度查询前
fofa_validate_query。语法不对先修,再fofa_search。 - 第一页用最小字段集和 size。翻页把返回的
next_cursor原样传给fofa_search_next的cursor(DeepSentry 也会把next_cursor映射成cursor)。 fofa_host_profile/fofa_stats必须先确认账户有对应 API。- 大批量结果用
fofa_export,再fofa_job_status或mcp_resource action=read uri=fofamap://jobs/{id}取本地绝对路径。不要把大表贴进对话。 - 宽泛中英文发现用
fofa_agent_run。组织官网结果保留website_candidates的corroborated/observed/candidate,不要拍板成已确认归属。 - 只有用户明确要求对已授权范围做主动扫描时才
nuclei_plan。核对目标、模板、severity 后,把一次性plan_id+approval_token原样交给nuclei_execute。不得跳过 plan,不得复用令牌。
参数兼容
fofa_export 和 nuclei_plan 的 MCP schema 需要嵌套 request 对象。可以:
{"action":"tool","tool_name":"fofa_export","tool_args":{"query":"domain=\"example.com\"","format":"jsonl"}}
{"action":"tool","tool_name":"nuclei_plan","tool_args":{"targets":"https://example.com"}}
DeepSentry 会把扁平参数包进 request。fields / targets 可传 JSON 数组或逗号分隔。
安全
- 搜索、画像、统计是被动情报,仍要遵守用户授权范围。
- 认证失败、额度耗尽、超时不是空结果。
- FOFA 命中 ≠ 漏洞,也 ≠ 法律上的资产归属。
- 不要把
FOFA_API_KEY、approval token 写入报告或记忆。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 46 lines · 94 tokens per session scan A 51bd8ae76d20
fofamap is a skill published in the GitHub repository asaotomo/DeepSentry (42 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 94 tokens to every session and 821 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.
fofamap compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fofamapasaotomo/DeepSentry | Skill | 42 | 1mo ago | Apache-2.0 | A | 94 | Claude Code, Codex |
| go-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 65 | Claude Code |
| golang-testingaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 37 | Claude Code, Kiro |
| golang-patternsaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 45 | Claude Code, Kiro |
| skill-creatorzhayujie/CowAgent | Skill | 48k | yesterday | MIT | A | 61 | Claude Code, Codex |
| image-generationzhayujie/CowAgent | Skill | 48k | yesterday | MIT | A | 41 | Claude Code, Codex |
| ax-go-genax-llm/ax | Skill | 3.0k | today | Apache-2.0 | A | 54 | Claude Code, Codex |