Skip to content
Security
Skill

/fofamap

Use FofaMap to validate FOFA syntax, search and profile internet assets, aggregate statistics, export bounded results, and manage authorized scan plans through its MCP tools. Trigger for FOFA queries, external attack-surface discovery, host intelligence, favicon searches, asset

BOOST
From plugin
fofamap
7441 skill1 MCP
Install
$ npx -y skills add asaotomo/FofaMap --skill fofamap --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/fofamap

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use FofaMap to validate FOFA syntax, search and profile internet assets, aggregate statistics, export bounded results, and manage authorized scan plans through its MCP tools. Trigger for FOFA queries, external attack-surface discovery, host intelligence, favicon searches, asset

SKILL.md

fofamap.SKILL.md
name: fofamap
description: Use FofaMap to validate FOFA syntax, search and profile internet assets, aggregate statistics, export bounded results, and manage authorized scan plans through its MCP tools. Trigger for FOFA queries, external attack-surface discovery, host intelligence, favicon searches, asset inventory, exposure analysis, or FOFA result exports.

FofaMap

Use the FofaMap MCP server for evidence-based FOFA asset research. Prefer the MCP tools over shell commands when they are available.

Workflow

1. Clarify the target, ownership or authorization boundary, desired fields, time range, and result limit when these materially affect the request. Call `fofa_account` and `fofa_fields` when membership-dependent capabilities matter; these tools work even in hosts that do not expose MCP Resources. 2. If the user names a product, OA, VPN, middleware, database, camera, CMS, or ops panel, call `fofa_rules` **before** `fofa_search`. Use the returned `query` values verbatim. Do not invent `app=` names. An empty keyword lists the bundled catalog (no FOFA quota). 3. Call `fofa_validate_query` before spending FOFA quota. Repair invalid syntax before searching. 4. Call `fofa_search` for the first bounded page. Use the smallest useful field set and size. 5. Use `fofa_search_next` only when more records are needed, passing its opaque cursor unchanged. 6. Use `fofa_host_profile` only when `fofa_account` shows Host aggregation (not registered users). Use `fofa_stats` only when the account has the stats API (professional / business / enterprise). Personal, ordinary, and education accounts should use `fofa_search` instead of stats. 7. Use `fofa_export` for large or reusable result sets, then poll `fofa_job_status`. Return the artifact path instead of pasting large tables. 8. Use `fofa_icon_search` for an explicit public website favicon. Prefer `fofa_agent_run` for open-ended Chinese/English discovery intents; for organization website discovery, return its structured `website_candidates` first, preserving `corroborated`, `observed`, and `candidate` status instead of flattening them into confirmed ownership. 9. State that FOFA observations and even cross-consistent title/certificate/ICP clues indicate exposed or corroborated candidates, not legal ownership or vulnerability, unless separately verified.

Safety

  • Treat searches, profiles, and statistics as passive intelligence collection, but still respect the user's scope and applicable rules.
  • Never call `nuclei_plan` unless the user explicitly asks for active scanning and identifies an authorized scope.
  • Review every target, template, and severity in the plan before asking for approval.
  • Call `nuclei_execute` only after explicit approval for that exact plan. Never broaden or reuse an approval token.
  • Do not interpret authentication, quota, timeout, or provider errors as an empty FOFA result.
  • Never place `FOFA_API_KEY`, provider keys, bearer tokens, or approval tokens in reports or committed files.

Host Fallback

If the host cannot expose MCP tools, use FofaMap's machine-readable CLI only for passive operations, for example `fofamap -q 'domain="example.com"' --output-format json --no-save` or `fofamap --rule 致远OA --output-format json --no-save`. Do not use the CLI to bypass host approval controls.

Read [references/tool-catalog.md](references/tool-catalog.md) when exact tool selection, pagination, resources, or host capability differences matter.

Read more
Ships withfofamap

把自然语言资产发现、FOFA 证据检索、AI 反思总结与经人工审批的 Nuclei 扫描,放进同一条可追溯工作流。 FofaMap 既能像传统 CLI 一样直接执行 FOFA 语句,也能让 Agent 把一句自然语言需求拆成多组查询,依据真实命中自我反思,最后输出带证据边界的资产简报。需要扫描时,它只先生成方案;目标、模板和严重级别必须经过一次性审批才能交给 Nuclei。 海报与截图不包含真实账号、密钥或资产信息。终端案例使用合成域名和文档保留网段。

Get the whole plugin
Stats
747
Stars
101
Forks
Maintained
Maintenance
Python
Language
Apache-2.0
License
2mo ago
Last commit
4y ago
Created
4h ago
Added

Repo: asaotomo/FofaMap