osint

osint is an agent for Claude Code from mukul975/Threatswarm. It costs 97 tokens per session (3,730 once invoked), scanned A, original, MIT.

An agent for passive open-source intelligence, meaning the collection of information already available publicly about a domain, organisation, or person.

In plain words
What is it for?
Use it for domain and DNS research, certificate records, public email and employee information, GitHub searches, IP reputation, breach-data checks, and Wayback Machine research.
Why use it?
It gathers reconnaissance in one process while keeping the work passive and within a declared scope, rather than directly probing target systems.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; positional $N argument.

Good fit Use it for domain and DNS research, certificate records, public email and employee information, GitHub searches, IP reputation, breach-data checks, and Wayback Machine research.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mukul975/threatswarm/osint
Install

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.

Clone the repo
git clone --depth 1 https://github.com/mukul975/Threatswarm

Made for: Claude Code.

Wrote 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.

agentmods badge for osint

README.md
[![agentmods](https://agentmods.dev/badge/agents/mukul975/threatswarm/osint/github.svg)](https://agentmods.dev/agents/mukul975/threatswarm/osint)
Your own site
<a href="https://agentmods.dev/agents/mukul975/threatswarm/osint"><img src="https://agentmods.dev/badge/agents/mukul975/threatswarm/osint/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.

agentmods 80×15 button for osint

Your own site · 80×15
<a href="https://agentmods.dev/agents/mukul975/threatswarm/osint"><img src="https://agentmods.dev/badge/agents/mukul975/threatswarm/osint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,730 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.03730
Opus 5.5 $0.00039 $0.01492
Sonnet 5.5 $0.00019 $0.00746
Haiku 4.5 $0.00010 $0.00373

Measured 1mo ago against content hash 90163f92fcce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

osint 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 1mo 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.

curl -s "https://crt.sh/?q=%25.$DOMAIN&output=json" | \
.claude/agents/osint.md · 320 lines

How it starts

The opening of the file, as written. The whole thing — 320 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cybersecurity Skills (Invoke First)

Before starting OSINT collection, invoke these skills via the Skill tool:

  • cybersecurity-skills:collecting-open-source-intelligence
  • cybersecurity-skills:performing-osint-with-spiderfoot
  • cybersecurity-skills:performing-open-source-intelligence-gathering
  • cybersecurity-skills:performing-dns-enumeration-and-zone-transfer
  • cybersecurity-skills:performing-ip-reputation-analysis-with-shodan

Scope Enforcement

OSINT is passive — does not touch target systems directly. Still verify target domain/company is in scope.txt before proceeding. All output is for intelligence gathering only. Store in evidence/osint/.

Domain Intelligence

WHOIS & DNS

mkdir -p evidence/$(date +%Y%m%d)/$TARGET/osint/{dns,web,email,social,breach}

# WHOIS registration data
whois $DOMAIN 2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/osint/whois.txt

# Full DNS record enumeration
dig ANY $DOMAIN @8.8.8.8 2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/osint/dns_any.txt
dig NS $DOMAIN @8.8.8.8 2>&1
dig MX $DOMAIN @8.8.8.8 2>&1
dig TXT $DOMAIN @8.8.8.8 2>&1
dig AAAA $DOMAIN @8.8.8.8 2>&1

# Resolve all DNS record types with dnsx
dnsx -d $DOMAIN -a -aaaa -cname -ns -mx -txt -soa -resp \
  -o evidence/$(date +%Y%m%d)/$TARGET/osint/dns/dnsx_all.txt 2>&1

# Zone transfer attempt (usually fails but worth trying)
for ns in $(dig NS $DOMAIN @8.8.8.8 +short); do
  echo "=== Zone transfer attempt: $ns ==="
  dig axfr $DOMAIN @$ns 2>&1
done | tee evidence/$(date +%Y%m%d)/$TARGET/osint/dns/zone_transfer_attempt.txt

# Reverse DNS lookup
dig -x $IP @8.8.8.8 2>&1

Certificate Transparency

# crt.sh — all certificates for domain (historical + current)
curl -s "https://crt.sh/?q=%25.$DOMAIN&output=json" | \
  python3 -c "
import json, sys
data = json.load(sys.stdin)
names = set()
for entry in data:
    name = entry.get('name_value', '')
    for n in name.split('\n'):
        n = n.strip().lstrip('*.')
        if n and '$DOMAIN' in n:
            names.add(n)
print('\n'.join(sorted(names)))
" 2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/osint/dns/crt_sh_subdomains.txt

echo "[*] Found $(wc -l < evidence/$(date +%Y%m%d)/$TARGET/osint/dns/crt_sh_subdomains.txt) unique subdomains from crt.sh"

# Subfinder passive subdomain enumeration
subfinder -d $DOMAIN \
  -silent \
  -o evidence/$(date +%Y%m%d)/$TARGET/osint/dns/subfinder.txt 2>&1

# Combine and resolve all found subdomains
cat evidence/$(date +%Y%m%d)/$TARGET/osint/dns/crt_sh_subdomains.txt \
    evidence/$(date +%Y%m%d)/$TARGET/osint/dns/subfinder.txt | \
  sort -u | \
  dnsx -a -resp-only -silent \
  -o evidence/$(date +%Y%m%d)/$TARGET/osint/dns/resolved_subdomains.txt 2>&1

echo "[*] Total resolved subdomains: $(wc -l < evidence/$(date +%Y%m%d)/$TARGET/osint/dns/resolved_subdomains.txt)"

Read the full file on GitHub · 320 lines

Changes

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.

  1. 1mo ago First seen · 320 lines · 0 tokens per session scan A 90163f92fcce

Subscribe to this mod's changes

osint is an agent published in the GitHub repository mukul975/Threatswarm (89 stars, last pushed 5mo ago), licensed MIT. It adds 97 tokens to every session and 3,730 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-08-30.

Related

Other agents, from other repositories

web3-auditor

Smart contract security auditor. Checks 10 bug classes in order of frequency (accounting desync 28%, access control 19%, incomplete path 17%, off-by-one 22% of Highs, oracle errors, ERC4626 attacks, reentrancy, flash loan oracle manipulation, signature replay, proxy/upgrade issues). Applies pre-dive kill signals…

Awarexone/Agentic-Bug-Hunter · 101 tokens

osint-collector

Delegates to this agent when the user asks about OSINT, reconnaissance, information gathering, target profiling, email harvesting, subdomain enumeration, social media recon, breach data, open source intelligence, or building a target dossier for authorized engagements.

0xSteph/pentest-ai-agents · 53 tokens

llm-redteam

Delegates to this agent when the user asks about LLM and AI system red teaming, prompt injection (direct and indirect), jailbreak techniques, RAG poisoning, model exfiltration, training data extraction, agent and tool-use abuse, MCP server exploitation, AI guardrail bypass, or red teaming a deployed…

0xSteph/pentest-ai-agents · 79 tokens

malware-analyst

Delegates to this agent when the user asks about malware analysis, reverse engineering, binary analysis, disassembly, debugging, sandbox analysis, static analysis, dynamic analysis, or suspicious file triage.

0xSteph/pentest-ai-agents · 44 tokens

compliance-mapper

Delegates to this agent when the user wants to map penetration-test findings to compliance frameworks — PCI DSS, NIST 800-53 / CSF, ISO 27001, CIS Controls, HIPAA, SOC 2 — produce control-gap analysis, and translate technical findings into compliance impact. Distinct from stig-analyst (STIG hardening) and…

0xSteph/pentest-ai-agents · 84 tokens

detection-engineer

Delegates to this agent when the user asks about detection rules, SIEM queries, threat hunting, indicator analysis, log analysis, blue team detection for specific attack techniques, or creating detection engineering content.

0xSteph/pentest-ai-agents · 45 tokens