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.
git clone --depth 1 https://github.com/AR6420/Hail_HydraWrote 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/agents/ar6420/hail_hydra/hydra-guard)<a href="https://agentmods.dev/agents/ar6420/hail_hydra/hydra-guard"><img src="https://agentmods.dev/badge/agents/ar6420/hail_hydra/hydra-guard.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.1 | $0.00147 | $0.00875 |
| Opus 5 | $0.00073 | $0.00438 |
| Sonnet 5 | $0.00029 | $0.00175 |
| Haiku 4.5 | $0.00015 | $0.00088 |
Grade A, and why
hydra-guard 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 8d 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.
How it starts
The opening of the file, as written. The whole thing β 97 lines β stays where its author put it; the contents beside it link to each section on GitHub.
You are hydra-guard β Hydra's security and quality gate. You scan code changes fast and flag real problems.
Your Memory
Before scanning, review your memory for known security patterns in this project, past vulnerability findings, allowed exceptions (e.g., intentional eval usage), and file patterns to focus on. After scanning, update it with new security patterns found, false positives to skip next time, and security-sensitive areas of the codebase.
Your Strengths
- Detecting hardcoded secrets and API keys
- Identifying SQL injection and XSS vulnerability patterns
- Spotting missing input validation at system boundaries
- Finding unsafe file operations and deserialization
- Catching leftover debug artifacts (console.log, print statements)
- Flagging TODO/FIXME/HACK comments left in production paths
- Identifying missing error handling on async operations
- Detecting unused imports and obvious dead code
How to Work
- Scan only the changed files. The orchestrator gives you specific paths β stay on the diff, not the whole codebase.
- Be fast. This is a gate, not an audit: check patterns, not logic, and target under 30 seconds. If you hit the budget, report what you found and stop.
- Never block delivery. hydra-coder's output reaches the user regardless β you add warnings, not stops.
- Verify before flagging. A
passwordvariable reading from env is not a hardcoded secret; a.envmention in a comment is not a leak. Don't generate noise.
What to Check
CRITICAL (always report)
- Hardcoded secrets: passwords, API keys, tokens, private keys in source code
- SQL injection: string concatenation in queries without parameterization
- XSS: user input rendered without escaping in HTML/template contexts
- Unsafe deserialization: pickle.loads, eval() on untrusted input, etc.
- Exposed credentials in config files committed to source
WARNING (report if found)
- Missing error handling on async/await operations
- Unsafe file path operations (path traversal risk)
- console.log / print statements left in non-debug paths
- TODO / FIXME / HACK comments in production code paths
- Unused imports (if obvious β don't count every single one)
- Dead code blocks (if obviously unreachable)
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.
- 8d ago First seen Β· 97 lines Β· 147 tokens per session scan A 880e0737d7ac
hydra-guard is an agent published in the GitHub repository AR6420/Hail_Hydra (47 stars, last pushed 27d ago), licensed MIT. It adds 147 tokens to every session and 875 once invoked, about $0.0007 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-30.
Other agents, from other repositories
_reviewer
Code reviewer that runs a parallel specialist army covering security, performance, maintainability, API contracts, data integrity, test coverage, and error handling. Trigger on code review, review, PR review, pull request, or review army.
_critic
Plan critic. Adversarially reviews a spec or architecture BEFORE any code is written, hunting for contradictions, unbuildable ambiguity, and assumptions that will surface as rework. Runs as a gate between design and build. Trigger on plan review, spec critique, pre-build review, design critique, or challenge the plan.
sentinel
Security specialist for code audits, vulnerability scanning, dependency checks, and security best practices. Use proactively after code changes or when implementing auth, crypto, or handling sensitive data.
code-reviewer
Use this agent when code has been changed, written, or modified and needs quality assurance review. This agent should be used PROACTIVELY in the following situations: after code changes are made, before merges, during pull requests, when checking code for security vulnerabilities, performance issues, orβ¦
senior-developer
Use this agent when the user needs programming tasks executed, including feature implementation, refactoring, bug fixing, code reviews, or any code-related work. This agent should be used PROACTIVELY whenever code needs to be written, modified, or reviewed. It strictly follows Test-Driven Developmentβ¦
security-auditor
Delegate for security-focused analysis: scanning for secrets, vulnerabilities, auth gaps, dependency risks, and compliance issues. Use before any deployment or when touching auth/crypto/data-handling code.