privesc-linpeas
Fail
Audited by Gen Agent Trust Hub on Jun 18, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill employs a highly dangerous execution pattern in
SKILL.mdby downloading an external shell script and piping it directly into a shell interpreter (curl -L ... | sh). This allows for unverified code execution from a remote source.\n- [COMMAND_EXECUTION]: The scriptscripts/linpeas_runner.pyusessubprocess.Popento execute the downloadedlinpeas.shscript. While it uses a list for arguments, the underlying action executes a downloaded script from an untrusted external source.\n- [EXTERNAL_DOWNLOADS]: The skill fetches executable content from a source flagged as malicious by reputation scanners (https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh) usingurllib.request.urlretrieve.\n- [DATA_EXFILTRATION]: The skill contains logic and instructions to search for and expose highly sensitive files, including SSH private keys (id_rsa,id_ecdsa), cloud credentials (.aws/credentials), and password hashes (/etc/shadow). This represents a high-severity data exposure risk.\n- [PROMPT_INJECTION]: Indirect prompt injection surface detected. 1. Ingestion points:scripts/linpeas_runner.pyprocesses raw stdout from a shell script running on an external target host. 2. Boundary markers: None identified; output is processed directly after ANSI stripping. 3. Capability inventory: Subprocess execution and network requests. 4. Sanitization: None; the output is parsed via regex but not sanitized for embedded instructions that could manipulate agent behavior.\n- [COMMAND_EXECUTION]: The filereferences/privesc_vectors.mdprovides explicit payloads for privilege escalation, such as SUID binary exploitation (find . -exec /bin/bash -p \;) and sudo misconfiguration abuse, which are designed to bypass system security controls.
Recommendations
- HIGH: Downloads and executes remote code from: https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh - DO NOT USE without thorough review
- CRITICAL: 1 infected file(s) detected - DO NOT USE
- AI detected serious security threats
- Contains 1 malicious URL(s) - DO NOT USE
Audit Metadata