st-execute-task
Warn
Audited by Socket on Sep 8, 2026
1 alert found:
AnomalyAnomalyscripts/dispatch-task-execution.cjs
LOWAnomalyLOW
scripts/dispatch-task-execution.cjs
No direct malicious payload is visible in the provided fragment (no eval/Function, no obvious exfiltration or persistence). The main risk is architectural: this code spawns external executables (authentication + launch) using argv derived from workspace YAML configs, task markdown, decoded handoff data, and PATH-based executable resolution. If an attacker can influence those inputs (especially PATH or config.yaml) or the adapter registry via supply-chain, this module can become a high-impact execution primitive. Treat as security-sensitive and require strict integrity controls on config/adapters and a trusted execution environment.
Confidence: 66%Severity: 62%
Audit Metadata