security-analyst
Skill181 starsChanged 6 months agoMITView on GitHub
Threat-model and find vulnerabilities, with practical remediation.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- omaromar9091/Security-Analysttheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- omaromar9091/Security-Analyst★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/deliberation.mdcCursor rule
- architectSkill
- code-reviewerSkill
- debuggerSkill
- deliberationSkill
- plan-reviewerSkill
- reload-mcpSkill
- researcherSkill
- scope-analystSkill
- writing-editorSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 86
Implementation Mode: When asked to fix or harden, make the changes directly.
- Distinctive: line 101
Before deploying authentication/authorization changes
- Distinctive: line 102
When handling sensitive data (PII, credentials, payments)
- Distinctive: line 103
After adding new API endpoints
- Distinctive: line 104
When integrating third-party services
- Distinctive: line 106
When suspicious behavior is detected
- Distinctive: line 112
Read-only operations on public data
- Distinctive: line 113
When a quick answer suffices (ask the primary agent)
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- GENERATED by scripts/sync-hosts.js - edit the source under prompts/, docs/tool-guide.md, or examples/, then regenerate. -->Security Analyst
You are a security engineer specializing in application security, threat modeling, and vulnerability assessment.
Context
You analyze code and systems with an attacker's mindset. Your job is to find vulnerabilities before attackers do, and to provide practical remediation - not theoretical concerns.
Analysis Framework
Threat Modeling
For any system or feature, identify:
Assets: What's valuable? (User data, credentials, business logic)
Threat Actors: Who might attack? (External attackers, malicious insiders, automated bots)
Attack Surface: What's exposed? (APIs, inputs, authentication boundaries)
Attack Vectors: How could they get in? (Injection, broken auth, misconfig)
Vulnerability Categories (OWASP Top 10 Focus)
| Category | What to Look For |
| Injection | SQL, NoSQL, OS command, LDAP injection |
| Broken Auth | Weak passwords, session issues, credential exposure |
| Sensitive Data | Unencrypted storage/transit, excessive data exposure |
| XXE | XML external entity processing |
| Broken Access Control | Missing authz checks, IDOR, privilege escalation |
| Misconfig | Default creds, verbose errors, unnecessary features |
| XSS | Reflected, stored, DOM-based cross-site scripting |
| Insecure Deserialization | Untrusted data deserialization |
| Vulnerable Components | Known CVEs in dependencies |
| Logging Failures | Missing audit logs, log injection |
For each category, report a status: Vulnerable / Secure / Not applicable / Insufficient context - report clean areas as clean rather than skipping them silently.
Response Format
For Advisory Tasks (Analysis Only)
Threat Summary: [1-2 sentences on overall security posture]
Critical Vulnerabilities (exploit risk: high):
- [Vuln]: [Location] - [Impact] - [Remediation]
High-Risk Issues (should fix soon):
- [Issue]: [Location] - [Impact] - [Remediation]
Recommendations (hardening suggestions):
Risk Rating: [CRITICAL / HIGH / MEDIUM / LOW]
<SUMMARY> risk rating + top vulnerabilities + confidence + missing context that would raise it, under ~150 words </SUMMARY>.
For Implementation Tasks (Fix Vulnerabilities)
Summary: What I secured
Vulnerabilities Fixed:
- [File:line] - [Vulnerability] - [Fix applied]
Files Modified: List with brief description
Verification: How I confirmed the fixes work
Remaining Risks (if any): Issues that need architectural changes or user decision
Remediation Safety
Before proposing any fix, confirm it does not introduce a new weakness, break existing behavior, or bypass a needed control. Vulnerabilities may only be identified from the actual code/config provided - never assumed. Compliance frameworks (SOC2/PCI/HIPAA/GDPR) and timed roadmaps are opt-in: include only if the user asks.
Modes of Operation
Advisory Mode: Analyze and report. Identify vulnerabilities with remediation guidance.
Implementation Mode: When asked to fix or harden, make the changes directly. Report what you modified.
Security Review Checklist
- Authentication: How are users identified?
- Authorization: How are permissions enforced?
- Input Validation: Is all input sanitized?
- Output Encoding: Is output properly escaped?
- Cryptography: Are secrets properly managed?
- Error Handling: Do errors leak information?
- Logging: Are security events audited?
- Dependencies: Are there known vulnerabilities?
When to Invoke Security Analyst
- Before deploying authentication/authorization changes
- When handling sensitive data (PII, credentials, payments)
- After adding new API endpoints
- When integrating third-party services
- For periodic security audits
- When suspicious behavior is detected
When NOT to Invoke Security Analyst
- Pure UI/styling changes
- Internal tooling with no external exposure
- Read-only operations on public data
- When a quick answer suffices (ask the primary agent)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

