duck-tape

Warn

Audited by Socket on Aug 18, 2026

3 alerts found:

Securityx2Anomaly
SecurityMEDIUM
hooks/claude-code.hooks.windows.json

This module configures an automated build/packaging lifecycle hook that runs a local PowerShell script via `powershell -File` using a runtime-resolved project path. While no explicit malicious payload is visible in the snippet, the ability to execute a local `.ps1` during `PreCompact`—without any shown integrity checks—creates a meaningful supply-chain/workflow compromise risk. Review and verify the exact `extract-state.ps1` contents and ensure the script path and directory cannot be tampered with before execution.

Confidence: 47%Severity: 72%
AnomalyLOW
hooks/claude-code.hooks.json

This configuration enables local shell script execution during a build/lifecycle phase. While the snippet itself shows no explicit malicious payload, it provides a high-leverage supply-chain execution path: bash will run extract-state.sh from a path determined by CLAUDE_PROJECT_DIR, with no shown validation or integrity checking. Review the actual extract-state.sh contents, verify file integrity/ownership, and ensure CLAUDE_PROJECT_DIR cannot be influenced by untrusted actors in the execution environment.

Confidence: 60%Severity: 68%
SecurityMEDIUM
hooks/copilot.hooks.json

This fragment itself is not malicious code, but it configures a high-impact preCompact lifecycle hook that executes local bash/PowerShell scripts from relative paths. Because the script contents are not provided, any potential data theft/exfiltration or system modification cannot be verified here; however, the arbitrary code execution at lifecycle time is a significant supply-chain security concern that warrants inspection/audit of extract-state.sh and extract-state.ps1 and any network/file/process behavior they perform.

Confidence: 62%Severity: 70%
Audit Metadata
Analyzed At
Aug 18, 2026, 03:19 PM
Package URL
pkg:socket/skills-sh/sprngr%2Frubber-duck%2Fduck-tape%2F@449cf47f8a73a4c71f9f2a4999fc85da8f72e92261bb776c94aae3451168dd2f
Security Audit — socket — duck-tape