new-workspace
Fail
Audited by Gen Agent Trust Hub on Jul 29, 2026
Risk Level: HIGHDATA_EXFILTRATIONCOMMAND_EXECUTION
Full Analysis
- [DATA_EXFILTRATION]: The skill reads personal data including OS, locale, timezone, currency, and user identity facts from
~/.claude/CLAUDE.mdand embeds them into a new workspace'sCLAUDE.mdfile. It then executesgh repo create <workspace-name> --public --source=. --pushby default in Step 7, which exfiltrates these gathered identity facts to a public repository on a remote server. - [COMMAND_EXECUTION]: The skill takes unvalidated input from
$ARGUMENTS(such as the workspace name and parent path) and interpolates them directly into shell commands. * Evidence: Step 4 and Step 7 use these arguments inmkdir -p <target-parent>/<workspace-name>andgh repo create <workspace-name>. * Lack of Sanitization: The procedure does not specify any validation or escaping of the user-provided arguments before they are passed to the Bash tool, allowing for command injection via shell metacharacters (e.g., using a semicolon to chain malicious commands). - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it processes untrusted data from
$ARGUMENTSand performs sensitive operations. * Ingestion points:$ARGUMENTSinSKILL.md. * Boundary markers: None present to distinguish between user data and system instructions. * Capability inventory: Bash tool for directory creation, file copying, and GitHub repository management. * Sanitization: None; inputs are used directly in shell execution logic.
Recommendations
- AI detected serious security threats
Audit Metadata