agent-capability-analyzer
Audited by Socket on Mar 29, 2026
1 alert found:
AnomalyNo explicit malware behavior (network exfiltration, persistence, credential theft, or obfuscated backdoor logic) is visible in this snippet. However, the code establishes a sensitive trust boundary by reading local file contents (descriptions from markdown files) and passing them directly as a '--description' command-line argument to an external Node update script executed via execFileSync. The overall risk is driven less by this snippet’s direct actions and more by what UPDATE_SCRIPT and the helper functions (readDescription/resolvePluginAgentPath) do with that data. Additionally, hardcoded absolute user-specific directories are unusual and increase the importance of verifying file integrity/writability. Review/updateAgentMap’s downstream script and the file-resolution/read logic to ensure strict input validation and safe handling of the description argument.