Files
MyAiConfiguration/shared/skills/reviews/security-review/SKILL.md
T
Julian Lechner f5d8f6f11b
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s
feat(skills): reworked skills and rules
2026-11-18 14:17:49 +01:00

20 lines
1.4 KiB
Markdown

---
name: security-review
description: Use when asked to assess code or configuration changes for exploitable security weaknesses, trust boundaries, authorization flaws, unsafe input handling, or sensitive-data exposure.
---
# Security Review
Use when asked to review a change for exploitable security weaknesses.
Load `rules-security` and follow its index to the topic skills the diff touches, such as `rules-security-auth`, `rules-security-api`, `rules-security-data`, `rules-security-files`, `rules-security-network`, `rules-security-logging`, `rules-security-ai`, `rules-security-clients`, `rules-security-crypto`, and `rules-security-supply-chain`. Check the change against those rules instead of a separate list.
## Review
1. Map inputs crossing a trust boundary and identify the principals, permissions, and resources involved.
2. Trace each control the rules require through the actual code path.
3. Build a plausible attack path: attacker capability, triggering input or state, missing control, and resulting impact.
4. Verify proposed mitigations preserve normal behavior and fail closed where the boundary requires it.
Report only evidence-backed findings in the `review-pull-request` finding schema and severity scale. Put preconditions in the condition field. Mark defense-in-depth suggestions as minor or optional; do not invent attack scenarios unsupported by the code.