Skip to content

Commit 7d0e926

Browse files
committed
docs(security-review): pin ai-devkit fallback to 0.70.1
Prefer the installed binary and pin the npx fallback to remove mutable remote-code execution. Instruction text only.
1 parent 9eae9bf commit 7d0e926

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎skills/security-review/SKILL.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: AI DevKit · Review code, skills, and prompts for security vulnerab
55

66
# Security Review
77

8-
Find vulnerabilities before they ship.
8+
Find vulnerabilities before they ship. Prefer the installed `ai-devkit` binary for CLI calls; if it is unavailable, use `npx ai-devkit@0.70.1`.
99

1010
## Hard Rules
1111

@@ -20,7 +20,7 @@ Find vulnerabilities before they ship.
2020
- Identify stack/framework — adapt the [checklist](references/checklist.md) (skip what the framework handles, add its pitfalls).
2121
- Trace data flow: request → middleware → handler → service → datastore → response. For prompts: input → template → LLM → tools → output.
2222
- Map trust boundaries, privilege levels, and threat actors.
23-
- Search prior findings: `npx ai-devkit@latest memory search --query "<target>" --tags "security"`
23+
- Search prior findings: `npx ai-devkit@0.70.1 memory search --query "<target>" --tags "security"`
2424

2525
2. **Scan**
2626
- Only check relevant categories. Skip sections and items that don't apply. Do not report skipped items.
@@ -60,7 +60,7 @@ Find vulnerabilities before they ship.
6060
5. **Verify**
6161
- Use the `verify` skill to confirm each remediation.
6262
- Re-scan fixed files for regressions.
63-
- Store findings: `npx ai-devkit@latest memory store --title "<pattern>" --content "<finding and fix>" --tags "security,<category>"`
63+
- Store findings: `npx ai-devkit@0.70.1 memory store --title "<pattern>" --content "<finding and fix>" --tags "security,<category>"`
6464

6565
## Red Flags
6666

0 commit comments

Comments
 (0)