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 agentmods add commands/ogrodev/fsociety/op-proxygit clone --depth 1 https://github.com/ogrodev/fsocietyWrote 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/commands/ogrodev/fsociety/op-proxy)<a href="https://agentmods.dev/commands/ogrodev/fsociety/op-proxy"><img src="https://agentmods.dev/badge/commands/ogrodev/fsociety/op-proxy.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00012 | $0.00724 |
| Opus 5 | $0.00006 | $0.00362 |
| Sonnet 5 | $0.00002 | $0.00145 |
| Haiku 4.5 | $0.00001 | $0.00072 |
Grade A, and why
op-proxy 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 yesterday.
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.
- Check external IP: `curl -s --socks5 127.0.0.1:9050 ifconfig.me` (Tor) or `curl -s ifconfig.me` (VPN) What it actually says
Storage Policy: ALL output files MUST be saved in the project directory. NEVER write to /tmp/ or any system temporary directory.
Proxy Chain Management
Target and options: $ARGUMENTS
-
Parse
$ARGUMENTSfor the subcommand (setup,rotate,test,status, orkill) and--chainflag. Dispatch to the appropriate operation. -
setup: Configure the full proxy chain:
- Generate or update
/etc/proxychains4.confwith the selected chain type (tor+proxy,direct,multi-hop) - Start the Tor service:
systemctl start torand verify SOCKS proxy on port 9050 - Configure VPN connection (WireGuard via
wg-quick upor OpenVPN viaopenvpn --config) - Set up a killswitch via iptables to block all traffic if the VPN/Tor connection drops:
iptables -A OUTPUT -o tun0 -j ACCEPT iptables -A OUTPUT -o lo -j ACCEPT iptables -A OUTPUT -d <vpn-server-ip> -j ACCEPT iptables -A OUTPUT -j DROP - Ask the user for VPN credentials or config path via
AskUserQuestionif not provided
- Generate or update
-
rotate: Cycle to a new identity/endpoint:
- Request a new Tor circuit:
echo -e 'AUTHENTICATE ""\r\nSIGNAL NEWNYM\r\n' | nc 127.0.0.1 9051 - Cycle to the next VPN endpoint if multi-hop is configured
- Flush DNS cache to prevent leaks
- Verify the new external IP after rotation
- Request a new Tor circuit:
-
test: Verify the proxy chain integrity:
- Check external IP:
curl -s --socks5 127.0.0.1:9050 ifconfig.me(Tor) orcurl -s ifconfig.me(VPN) - DNS leak test: resolve a unique hostname and verify the DNS server is not the ISP's
- WebRTC leak check: verify no local IP exposure via WebRTC-capable tools
- Killswitch verification: temporarily disconnect VPN/Tor and confirm traffic is blocked
- Check external IP:
-
status: Display current proxy chain state:
- Show active proxychains configuration
- Display Tor circuit path and exit node country
- Show VPN connection status, endpoint, and assigned IP
- Display current external IP address
-
kill: Tear down all proxy infrastructure:
- Disconnect VPN:
wg-quick downor kill OpenVPN process - Stop Tor service:
systemctl stop tor - Remove iptables killswitch rules and restore original network configuration
- Flush DNS cache
- Ask the user for confirmation before tearing down via
AskUserQuestion
- Disconnect VPN:
-
Log all proxy operations to the ops tracker:
node "${CLAUDE_PLUGIN_ROOT}/scripts/ops-tracker.js" add <target> proxy-chain <subcommand> "<chain-type>" <result> <severity>
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.
- yesterday First seen · 57 lines · 12 tokens per session scan A bc789effcf4f
op-proxy is a command published in the GitHub repository ogrodev/fsociety (20 stars, last pushed 5mo ago), licensed MIT. It adds 12 tokens to every session and 724 once invoked, about $0.0001 per session on Opus 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-03.
Other commands, from other repositories
deploy-to-vercel
Use when a project runs locally but is not on the internet yet, or a Vercel deploy is failing. First deploy, build errors, environment variables, custom domain.
pentest
Activate pentest mode — displays ASCII art, configures session isolation, collects engagement scope, then OWNS the engagement: pre-flight, recon, planning (via the pentester-orchestrator planner), executor dispatch, a time-budget quota loop, aggregation, and report generation.
pentest-attacks
Define the attack profile for an engagement — select which attack categories and skills to use. Saves to .pentest-attacks.json. If run before /pentest:pentest, the orchestrator will respect the selection. If run standalone, does not launch a pentest.
pentest-scope
Define or update engagement scope — saves scope to disk without launching a pentest. Can be run before or during an engagement. If a pentest is active and the target changes drastically, warns the operator and suggests a new engagement.
pentest-exit
Close pentest session — summarizes findings, ensures outputs are saved, lifts isolation, and prompts for /clear.
add-server
Add another server to the fleet-manager inventory (interactive). Protects existing profiles from accidental overwrite.