hook-development

Warn

Audited by Socket on Aug 30, 2026

1 alert found:

Security
SecurityMEDIUM
references/advanced.md

No clear evidence of overt malware (e.g., reverse shells or obfuscated payloads) is present in the shown Bash hook fragment. However, the code creates significant supply-chain security concerns: (1) untrusted stdin is logged verbatim to a local audit file and persisted to a database, (2) it performs outbound communications (Slack webhook, UDP metrics) based on hook context, and (3) the database `psql -c` statement interpolates untrusted `$input` directly into SQL, creating a concrete SQL injection and sensitive-data persistence risk. Overall, this is security-sensitive hook code that should be reviewed for strict data minimization/redaction and parameterized database access, plus controlled outbound destinations.

Confidence: 62%Severity: 78%
Audit Metadata
Analyzed At
Aug 30, 2026, 02:57 PM
Package URL
pkg:socket/skills-sh/black12-ag%2Fclaude-skill%2Fhook-development%2F@f1d79011eecd4e2322d421d0b9d121fbcc1e166bc8021859365122fc966ee73a
Security Audit — socket — hook-development