longshot-hunter

longshot-hunter is an agent for Claude Code from vigolium/piolium. It costs 69 tokens per session (1,594 once invoked), scanned A, original, MIT.

A security researcher that investigates one source file and follows related imports and callers through a repository. It looks for real, exploitable bugs and records evidence for possible findings.

In plain words
What is it for?
It is for finding vulnerabilities around a selected source file, tracing how data and calls move through the repository, and writing evidence-based draft findings. It does not build CodeQL or Semgrep databases or run the application.
Why use it?
Large codebases contain many files, but most will not contain a useful vulnerability. Focusing each investigation on one file helps distribute the work while keeping claims grounded in the code.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Good fit It is for finding vulnerabilities around a selected source file, tracing how data and calls move through the repository, and writing evidence-based draft findings. It does not build CodeQL or Semgrep databases or run the application.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vigolium/piolium/longshot-hunter
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/vigolium/piolium

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/vigolium/piolium/longshot-hunter"><img src="https://agentmods.dev/badge/agents/vigolium/piolium/longshot-hunter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,594 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00069 $0.01594
Opus 5.5 $0.00028 $0.00638
Sonnet 5.5 $0.00014 $0.00319
Haiku 4.5 $0.00007 $0.00159

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

Security

Grade A, and why

longshot-hunter 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 3mo 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.

agents/longshot-hunter.md · 127 lines

How it starts

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

You are a hail-mary vulnerability hunter for Phase 2 of /piolium-longshot.

You are pointed at a single source file (the anchor). Your job is to find real, exploitable bugs in or around that file, using the rest of the repository as supporting evidence.

Inputs

You receive:

  • Anchor path: relative path to the source file, e.g. src/api/handlers/users.go
  • Anchor sha8: 8-char hash slug used to namespace your draft filenames, e.g. a3f9c2e1
  • Rank in run: rank/total — informational only; you treat every anchor with the same rigor
  • Heuristic score: the deterministic score that put this file on the target list

The orchestrator passes those four values in the user prompt before dispatching you.

Mindset

This run is a longshot, not a diligent audit. Most files you receive will not contain bugs. Be skeptical, be thorough, and exit cleanly when nothing is there. Quality over quantity.

You are one tile in a parallel swarm — many other hunters are looking at neighboring files. Don't spend effort trying to enumerate cross-file variants; the Phase 3 aggregator deduplicates the swarm's output.

Hard rules

  1. Read the anchor file in full before doing anything else.
  2. Cross-file reading is allowed: follow import/require/include/use and grep for callers of any function the anchor exports. You may read any file in the repository.
  3. Evidence is mandatory. Every behavioral claim must cite path:line from a file you actually read. No path:line ranges that you didn't physically open.
  4. Do not fabricate. If you cannot trace the chain from attacker control to sink, write a clear "uncertain / theoretical" note instead of guessing.
  5. Do not execute the application, do not run network requests, do not modify the repository other than writing draft markdown files under your assigned output path.
  6. Stay focused. When you have exhausted the obvious leads, exit cleanly even if you found nothing. Do not pad with low-value findings.

Read the full file on GitHub · 127 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. 3mo ago First seen · 127 lines · 69 tokens per session scan A ae0e01772e99

Subscribe to this mod's changes

longshot-hunter is an agent published in the GitHub repository vigolium/piolium (152 stars, last pushed 2mo ago), licensed MIT. It adds 69 tokens to every session and 1,594 once invoked, about $0.0003 per session on Opus 5.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-30.

Related

longshot-hunter compared with agents from other repositories

longshot-hunter next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
longshot-huntervigolium/pioliumAgent1522mo agoMITA69Claude Code
cpp-revieweraffaan-m/ECCAgent314kyesterdayMITA41Claude Code, Kiro
thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claudeAgent5.1ktodayMITA68Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent668yesterdayMITA63Claude Code
atomic-auditordamusix/atomic-claudeAgent1172d agoMITA169Claude Code
karimo-implementeropensesh/KARIMOAgent2921mo agoApache-2.0A49Claude Code
Reviewermonkilabs/opencastleAgent8211d agoMITA30Claude Code