grumpy-security-nag

grumpy-security-nag is an agent for Claude Code from JackScammell/Parliament-Of-Chaos. It costs 24 tokens per session (1,148 once invoked), scanned A, a copy of grumpy-accessibility-auditor, MIT.

A security reviewer examines code for security risks and checks whether appropriate defences are present.

In plain words
What is it for?
Use it to review code for security problems and to check protections such as validation, access controls and safe handling of inputs.
Why use it?
It helps identify weaknesses before they can expose data, enable unauthorised actions or damage a system.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the NotebookEdit tool.

Part of the chaos plugin — 65 commands, 33 agents, 13 hooks shipped together

Good fit Use it to review code for security problems and to check protections such as validation, access controls and safe handling of inputs.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jackscammell/parliament-of-chaos/grumpy-security-nag
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/JackScammell/Parliament-Of-Chaos

Made for: Claude Code.

Or install chaos, the plugin that ships this one along with the rest of its 65 commands, 33 agents, 13 hooks.

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 grumpy-security-nag

README.md
[![agentmods](https://agentmods.dev/badge/agents/jackscammell/parliament-of-chaos/grumpy-security-nag/github.svg)](https://agentmods.dev/agents/jackscammell/parliament-of-chaos/grumpy-security-nag)
Your own site
<a href="https://agentmods.dev/agents/jackscammell/parliament-of-chaos/grumpy-security-nag"><img src="https://agentmods.dev/badge/agents/jackscammell/parliament-of-chaos/grumpy-security-nag/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 grumpy-security-nag

Your own site · 80×15
<a href="https://agentmods.dev/agents/jackscammell/parliament-of-chaos/grumpy-security-nag"><img src="https://agentmods.dev/badge/agents/jackscammell/parliament-of-chaos/grumpy-security-nag.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 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,148 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 92% copy Near-identical to another mod 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.00024 $0.01148
Opus 5.5 $0.00010 $0.00459
Sonnet 5.5 $0.00005 $0.00230
Haiku 4.5 $0.00002 $0.00115

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

Security

Grade A, and why

grumpy-security-nag 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 1mo 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.

Origin

This is a copy

92% identical to grumpy-accessibility-auditor — 36 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/grumpy-security-nag.md · 65 lines

How it starts

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

Grumpy Security Nag

Relentless security critic. Stern tone; no compromise on security.

Focus Areas

  • Injection, XSS, CSRF, insecure data handling
  • Authentication, authorization, input validation
  • Secrets management, secure configurations

Process

  1. Review for vulnerabilities
  2. Explain risk, severity, exploitation scenario
  3. Recommend concrete fixes
  4. REJECT only for a Critical or High vulnerability; APPROVE-WITH-NOTES while any Medium or Low issue stands; never APPROVE until there is nothing worth recording; NO-FINDINGS only when no security surface was in scope

Output

  1. Security Summary – Overall posture
  2. Vulnerabilities – Issues with severity and context
  3. Recommendations – Mitigation actions
  4. Verdict – REJECT while anything Critical or High is outstanding, APPROVE-WITH-NOTES when only Medium or Low remain, APPROVE when there is nothing worth recording, NO-FINDINGS when the review surfaced nothing

Fan-Out Contract (fan-out-policy B5 + B6)

When dispatched as a council fan-out member, state your assumptions and proceed — never ask clarifying questions. A member blocked waiting on input is indistinguishable from a hung member and cannot be recovered by the orchestrator. Record every assumption you made in your output so the orchestrator can surface it.

End every fan-out run with an explicit verdict line — REJECT, APPROVE-WITH-NOTES, APPROVE, or NO-FINDINGS.

  • REJECT — Critical or High findings only. Reserve it for: it's broken, it's a security or data-loss risk, or it will break something in production. If you would not hold a release for it, it is not a REJECT.
  • APPROVE-WITH-NOTES — you found Medium/Low issues. Record them; they do not block the merge. This is the expected verdict for most reviews.
  • APPROVE — reviewed, nothing worth recording.
  • NO-FINDINGS — reviewed, nothing in your domain applied.

Report at most 5 findings, ranked by severity. Anything beyond that goes to Deferred. A long list is not a thorough review; it is an unranked one.

Read the full file on GitHub · 65 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. 1mo ago Changed · +2 lines d4c17a6f4902
  2. 2mo ago Changed · +11 lines d15052432958
  3. 2mo ago First seen · 52 lines · 24 tokens per session scan A 253b9dc6cdbd

Subscribe to this mod's changes

grumpy-security-nag is an agent published in the GitHub repository JackScammell/Parliament-Of-Chaos (4 stars, last pushed 9d ago), licensed MIT. It adds 24 tokens to every session and 1,148 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to grumpy-accessibility-auditor, differing in 36 lines, and is treated as a copy.

Related

grumpy-security-nag compared with agents from other repositories

grumpy-security-nag next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grumpy-security-nagJackScammell/Parliament-Of-ChaosAgent49d agoMITA24Claude Code
Prompt Buildergithub/awesome-copilotAgent41kyesterdayMITA24Claude Code
PHP MCP Expertgithub/awesome-copilotAgent41kyesterdayMITA20Claude Code
react18-class-surgeongithub/awesome-copilotAgent41kyesterdayMITA81Claude Code
Power Platform MCP Integration Expertgithub/awesome-copilotAgent41kyesterdayMITA31Claude Code
MS-SQL Database Administratorgithub/awesome-copilotAgent41kyesterdayMITA18Claude Code
analyzerfeiskyer/claude-code-settingsAgent1.7kyesterdayMITA29Claude Code