curl-http
Fail
Audited by Gen Agent Trust Hub on Sep 26, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: Automated scans flagged a command in
SKILL.mdinvolvingcurlpiped topython3. Investigation confirms this is a false positive; the full commandcurl -s https://api.example.com/data | python3 -m json.toolinvokes a built-in Python module to pretty-print JSON responses and does not execute the fetched data as a script. - [INDIRECT_PROMPT_INJECTION]: The provided helper scripts (
scripts/api-tester.shandscripts/http-debug.sh) accept user-provided strings for URLs, methods, and data, which are then used in shell commands. - Ingestion points: Script arguments such as
$url,$method, and$datapassed to bash functions. - Boundary markers: Absent; the skill does not include instructions or logic to validate the safety of these inputs.
- Capability inventory: Subprocess execution of
curl,jq, anddigfor network and data operations. - Sanitization: The scripts utilize double quotes around variables, which offers basic protection against simple whitespace-based shell injection but does not prevent more advanced injection techniques if the agent provides malicious input.
Recommendations
- HIGH: Downloads and executes remote code from: https://api.example.com/data - DO NOT USE without thorough review
Audit Metadata