agent-desk
Audited by Socket on Aug 24, 2026
1 alert found:
AnomalyNo direct evidence of malware, credential theft, or data exfiltration is present in the shown fragment; the content appears consistent with a planning/session automation harness. The primary security concern is the repeated use of scripts/browser.js exec eval to execute dynamically constructed code strings that invoke agentAPI methods in a browser/automation context. If any eval string components can be influenced by remote page state, persisted session content, or placeholder substitution, it could enable arbitrary code execution and misuse of the agentAPI’s state-changing capabilities. Review scripts/browser.js and the agentAPI bridge for strict control of eval inputs and robust input validation/sanitization; otherwise treat this pattern as a security alert.