跳到主要内容
知仓学习社ZHICANG

performing-osint-with-spiderfoot

Automate OSINT collection with the SpiderFoot REST API and CLI (sf.py/spiderfoot-cli) across 200+ modules, selecting scan modes (footprint, investig…

写文件读环境变量(配置)严重 0 · 高危 1mukul975/Anthropic-Cybersecurity-Skills

它会碰到什么

扫了多少5 个文本文件,24 KB
它会碰到什么写文件读环境变量(配置)
命中总数2 处
命中统计严重 0 · 高 1 · 中 1 · 低 0

关于「读环境变量(配置)」:这个技能会读 process.env 之类的环境变量,但读到的都是端口、目录、超时这类配置项,没有读取密钥类变量。扫描规则原本把「读环境变量」一律算作「读凭据」,本站按变量名做了细化区分,命中明细仍如实列在下面。

逐条看命中(1 条严重或高危)
  • scripts/agent.py:135cred-envread
    parser.add_argument("--server", default=os.environ.get("SPIDERFOOT_URL", "http://127.0.0.1:5001"),

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Performing OSINT with SpiderFoot

Overview

SpiderFoot is an open-source OSINT automation tool with 200+ modules that integrates with data sources for threat intelligence and attack surface mapping. This skill uses the SpiderFoot REST API and CLI (sf.py/spiderfoot-cli) to create and manage scans, select modules by use case (footprint, investigate, passive), parse structured results for domains, IPs, email addresses, leaked credentials, and DNS records, and generate target intelligence profiles.

When to Use

  • When conducting security assessments that involve performing osint with spiderfoot
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • SpiderFoot 4.0+ installed or SpiderFoot HX cloud account
  • Python 3.8+ with requests library
  • SpiderFoot server running on default port 5001
  • Optional: API keys for VirusTotal, Shodan, HaveIBeenPwned modules

Steps

  1. Connect to SpiderFoot REST API or use CLI interface
  2. Create a new scan with target specification (domain, IP, email, name)
  3. Select scan modules by use case (all, footprint, investigate, passive)
  4. Monitor scan progress via API polling
  5. Retrieve and parse scan results by data element type
  6. Extract key findings: subdomains, IPs, emails, leaked credentials
  7. Generate structured OSINT intelligence report

Expected Output

JSON report containing OSINT findings organized by data type (domains, IPs, emails, credentials, DNS records), module source attribution, and target profile summary with risk indicators.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。