project-init
Audited by Socket on Oct 11, 2026
3 alerts found:
Anomalyx2SecurityThe script appears intended for project scaffolding and detection, but scaffold has a command-injection flaw: an attacker-controlled skill_name can trigger shell expansion while writing SKILL.md. Use a quoted heredoc or safely escape the value before insertion. No evidence of intentional malware is present.
This configuration is highly permissive and presents a significant session-level security risk because it removes approval gates, grants unrestricted local access, and enables network activity. It is not itself malware and contains no direct malicious payload or data theft logic. The effective safety of destructive-command restrictions depends on the referenced external rule files, which were not provided.
The fragment is a broad tool-permission configuration, not malware or executable attack code. It grants highly privileged Bash, file-editing, web, and external MCP capabilities while denying a limited set of destructive commands. This creates a meaningful policy and misuse risk, especially if untrusted instructions can reach the assistant, but there is no evidence of malicious behavior in the fragment itself.