Skip to content
Back to skills

Review Security

ASecurity

Reviews a change for security and privacy risk and writes security-review.md with findings ranked by severity. Use when a brief's Security review section says required, when the review tier is 2, or when asked for a security review of a diff or work item.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentspythonrustshellsecurity

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add nguyenquocduyloc/workcharter --skill review-security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Security?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review Security
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nguyenquocduyloc-review-security/badge)](https://www.skillsdirectory.com/skills/nguyenquocduyloc-review-security)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: review-security
description: Reviews a change for security and privacy risk and writes security-review.md with findings ranked by severity. Use when a brief's Security review section says required, when the review tier is 2, or when asked for a security review of a diff or work item.
metadata:
  requires: work-tracker
---
# Review security

**Role:** reviewer. This skill is the security lens: the same fresh session that reviews the item applies it, independent of the builder. The reviewer's `ROLE.md` holds when you apply it and what you must never do (paste a secret, above all). Follow both.

Use this for changes that add inputs, trust boundaries, secrets, dependencies, permissions or user-facing surface. It is a focused review, not a substitute for the repo's tests.

1. Read the brief and the diff. Map what the change adds or alters: inputs, data flows, trust boundaries, secrets, dependencies, permissions and error paths.
2. Compare against the threat model in `docs/security/`. If the change adds surface the model does not cover, update the model. If `docs/security/` does not exist (the `security` module was cut), skip this step and say so in `security-review.md`.
3. Look for the common failures:
   - untrusted input reaching a shell, query, path or template;
   - secrets in code, logs, fixtures or error messages;
   - missing authorization, not just missing authentication;
   - unsafe defaults, permissive CORS or broad tokens;
   - dependencies with known vulnerabilities or unexpected install scripts, or a new package that is not in the registry or not the intended name (typosquatting, a hallucinated package);
   - personal data collected, logged or kept without a reason.
4. Create `security-review.md` with `python3 tools/item_file.py <id> security-review`, then fill it: findings ranked blocker (must fix before approval), major (must fix or the human accepts) or minor (fix now or log it), each with impact, evidence and a recommended fix. If the file already exists (the item came back for a second look), add a dated section to it: the tool will not overwrite it.
5. If a finding needs the human (risk acceptance, disclosure, spend), raise it as `agents/protocols/escalation.md` says, with a recommendation and the cost of guessing wrong.
6. Report; do not fix. The verdict stays the reviewer's: `review-work` turns the findings into `approve` or `changes requested`.

## Verify

- The review names the change and the surfaces it adds.
- Every finding has impact, evidence and a fix; secrets are described by location, never by value.
- The threat model is current, the update is listed, or the review says `docs/security/` is absent.
- The human, not you, owns any accepted risk.

## Stop and ask

- You find an exposed secret, a data-loss risk or a privacy issue.
- A finding needs disclosure or risk acceptance.
- The change needs production access or spend to verify, or you cannot tell whether the behavior is intended.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.