skills/jyasuu/cheat-sheet/curl/Gen Agent Trust Hub

curl

Fail

Audited by Gen Agent Trust Hub on Mar 27, 2026

Risk Level: CRITICALREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONCREDENTIALS_UNSAFECOMMAND_EXECUTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill contains the instruction curl -fsSL https://example.com/install.sh | sh, which is a classic remote code execution pattern. This command fetches a script from an untrusted external source and pipes it directly into the shell for execution without any prior validation or human review.
  • [DATA_EXFILTRATION]: One example demonstrates the use of sensitive identity files: curl --ftp-ssl --user "test:test" -l sftp://example.com:22/ --key ./id_rsa --pubkey ./id_rsa.pub. Accessing private SSH keys (./id_rsa) is a high-risk operation that could lead to the exposure and theft of credentials.
  • [CREDENTIALS_UNSAFE]: Multiple examples incorporate hardcoded or placeholder authentication credentials, such as username:password, test:test, and PRIVATE-TOKEN: ?. These patterns promote insecure practices for handling secrets and tokens.
  • [COMMAND_EXECUTION]: The skill provides a variety of shell commands that perform network operations, file uploads (curl -T), and directory listings on remote servers. These commands provide a significant surface area for interacting with both the local environment and external networks.
Recommendations
  • HIGH: Downloads and executes remote code from: https://example.com/install.sh - DO NOT USE without thorough review
  • AI detected serious security threats
Audit Metadata
Risk Level
CRITICAL
Analyzed
Mar 27, 2026, 06:51 PM
Security Audit — agent-trust-hub — curl