tree-view

Warn

Audited by Socket on Sep 24, 2026

1 alert found:

Security
SecurityMEDIUM
cli.ts

The code is a directory-tree display utility, but its unquoted interpolation of DEPTH into execSync creates a command-injection vulnerability when DEPTH is attacker-controlled. Temporary-file creation also has a local race/symlink concern. No clear evidence of intentional malware or data exfiltration is present.

Confidence: 99%Severity: 76%
Audit Metadata
Analyzed At
Sep 24, 2026, 09:07 AM
Package URL
pkg:socket/skills-sh/dwsy%2Fagent%2Ftree-view%2F@ddac735cdbcb609a5bc81dc183e2fd866b8f89373c2104ffb825bf1bcc194f0f