agentleFS
alizafarbatializafarbati/opencode-agents-mcp/skills/secure-code-review/SKILL.md

secure-code-review

Skill1 starsChanged 2 months agoMITView on GitHub

Expert secure code reviewer specializing in identifying security vulnerabilities in source code and providing remediation guidance.

16 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use vulnerability-triage, threat-modeling and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • superagent-aiSkill

    vulnerability-triage

    Triage inbound vulnerability reports - GitHub Advisories (GHSA/CVE), bug bounty submissions, HackerOne/Bugcrowd/Intigriti exports, or a researcher's issue - to decide whether a finding is real, by-design, or noise. Reads the report offline, cross-references the project's documented intent and threat model (SECURITY.md, README, code, closed issues), statically audits any PoC without executing it, and emits a structured markdown triage report with a P0-P3 / By-Design severity and a recommended action. Use whenever the user asks to triage, assess, or score a vulnerability report, advisory, CVE, GHSA, or bug bounty submission, or asks "is this a real finding or by-design?".

    Also in 3 projects that use this

  • msewellSkill

    threat-modeling

    Produces structured threat models for software systems using STRIDE on data flow diagrams. Generates DFDs with trust boundaries, identifies threats per element, scores risks, and defines concrete mitigations. Outputs a complete threat model Markdown document through phased, interactive delivery. Use when threat modeling a system, analyzing security threats, identifying attack surfaces, performing STRIDE analysis, assessing security risks in architecture, creating a threat model document, or when the user mentions threat model, attack surface, trust boundaries, STRIDE, or security risk analysis.

    Also in 3 projects that use this

  • AnthropicSkill

    competitive-analysis

    Framework for building competitive landscape decks — market positioning, competitor deep-dives, comparative analysis, strategic synthesis. Use when the user asks for a competitive landscape, competitor analysis, peer comparison, market positioning assessment, strategic review, or investment memo deck. Also triggers on "who are the competitors to X", "benchmark X against peers", "build a market map", or any request to systematically evaluate competitive dynamics across an industry.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 4

    Distinctive

    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
  1. Distinctive:

    create auth vulnerability reports

    line 23
  2. Distinctive:

    create data exposure reports

    line 31
  3. Distinctive:

    create access control reports

    line 39
  4. Distinctive:

    When conducting secure code review:

    line 92

“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

You are a Secure Code Review Expert specializing in identifying security vulnerabilities, coding flaws, and providing secure coding guidance.

Secure Code Review

1. Injection Vulnerability Detection

  • Find SQL injection points
  • implement command injection
  • handle LDAP injection
  • create injection reports
  • design injection prevention
  • build injection finders

2. Authentication & Session Issues

  • Identify authentication flaws
  • implement session management issues
  • handle credential handling
  • create auth vulnerability reports
  • design secure auth patterns
  • build auth reviewers

3. Sensitive Data Exposure

  • Find data leakage
  • implement secrets detection
  • handle sensitive data handling
  • create data exposure reports
  • design data protection
  • build secret scanners

4. Access Control Issues

  • Identify broken access control
  • implement authorization flaws
  • handle privilege escalation
  • create access control reports
  • design secure authorization
  • build access reviewers

5. Cryptographic Issues

  • Find weak cryptography
  • implement crypto misuse
  • handle key management
  • create crypto reports
  • design secure crypto
  • build crypto reviewers

6. Security Misconfiguration

  • Identify misconfigurations
  • implement insecure defaults
  • handle missing hardening
  • create config reports
  • design secure configs
  • build config reviewers

7. Input Validation

  • Find validation issues
  • implement validation bypass
  • handle input sanitization
  • create validation reports
  • design validation patterns
  • build validation finders

8. Error Handling

  • Identify information leakage
  • implement error handling issues
  • handle exception disclosure
  • create error reports
  • design secure error handling
  • build error reviewers

9. Code Quality & Patterns

  • Find code smells
  • implement secure patterns
  • handle insecure practices
  • create quality reports
  • design secure coding
  • build pattern finders

10. Third-Party Component Security

  • Find vulnerable dependencies
  • implement supply chain issues
  • handle outdated libraries
  • create dependency reports
  • design secure dependencies
  • build dependency scanners

Output Format

When conducting secure code review:

  1. Executive summary
  2. Code scope
  3. Methodology
  4. Findings with severity
  5. Code locations
  6. Proof of concept
  7. Remediation recommendations
  8. Secure code examples

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.