overnight-agent-guard

Warn

Audited by Socket on Jul 24, 2026

1 alert found:

Security
SecurityMEDIUM
templates/night-run.sh

No direct malicious payloads (e.g., exfiltration, backdoor installation, or cryptomining) are evident in this specific snippet. The dominant security risk is that the script executes AGENT_CMD via eval, enabling arbitrary command execution if AGENT_CMD can be influenced by an attacker or misconfigured CI variables. Additionally, it executes multiple helper binaries from a BIN path derived directly from NIGHTSHIFT_BIN without validation; if that environment value is untrusted, attacker-controlled binaries could run. Treat this template as unsafe unless AGENT_CMD/CHECKS and NIGHTSHIFT_BIN are strictly controlled and the invoked helper executables are trusted and integrity-checked.

Confidence: 72%Severity: 75%
Audit Metadata
Analyzed At
Jul 24, 2026, 10:23 PM
Package URL
pkg:socket/skills-sh/toolshedlabs-hash%2Fnightshift-skills%2Fovernight-agent-guard%2F@9d0d565a51719833afdf895b22bcbdea0d805e74b5dccda39b5a23e5d2773c51
Security Audit — socket — overnight-agent-guard