agent-builder

Warn

Audited by Socket on Sep 16, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
references/tool-templates.py

The code is not itself malware based on the supplied fragment, but it implements a privileged local automation interface. Its primary security risk is intentional arbitrary shell execution via shell=True combined with a weak blacklist, plus unrestricted workspace file modification. It should only receive trusted commands and arguments, or be redesigned using argument-list subprocess calls, strict command allowlists, and stronger authorization. The provided code also fails to parse because TASK_TOOL_TEMPLATE has no value.

Confidence: 98%Severity: 82%
AnomalyLOW
references/minimal-agent.py

No direct malware or explicit data theft is evident in the supplied fragment. It is an agent framework that sends prompts, working-directory information, and tool results to Anthropic and delegates model-controlled actions to an unspecified execute_tool function. If that function permits unrestricted shell, filesystem, or network operations, the design presents a significant command-execution and data-exposure risk. Review and restrict TOOLS and execute_tool before use; the incomplete syntax also requires correction.

Confidence: 94%Severity: 68%
Audit Metadata
Analyzed At
Sep 16, 2026, 02:47 AM
Package URL
pkg:socket/skills-sh/shareai-lab%2Flearn-claude-code%2Fagent-builder%2F@0544f44eac3ac29a8b12b9d4e77ee6267610980fa2862fc5337ecea80dd9fc1e