Security Audit

SkillSecurity

Use when asked to audit or harden security in this repo — e.g. "security audit", "auditoría de seguridad", "revisa la seguridad", "is this secure", "hardening", "vulnerabilities". Audits code, config, workflows, and secrets exposure. Covers injection, secrets, TLS, untrusted input, dependency risk,

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Security Audit skill

What this skill tells your AI

The instructions your AI receives, as published by sazardev/networking-with-go in .opencode/skills/audit-security/SKILL.md and read by ahel’s review.

Is this safe?


When To Run

  • Before deploy
  • After adding auth/credentials
  • New endpoints
  • External inputs

What To Check

1. Credentials

# Hardcoded secrets?
grep -rn "sk-\|api_key\|password\|secret" . --include="*.js"
grep -rn "Bearer\|Token" . --include="*.js"
CheckIssueFix
Hardcoded API keyHIGHUse env var
Password in codeHIGHUse env
Token in logsMEDIUMRedact

2. Inputs

// Never trust user input
req.params.id
req.body.data
query.string
CheckIssueFix
SQL from inputHIGHParameterize
Eval inputHIGHRemove eval
Shell from inputHIGHNo shell
File from inputHIGHValidate path

3. Auth

// Check auth exists
function protected() {
  if (!req.user) return error
  // Good
}
CheckIssueFix
No auth checkHIGHAdd auth
Auth bypassedHIGHFix
Weak authMEDIUMStrengthen

4. Network

CheckIssue
HTTP not HTTPSUse HTTPS
Credentials in URLHeaders only
No CORSSet CORS

5. Filesystem

// Check file access
fs.readFile(userPath)
CheckIssueFix
Path traversalHIGHSanitize
Read any fileHIGHValidate
Write anywhereHIGHRestrict

Output

## Security Audit - [file]

### Credentials
- [PASS/FAIL] Hardcoded keys: [details]

### Inputs
- [PASS/FAIL] SQL injection: [details]

### Auth
- [PASS/FAIL] Protected: [details]

### Summary
| Severity | Count |
|----------|-------|
| HIGH     | 0     |
| MEDIUM   | 0     |
| LOW     | 0     |

Severity

SeverityMeaning
HIGHExploit - fix now
MEDIUMRisk - fix soon
LOWNote - fix Optional

Role: Security Auditor Input: Code to review Output: Issues found

Signals

GitHub stars
58
Forks
10
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
audit-security
Source
github.com/sazardev/networking-with-go