feat(skills): reworked skills and rules
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
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
This commit is contained in:
1 parent
29632ff0ce
commit
f5d8f6f11b
124 files changed
+1250
-8138
No files matched your search
@@ -7,12 +7,13 @@ description: Use when asked to assess code or configuration changes for exploita
|
||||
|
||||
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 validation, authentication, authorization, tenant scoping, and output encoding through the actual code path.
|
||||
3. Check secret handling, filesystem and process access, network destinations, deserialization, dependency sources, and sensitive-data exposure when relevant.
|
||||
4. Build a plausible attack path: attacker capability, triggering input or state, missing control, and resulting impact.
|
||||
5. Verify proposed mitigations preserve normal behavior and fail closed where the security boundary requires it.
|
||||
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. State severity, preconditions, impact, and a practical fix. Separate confirmed vulnerabilities from defense-in-depth suggestions; do not invent attack scenarios unsupported by the code.
|
||||
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.
|
||||
Reference in new issue
Block a user