create-locked-down-skill

Warn

Audited by Socket on Sep 23, 2026

1 alert found:

Security
SecurityMEDIUM
templates/claude/hooks/dir-jail.sh

This is a defensive directory-jail hook, not apparent malware, but it contains significant security flaws for a path-enforcement component. Symlink handling and the jail-prefix check can permit access outside the intended directory, and interpolation of an untrusted path into `python3 -c` can enable Python code injection. The implementation should use argument-safe canonicalization, resolve the complete target including symlinks, and enforce a path-boundary-aware containment check. Fail-open behavior when jq or jail resolution fails should also be reconsidered.

Confidence: 98%Severity: 88%
Audit Metadata
Analyzed At
Sep 23, 2026, 04:17 AM
Package URL
pkg:socket/skills-sh/codewithjv%2Fagent-skills%2Fcreate-locked-down-skill%2F@2ac8437beba158ebdf91a1ea401f0fa93b5564efaaf95db559ece9d5146a1d20