Dev security
Audit the code for vulnerabilities, leaked secrets and risky dependencies before it ships.From its SKILL.md
npx -y skills add ToruAI/toru-claude-agents --skill dev-securityAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 2 commands, including `git diff --name-only HEAD~10 2>/dev/null || git diff --name-only` and 1 more.
SKILL.md
3.2 KB, 787 tokens by cl100k_base, as published. Nobody here has run it
Dev Security - Security Audit
Delegate to Sentinel for comprehensive security review.
Philosophy
"Every line of code is guilty until proven innocent."
Flow
1. Context Gathering
# What changed?
git diff --name-only HEAD~10 2>/dev/null || git diff --name-only
# What's the scope?
ls -la
2. Invoke Sentinel
Delegate to Sentinel agent:
"Sentinel, security audit time.
Scope: {describe what changed or focus area}
Run your full checklist:
1. Secrets scan
2. Dependency audit
3. Injection vectors
4. Auth/authz review
5. Crypto check
Files changed: {list from git diff}
Be thorough. We're not shipping vulnerabilities."
3. Review Sentinel's Findings
Sentinel returns findings by severity:
- CRITICAL: Must fix before merge
- HIGH: Should fix before merge
- MEDIUM: Should fix soon
- LOW: Consider fixing
4. Action on Findings
If CRITICAL or HIGH found:
Security audit found issues:
CRITICAL:
- [Issue 1 with location and fix]
HIGH:
- [Issue 2 with location and fix]
Options:
1. Fix now (Bob will implement Sentinel's fixes)
2. Fix manually, run /dev-security again
3. Accept risk (requires explicit acknowledgment)
4. Get second opinion (run deeper audit)
If only MEDIUM/LOW:
Security audit passed with notes.
MEDIUM:
- [Issue with suggestion]
LOW:
- [Issue with suggestion]
These don't block shipping but should be tracked.
Add to backlog? (y/n)
If clean:
Security audit passed!
Sentinel says: "Huh. Someone actually read the OWASP guide. Respect."
Ready for:
- /dev-rc - Release candidate
- /dev-finish - Close the cycle
5. Log Results
If active dev-cycle session:
## Security Audit
- **Date**: {timestamp}
- **Status**: PASSED | PASSED_WITH_NOTES | FAILED
- **Critical**: 0
- **High**: 0
- **Medium**: 2
- **Low**: 1
### Findings
{Summary of what was found and resolved}
Focus Modes
Full Audit (default)
/dev-security
Everything: secrets, deps, code, config, infra
Quick Scan
/dev-security quick
Just the critical stuff: secrets, known CVEs, obvious injection
Specific Focus
/dev-security auth
/dev-security crypto
/dev-security deps
/dev-security secrets
Focus on one area for deeper review.
What Sentinel Checks
| Area | What | Why |
|---|---|---|
| Secrets | Hardcoded keys, tokens, passwords | #1 breach cause |
| Dependencies | Known CVEs, outdated packages | Supply chain attacks |
| Injection | SQL, XSS, command, path traversal | OWASP Top 10 |
| Auth | Broken auth, missing authz | Gateway to everything |
| Crypto | Weak algorithms, hardcoded keys | Data protection |
| Config | Exposed debug, permissive CORS | Misconfiguration |
Integration
With dev-cycle: Logs findings to session With dev-rc: Security must pass for release candidate With Bob: Implements fixes for findings With Sentinel: The security brain
When to Run
- Before any PR
- After implementing auth/authz
- After adding new dependencies
- After handling user input
- After touching crypto
- Before any release
- When Sentinel whispers "trust nothing"
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 0 of the 12 instructions most security skills give in 787 tokens
Counted across 666 of the 889 authors here whose files we hold, read 2026-09-06
- Use parameterized queries for database accessin 82 of 666, across 79 files
- Hash passwords with BCryptin 55 of 666, across 39 files
- Implement rate limiting for public endpointsin 48 of 666, across 34 files
- Use environment variables for secretsin 35 of 666
- Scan dependencies for vulnerabilitiesin 35 of 666, across 24 files
- Validate and sanitize all user inputin 35 of 666, across 32 files
- Add security headers to all responsesin 34 of 666, across 20 files
- Validate all external input at the system boundaryin 26 of 666, across 25 files
- Use parameterized queries to prevent SQL injectionin 25 of 666, across 13 files
- Store secrets in Vault or environment variablesin 25 of 666, across 10 files
- Run containers as a non-root userin 21 of 666, across 18 files
- Validate all input using Bean Validationin 19 of 666, across 5 files
Said here and by no other author read
- Delegate security audit to Sentinel
- List changed files using git diff
- Log audit results in the session
- Run full audit before any release
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.