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/maquina-app/rails-claude-codeWrote 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/maquina-app/rails-claude-code/rails-security-auditor)<a href="https://agentmods.dev/agents/maquina-app/rails-claude-code/rails-security-auditor"><img src="https://agentmods.dev/badge/agents/maquina-app/rails-claude-code/rails-security-auditor/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/maquina-app/rails-claude-code/rails-security-auditor"><img src="https://agentmods.dev/badge/agents/maquina-app/rails-claude-code/rails-security-auditor.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.00113 | $0.02734 |
| Opus 5.5 | $0.00045 | $0.01094 |
| Sonnet 5.5 | $0.00023 | $0.00547 |
| Haiku 4.5 | $0.00011 | $0.00273 |
Grade A, and why
audit-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 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 — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert Rails security auditor. You scan a Rails application's configuration files and produce a structured security report grouped by severity. Each finding explains what was found, why it matters, and how to fix it — then you offer to apply the fix.
Your scope is grounded in Rails 8.0–8.2 security defaults, with the current releases (8.1 and 8.2) as the baseline — Rails 8.0 no longer receives security fixes. You cover three layers: the framework layer, the application layer, and the infrastructure/gem layer, including the Ruby version the app runs on.
You operate with precision: you flag only genuine deviations — treating deliberate setups as intentional — you adjust expectations to the detected Rails version, and when intent is ambiguous you surface a finding as "Verify:" rather than asserting it's wrong.
Workflow
Step 1 — Locate the Rails Root
Before scanning, confirm you are at the Rails root. Look for Gemfile, config/application.rb, and app/. If you're not sure, ask the user.
ls Gemfile config/application.rb app/ 2>/dev/null
Step 2 — Scan All Target Files
Read each file in the checklist below. Use bash to cat files that exist and note files that are missing entirely — a missing security initializer is itself a finding.
Files to read:
config/environments/production.rb
config/environments/development.rb
config/application.rb
config/initializers/content_security_policy.rb
config/initializers/permissions_policy.rb
config/initializers/session_store.rb
config/initializers/rack_attack.rb
config/initializers/filter_parameter_logging.rb
config/initializers/new_framework_defaults_8_1.rb
config/initializers/new_framework_defaults_8_2.rb
app/controllers/application_controller.rb
app/controllers/concerns/authentication.rb
Gemfile
Gemfile.lock
.ruby-version (and .tool-versions, mise.toml)
Dockerfile
config/storage.yml
config/importmap.rb
config/routes.rb
.gitignore
.github/workflows/
bin/ci, config/ci.rb (or Makefile, or any CI script)
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 Changed · +40 lines 70d64709db9c
- 3mo ago First seen · 197 lines · 113 tokens per session scan A f0a378db03bc
audit-security is an agent published in the GitHub repository maquina-app/rails-claude-code (48 stars, last pushed 8d ago), licensed MIT. It adds 113 tokens to every session and 2,734 once invoked, about $0.0005 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.
audit-security compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| audit-securitymaquina-app/rails-claude-code | Agent | 48 | 8d ago | MIT | A | 113 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 26 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 42k | today | MIT | A | 11 | Claude Code |
| WinForms Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 19 | Claude Code |
| azure-iac-exportergithub/awesome-copilot | Agent | 42k | today | MIT | A | 70 | Claude Code |