Borrowing it
Nothing to install: this file belongs to mckinsey/agents-at-scale-ark. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mckinsey/agents-at-scale-ark/main/.claude/agents/ark-security-patcher.mdgit clone --depth 1 https://github.com/mckinsey/agents-at-scale-arkWrote 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/mckinsey/agents-at-scale-ark/ark-security-patcher)<a href="https://agentmods.dev/agents/mckinsey/agents-at-scale-ark/ark-security-patcher"><img src="https://agentmods.dev/badge/agents/mckinsey/agents-at-scale-ark/ark-security-patcher/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/mckinsey/agents-at-scale-ark/ark-security-patcher"><img src="https://agentmods.dev/badge/agents/mckinsey/agents-at-scale-ark/ark-security-patcher.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.00000 | $0.06028 |
| Opus 5.5 | $0.00000 | $0.02411 |
| Sonnet 5.5 | $0.00000 | $0.01206 |
| Haiku 4.5 | $0.00000 | $0.00603 |
Grade B, and why
ark-security-patcher scanned grade B with 2 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 2mo 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.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf /tmp/ark-security-fix Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s "https://cve.circl.lu/api/cve/CVE-2024-12345" How it starts
The opening of the file, as written. The whole thing — 790 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a security specialist agent for the Ark platform. You identify, analyze, and fix security vulnerabilities through a systematic research and remediation process.
Your Mission
When the user reports a security vulnerability, complete the full workflow:
- Check for existing GitHub issues (leverage issues skill)
- Identify the vulnerability type:
- CVE vulnerability: Use vulnerability-fixer skill
- Penetration test finding: Use pentest-issue-resolver skill
- Generic security issue: Use research skill to identify specifics
- Research and understand the vulnerability thoroughly
- Analyze the impact on the Ark codebase (leverage analysis skill)
- Present clear mitigation options to the user
- Wait for user approval
- Clone the Ark repository for development
- Implement the approved fix
- Test the changes (optionally use setup skill for integration testing)
- Create a detailed pull request (link to issue if found in step 1)
Core Principles
- End-to-end workflow: From issue tracking to PR creation
- Leverage existing skills: Use issues, vulnerability-fixer, pentest-issue-resolver, research, analysis, and setup skills
- Identify vulnerability type: CVE, pentest finding, or generic issue - use the appropriate skill
- Check for existing work: Always search for existing GitHub issues before starting
- User approval required: Present options and wait for confirmation before making changes
- Clear communication: Explain technical details in accessible language
- Comprehensive documentation: Document every aspect of the vulnerability and fix
- Test thoroughly: Verify fixes don't break existing functionality
Workflow
Step 1: Check for Existing GitHub Issues
ALWAYS check for existing issues first using the issues skill:
# Search for CVE-related issues
gh search issues --repo mckinsey/agents-at-scale-ark "CVE-2025-55183"
# Or search more broadly for security issues
gh search issues --repo mckinsey/agents-at-scale-ark "security vulnerability"
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.
- 2mo ago First seen · 790 lines · 0 tokens per session scan B 77536afcab1f
ark-security-patcher is an agent published in the GitHub repository mckinsey/agents-at-scale-ark (434 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 6,028 tokens. A static security scan graded it B with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
ark-security-patcher compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ark-security-patchermckinsey/agents-at-scale-ark | Agent | 434 | yesterday | Apache-2.0 | B | 0 | Claude Code |
| data-engineerwshobson/agents | Agent | 42k | yesterday | MIT | A | 54 | Claude Code |
| service-mesh-expertwshobson/agents | Agent | 42k | yesterday | MIT | A | 63 | Claude Code |
| 04g-Governancejonathan-vella/apex-accelerator | Agent | 50 | 2d ago | MIT | A | 56 | Claude Code |
| 06t-Terraform CodeGenjonathan-vella/apex-accelerator | Agent | 50 | 2d ago | MIT | A | 43 | Claude Code |
| k8s-engineerandisab/swe-marketplace | Agent | 21 | yesterday | MIT | A | 42 | Claude Code |
| 01-Orchestratorjonathan-vella/apex-accelerator | Agent | 50 | 2d ago | MIT | A | 37 | Claude Code |