brainstorming
Warn
Audited by Socket on Jun 30, 2026
1 alert found:
AnomalyAnomalyscripts/server.cjs
LOWAnomalyLOW
scripts/server.cjs
No clear evidence of classic malware behaviors like exfiltration, cryptomining, or backdoor persistence is present in the shown fragment. However, there is a high-risk capability for host-level command execution via cp.exec(process.env.BRAINSTORM_OPEN_CMD ...) (environment-controlled shell command). Additionally, the token is included in a plain HTTP query string and the server injects helperInjection into served HTML. Overall, while the code looks like a local dev/control server, the command-execution feature and token handling present meaningful supply-chain/security concerns.
Confidence: 72%Severity: 62%
Audit Metadata