Security best practices and vulnerability prevention for Golang. Covers injection (SQL, command, XSS), cryptography, filesystem safety, network security, cookies, secrets management, memory safety, and logging. Apply when writing, reviewing, or auditing Go code for security, or when working on any risky code involving crypto, I/O, secrets management, user input handling, or authentication. Includes configuration of security tools.
88
85%
Does it follow best practices?
Impact
96%
1.39xAverage score across 3 eval scenarios
Passed
No known issues
Secure user authentication implementation
Memory-hard password hash
100%
100%
Cryptographic session token
100%
100%
Cookie HttpOnly flag
100%
100%
Cookie Secure flag
100%
100%
Cookie SameSite attribute
100%
100%
Secrets from environment
100%
100%
No PII in logs
100%
100%
Generic client error messages
100%
100%
HTTP server timeouts
100%
100%
Per-client rate limiting
100%
100%
Request body size limit
62%
100%
Security response headers
0%
100%
Safe file upload and ZIP extraction
os.Root for file access
0%
100%
ZipSlip prevention
100%
100%
Decompression size limit
100%
100%
Secure temp file creation
0%
100%
Temp file cleanup
0%
100%
Restrictive file permissions
0%
100%
exec.Command separate args
100%
100%
Filename validation before exec
100%
100%
Request body size limit
100%
37%
No internal paths in errors
100%
37%
Security audit methodology and threat modeling
STRIDE categories applied
0%
100%
DREAD severity scores
0%
100%
XXE vulnerability identified
0%
100%
SQL injection identified
100%
100%
Hardcoded secret identified
100%
100%
Error detail leakage identified
100%
100%
PII/log injection in logs identified
100%
100%
Severity adjustment for getCustomerByID
100%
100%
Inline security comment recommended
0%
100%
Data flow traced
100%
100%
HTTP server hardening identified
0%
100%
Findings report file produced
100%
100%
b88f91d
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.