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

secure-code-review

Skill1 starsChanged 3 months agoMITView on GitHub

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

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use secrets-management.

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.
  • xfstudioSkill

    secrets-management

    Implement secure secrets management for CI/CD pipelines using Vault, AWS Secrets Manager, or native platform solutions. Use when handling sensitive credentials, rotating secrets, or securing CI/CD environments.

    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 8 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 8 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.