create-agent-tui

Warn

Audited by Socket on Sep 14, 2026

6 alerts found:

Securityx2Anomalyx4
SecurityMEDIUM
references/modules.md

The fragment appears to implement intentional developer-facing CLI features rather than concealed malware. The explicit shell shortcut is a high-impact security risk because it executes arbitrary commands, and @file expansion can disclose local files to the agent/backend. These risks depend on who can provide CLI input and where agent messages are sent; they should be documented, restricted, or disabled in untrusted contexts. No evidence of covert malicious behavior is present in the shown code.

Confidence: 97%Severity: 82%
AnomalyLOW
references/server-entry-points.md

No clear malicious behavior or intentional supply-chain attack is present. This is readable server example code, not obfuscated malware. It has important operational security weaknesses: authentication is disabled unless AGENT_API_SECRET is configured, requests are not rate-limited or timed out, message schemas are weakly validated, and raw errors are exposed. It should not be exposed publicly without authentication, strict validation, rate/concurrency controls, request timeouts, and sanitized error handling.

Confidence: 98%Severity: 58%
AnomalyLOW
sample/src/tools/file-read.ts

The code is a straightforward filesystem-read tool with output truncation and pagination. It contains no apparent malicious behavior, obfuscation, credential harvesting, exfiltration, command execution, or file modification. If exposed to untrusted callers, unrestricted path access can disclose sensitive local files, and reading very large files before truncation can cause excessive memory use. Access should be restricted to an approved directory or mediated by authorization and file-size limits.

Confidence: 99%Severity: 62%
AnomalyLOW
sample/src/tools/file-edit.ts

The code implements a legitimate search-and-replace filesystem tool and contains no evident malware or covert data-exfiltration behavior. Its significant security risk is unrestricted read/write access based on caller-supplied paths. It should be constrained to an approved workspace, use authorization checks, and consider symlink and sensitive-file protections before exposure to untrusted tool inputs.

Confidence: 98%Severity: 63%
SecurityMEDIUM
sample/src/tools/shell.ts

This is a deliberate shell-execution tool rather than hidden malware. It is highly dangerous when exposed to untrusted users or model-generated commands because arbitrary input reaches a shell with the host process privileges, and command output is returned to the caller. Use only in a trusted, isolated sandbox with strong authorization, least privilege, filesystem/network restrictions, and preferably an allowlist of operations.

Confidence: 99%Severity: 95%
AnomalyLOW
sample/src/tools/file-write.ts

The code implements an ordinary filesystem-writing tool and shows no evidence of malware, data theft, persistence, or obfuscation. Its primary security concern is unrestricted caller-controlled filesystem access: a caller may create directories or overwrite any accessible file, including via relative or traversal paths because the schema does not enforce an absolute path or permitted directory. Access should be restricted to an approved root and existing-file overwrite policy should be considered.

Confidence: 98%Severity: 67%
Audit Metadata
Analyzed At
Sep 14, 2026, 06:58 PM
Package URL
pkg:socket/skills-sh/openrouterteam%2Fskills%2Fcreate-agent-tui%2F@959490c42a20dce3678c55245b3746b14d087b5296965aee88058649d5da77e6