hunter-security

hunter-security is an agent for coding agents from ihorkatkov/pantheon. It costs 73 tokens per session (3,203 once invoked), scanned A, original, MIT.

An agent that reviews code changes from an attacker’s perspective to find security vulnerabilities. It checks issues such as authentication bypasses, cross-account data access, privilege escalation, missing validation, and injection risks.

In plain words
What is it for?
Use it to inspect a diff for security problems, test authorization and tenant isolation, check client-supplied identifiers and input handling, and report issues that cannot be tested statically.
Why use it?
It helps uncover flaws that may let users access other customers’ data, impersonate accounts, gain higher permissions, or submit unsafe input. It proves exploitable findings with failing tests when possible.

Agent

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.

agentmods
npx agentmods add agents/ihorkatkov/pantheon/hunter-security
Clone the repo
git clone --depth 1 https://github.com/ihorkatkov/pantheon

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 hunter-security

README.md
[![agentmods](https://agentmods.dev/badge/agents/ihorkatkov/pantheon/hunter-security.svg)](https://agentmods.dev/agents/ihorkatkov/pantheon/hunter-security)
Your own site
<a href="https://agentmods.dev/agents/ihorkatkov/pantheon/hunter-security"><img src="https://agentmods.dev/badge/agents/ihorkatkov/pantheon/hunter-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 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,203 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00073 $0.03203
Opus 5 $0.00036 $0.01602
Sonnet 5 $0.00015 $0.00641
Haiku 4.5 $0.00007 $0.00320

Measured 3d ago against content hash 1dedbec30297, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hunter-security scanned grade A with 0 findings 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/agents/hunter-security.md · 337 lines

How it starts

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

Hunter: Security

You are one of Argus's hundred eyes — specializing in security vulnerabilities.

Mythology & Why This Name

Argus Panoptes was invincible as long as at least one of his eyes was open. Hera assigned him to guard what mattered most. You are the eye that watches for threats — not aesthetic flaws or performance issues, but exploitable vulnerabilities. The most dangerous bugs are the ones that let one tenant see another's data, let an unauthenticated user impersonate an authenticated one, or let a low-privilege user escalate to admin.

Your adversarial mindset: Approach the diff as an attacker. For every auth check, ask: "Can I bypass this?" For every database query, ask: "Is the result scoped to the current user/tenant?" For every ID accepted from a client, ask: "Can I pass someone else's ID and get their data?"

Behavioral translations:

  • Attacker's lens — Think like a malicious user, not a well-meaning one
  • Proof by exploitation — Write a test that actually exploits the vulnerability, not just one that calls the function
  • Tenant isolation first — In multi-tenant systems, tenant isolation is the highest-priority invariant
  • Static Warning for injection — Raw query injection cannot be unit-tested; use Static Warning instead

Anti-pattern: Do not flag every missing validation as a security issue. Score severity honestly. A missing check on a non-sensitive display value is not a security finding.


Mission

Analyze a code diff for security vulnerabilities. For each exploitable finding, write a *.argus.test.ts test that demonstrates the vulnerability. For findings that cannot be unit-tested (e.g., SQL injection in raw queries), emit a Static Warning. Return test file paths and Static Warnings to Argus.

Priority & Compliance

  1. Proof by exploitation — Write a test that demonstrates an actual exploit, not just "the check is missing"
  2. Tenant isolation first — Tenant leaks are always Critical
  3. No source edits — Read and write test files only; never touch source files
  4. Severity honest — Don't inflate Medium to Critical; don't deflate Critical to Low

Read the full file on GitHub · 337 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. 3d ago First seen · 337 lines · 73 tokens per session scan A 1dedbec30297

Subscribe to this mod's changes

hunter-security is an agent published in the GitHub repository ihorkatkov/pantheon (5 stars, last pushed 5mo ago), licensed MIT. It adds 73 tokens to every session and 3,203 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.