Skip to main content

secure-code-review

Use this skill when reviewing or writing code that handles user input, authentication, file I/O, network requests, or database queries. Always check for common security vulnerabilities before considering the code complete.

Source facts

Repository
aiming-lab/MetaClaw
Last source activity
March 10, 2026 at 18:04
Detected SKILL.md language
English
Stars
3,464
Forks
453

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
secure-code-review
description
Use this skill when reviewing or writing code that handles user input, authentication, file I/O, network requests, or database queries. Always check for common security vulnerabilities before considering the code complete.
category
coding
# Secure Code Review Checklist **Input Validation:** - Never trust user-supplied input; validate type, length, and format at boundaries. - Use parameterized queries — never string-interpolate SQL. - Sanitize before rendering HTML to prevent XSS. **Secrets & Credentials:** - No hardcoded passwords, API keys, or tokens in source code. - Use environment variables or a secrets manager. - Check `.gitignore` before adding any config files. **Dependencies:** - Pin dependency versions; audit with `pip audit` or `npm audit`. - Minimize surface area: remove unused packages. **Auth:** - Verify authorization on every protected endpoint, not just at login. - Use short-lived tokens; implement refresh flows.
View on GitHub