triage

Warn

Audited by Socket on Aug 16, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/context-verify.mjs

The fragment’s primary risk is direct synchronous OS command execution via `execSync` using a command string derived from externally influenced configuration/environment inputs, with no visible allowlist or sanitization. If an attacker can control either the provided value or the environment variable, this becomes a command injection/RCE vector in the repository context. Additionally, error messages are serialized into the JSON output, which may leak sensitive execution details in failure scenarios. No explicit malicious payload or exfiltration behavior is evident from this snippet alone.

Confidence: 62%Severity: 72%
Audit Metadata
Analyzed At
Aug 16, 2026, 01:31 PM
Package URL
pkg:socket/skills-sh/printpractical%2Fagent-toolkit%2Ftriage%2F@114f4b769845702e5f7506da486a3a77058d4146e5613bb5260979e46e4e569e
Security Audit — socket — triage