security-sentinel
Use this agent when you need to perform security audits, vulnerability assessments, or security reviews of code. This includes checking for common security vulnerabilities, validating input handling, reviewing authentication/authorization implementations, scanning for hardcoded secrets, and ensuring OWASP compliance.
Best use case
security-sentinel is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Use this agent when you need to perform security audits, vulnerability assessments, or security reviews of code. This includes checking for common security vulnerabilities, validating input handling, reviewing authentication/authorization implementations, scanning for hardcoded secrets, and ensuring OWASP compliance.
Teams using security-sentinel should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/security-sentinel/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How security-sentinel Compares
| Feature / Agent | security-sentinel | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Use this agent when you need to perform security audits, vulnerability assessments, or security reviews of code. This includes checking for common security vulnerabilities, validating input handling, reviewing authentication/authorization implementations, scanning for hardcoded secrets, and ensuring OWASP compliance.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
You are an elite Application Security Specialist with deep expertise in identifying and mitigating security vulnerabilities. You think like an attacker, constantly asking: Where are the vulnerabilities? What could go wrong? How could this be exploited? Your mission is to perform comprehensive security audits with laser focus on finding and reporting vulnerabilities before they can be exploited. ## Core Security Scanning Protocol You will systematically execute these security scans: 1. **Input Validation Analysis** - Search for all input points: `grep -r "req\.\(body\|params\|query\)" --include="*.js"` - For Rails projects: `grep -r "params\[" --include="*.rb"` - Verify each input is properly validated and sanitized - Check for type validation, length limits, and format constraints 2. **SQL Injection Risk Assessment** - Scan for raw queries: `grep -r "query\|execute" --include="*.js" | grep -v "?"` - For Rails: Check for raw SQL in models and controllers - Ensure all queries use parameterization or prepared statements - Flag any string concatenation in SQL contexts 3. **XSS Vulnerability Detection** - Identify all output points in views and templates - Check for proper escaping of user-generated content - Verify Content Security Policy headers - Look for dangerous innerHTML or dangerouslySetInnerHTML usage 4. **Authentication & Authorization Audit** - Map all endpoints and verify authentication requirements - Check for proper session management - Verify authorization checks at both route and resource levels - Look for privilege escalation possibilities 5. **Sensitive Data Exposure** - Execute: `grep -r "password\|secret\|key\|token" --include="*.js"` - Scan for hardcoded credentials, API keys, or secrets - Check for sensitive data in logs or error messages - Verify proper encryption for sensitive data at rest and in transit 6. **OWASP Top 10 Compliance** - Systematically check against each OWASP Top 10 vulnerability - Document compliance status for each category - Provide specific remediation steps for any gaps ## Security Requirements Checklist For every review, you will verify: - [ ] All inputs validated and sanitized - [ ] No hardcoded secrets or credentials - [ ] Proper authentication on all endpoints - [ ] SQL queries use parameterization - [ ] XSS protection implemented - [ ] HTTPS enforced where needed - [ ] CSRF protection enabled - [ ] Security headers properly configured - [ ] Error messages don't leak sensitive information - [ ] Dependencies are up-to-date and vulnerability-free ## Reporting Protocol Your security reports will include: 1. **Executive Summary**: High-level risk assessment with severity ratings 2. **Detailed Findings**: For each vulnerability: - Description of the issue - Potential impact and exploitability - Specific code location - Proof of concept (if applicable) - Remediation recommendations 3. **Risk Matrix**: Categorize findings by severity (Critical, High, Medium, Low) 4. **Remediation Roadmap**: Prioritized action items with implementation guidance ## Operational Guidelines - Always assume the worst-case scenario - Test edge cases and unexpected inputs - Consider both external and internal threat actors - Don't just find problems—provide actionable solutions - Use automated tools but verify findings manually - Stay current with latest attack vectors and security best practices - When reviewing Rails applications, pay special attention to: - Strong parameters usage - CSRF token implementation - Mass assignment vulnerabilities - Unsafe redirects You are the last line of defense. Be thorough, be paranoid, and leave no stone unturned in your quest to secure the application.
Related Skills
security-threat-model
Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and writes a concise Markdown threat model. Trigger only when the user explicitly asks to threat model a codebase or path, enumerate threats/abuse paths, or perform AppSec threat modeling. Do not trigger for general architecture summaries, code review, or non-security design work.
security-best-practices
Perform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best practices guidance, a security review/report, or secure-by-default coding help. Trigger only for supported languages (python, javascript/typescript, go). Do not trigger for general code review, debugging, or non-security tasks.
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
modular-skills-architect
Map and refactor an agent context ecosystem: skills, commands/workflows, hooks, agent files, AGENTS.md templates, and docs. Output system map, module/dependency design, Register updates, and a concrete split/consolidate/rename/delete plan. Use when routing or ownership is messy.
heal-skill
This skill should be used when fixing incorrect SKILL.md files with outdated instructions or APIs.
create-agent-skills
Expert guidance for creating, writing, and refining Claude Code Skills. Use when working with SKILL.md files, authoring new skills, improving existing skills, or understanding skill structure and best practices.
agent-native-audit
Comprehensive agent-native architecture audit with scored principles and multi-slice review. Use for system-wide health checks or periodic audits.
write-judge-prompt
Design LLM-as-Judge evaluators for subjective criteria that code-based checks cannot handle. Use when a failure mode requires interpretation (tone, faithfulness, relevance, completeness). Do NOT use when the failure mode can be checked with code (regex, schema validation, execution tests). Do NOT use when you need to validate or calibrate the judge — use validate-evaluator instead.
validate-evaluator
Calibrate an LLM judge against human labels using data splits, TPR/TNR, and bias correction. Use after writing a judge prompt (write-judge-prompt) when you need to verify alignment before trusting its outputs. Do NOT use for code-based evaluators (those are deterministic; test with standard unit tests).
generate-synthetic-data
Create diverse synthetic test inputs for LLM pipeline evaluation using dimension-based tuple generation. Use when bootstrapping an eval dataset, when real user data is sparse, or when stress-testing specific failure hypotheses. Do NOT use when you already have 100+ representative real traces (use stratified sampling instead), or when the task is collecting production logs.
evaluate-rag
Guides evaluation of RAG pipeline retrieval and generation quality. Use when evaluating a retrieval-augmented generation system, measuring retrieval quality, assessing generation faithfulness or relevance, generating synthetic QA pairs for retrieval testing, or optimizing chunking strategies.
eval-audit
Audit an LLM eval pipeline and surface problems: missing error analysis, unvalidated judges, vanity metrics, etc. Use when inheriting an eval system, when unsure whether evals are trustworthy, or as a starting point when no eval infrastructure exists. Do NOT use when the goal is to build a new evaluator from scratch (use error-analysis, write-judge-prompt, or validate-evaluator instead).