x-user-lookup
Fail
Audited by Gen Agent Trust Hub on Mar 10, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/lookup.shscript is vulnerable to argument injection. The$USERNAMEvariable, taken from user input, is interpolated directly into acurlcommand. An attacker can provide a payload with double quotes to inject additionalcurlflags, potentially hijacking the request or writing to local files. - [DATA_EXFILTRATION]: Leveraging the argument injection in
scripts/lookup.sh, an attacker could exfiltrate sensitive local files by injectingcurlflags like--data-binarypointed at local paths. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection. 1) Ingestion points: The skill fetches untrusted
descriptionandnamefields from X profiles viascripts/lookup.sh. 2) Boundary markers: No markers are used to isolate the API response. 3) Capability inventory: The agent has bash and network access. 4) Sanitization: The skill does not sanitize or validate the external data before returning it.
Recommendations
- AI detected serious security threats
Audit Metadata