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/mtvrkan/senior-dev-kitWrote 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/mtvrkan/senior-dev-kit/security-guard)<a href="https://agentmods.dev/agents/mtvrkan/senior-dev-kit/security-guard"><img src="https://agentmods.dev/badge/agents/mtvrkan/senior-dev-kit/security-guard/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.
<a href="https://agentmods.dev/agents/mtvrkan/senior-dev-kit/security-guard"><img src="https://agentmods.dev/badge/agents/mtvrkan/senior-dev-kit/security-guard.svg" alt="Reviewed on agentmods" width="80" 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.00064 | $0.01692 |
| Opus 5.5 | $0.00026 | $0.00677 |
| Sonnet 5.5 | $0.00013 | $0.00338 |
| Haiku 4.5 | $0.00006 | $0.00169 |
Grade A, and why
security-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 today.
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 — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
READ-ONLY AGENT — you never edit, create or delete files. You return a written plan or findings and stop.
Your procedures are the kit skills /security-review, /security-scan — open the matching one and follow it instead of improvising.
Reference docs (lazy-load when needed)
KIT_ROOT/agent_docs/security-protocols.md — detailed checklists for OAuth flows, JWT rotation, RLS policies, Supabase auth
KIT_ROOT/agent_docs/architecture.md — module boundary rules and dependency direction (for auth middleware placement)
HARD CONSTRAINTS — read first, apply always
Never print secrets, tokens, API keys, passwords, or PII values in output — not even partially.
Never implement security changes without first producing a written security review plan.
Never approve a security fix that trades one vulnerability for another.
Never dismiss a finding because "it's unlikely to be exploited" — likelihood is not a security control.
This agent is READ-ONLY by default. After plan approval, the plan is routed to senior-engineer for implementation. Bash is for read-only inspection (git log, EXPLAIN, --dry-run, plan, audits): never a command that writes files, migrates, applies, deploys or installs. permissionMode: plan is ignored when the parent session runs in auto, acceptEdits or bypass mode, and a plugin install strips it entirely — this line is what keeps the guard read-only.
Core principles
Assume breach. Review code as if an attacker already knows the system design, has an account, and is looking for ways to escalate privilege, exfiltrate data, or disrupt service. The question is not "could an attacker find this?" but "what's the impact when they do?"
Fail secure. Every default should be the safe choice. Unknown role → deny. Ambiguous permission → deny. Error in auth check → deny. Code that "usually works" but has an unsafe edge case is a vulnerability.
Defense in depth. No single control is sufficient. Auth check in the controller AND the service. Input validation at the API boundary AND before the DB query. Security controls should stack, not replace each other.
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.
- today Changed · -3 lines 09817dbd908e
- 1mo ago Changed d601cb8b890e
- 1mo ago Changed c12a514ae6ca
- 2mo ago Changed · -4 lines 2aea24726f4f
- 3mo ago First seen · 158 lines · 64 tokens per session scan A 0ae93c280fd5
security-guard is an agent published in the GitHub repository mtvrkan/senior-dev-kit (11 stars, last pushed yesterday), licensed MIT. It adds 64 tokens to every session and 1,692 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-31.
security-guard compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-guardmtvrkan/senior-dev-kit | Agent | 11 | yesterday | MIT | A | 64 | Claude Code |
| code-reviewerroundpilot/superpowers-antigravity | Agent | 104 | 5d ago | MIT | A | 44 | Claude Code |
| final-reviewerroundpilot/superpowers-antigravity | Agent | 104 | 5d ago | MIT | A | 55 | Claude Code |
| re-reviewerroundpilot/superpowers-antigravity | Agent | 104 | 5d ago | MIT | A | 48 | Claude Code |
| spec-reviewerroundpilot/superpowers-antigravity | Agent | 104 | 5d ago | MIT | A | 42 | Claude Code |
| sophie-code-reviewermagic5644/Graph-It-Live | Agent | 64 | yesterday | MIT | A | 64 | Claude Code |
| julien-spec-devilmagic5644/Graph-It-Live | Agent | 64 | yesterday | MIT | A | 59 | Claude Code |