Use when a pull request, release branch or feature is about to be security tested and needs a targeted test list. Maps the changed code to nine attack surfaces and attaches OWASP ASVS 4.0.3 requirements, Top 10 2021 IDs and WSTG sections, only for surfaces the change touches.
89%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Deep reference for the attack-surface-test-checklist SKILL.md, Step 4. The Authentication surface is kept inline in SKILL.md as the worked example of the item shape; this file carries the other eight surfaces. Pull only the sections whose surface is active, and rewrite each item with the specific files, parameters, and endpoints recorded in Step 1.
Manual:
Secure attribute (ASVS 4.0.3 3.4.1), the HttpOnly attribute (3.4.2), and a SameSite attribute limiting cross-site request forgery exposure (3.4.3) (V3). Pair with WSTG 4.6.2 Testing for Cookies Attributes (WSTG 4.6).Automated:
Set-Cookie response headers for the changed endpoints in an integration test, so the attributes cannot silently regress.Manual:
Automated:
Manual:
Automated:
Manual:
JSON.parse is used and eval() is not (5.5.4).Automated:
pickle.loads, yaml.load without safe_load, and Java ObjectInputStream.Manual:
Automated:
Manual:
Content-Type. REST services must explicitly check the incoming content type is the expected one (13.2.5), and requests with unexpected or missing content types must be rejected with appropriate headers (13.1.5).Automated:
Manual:
Automated:
Math.random() in a security context.Manual:
localStorage, sessionStorage, IndexedDB, and cookies do not hold sensitive data (8.2.2).Automated: