privesc-linpeas

Fail

Audited by Snyk on Jun 18, 2026

Risk Level: CRITICAL
Full Analysis

CRITICAL E006: Malicious code pattern detected in skill scripts.

  • Malicious code pattern detected (high risk: 1.00). This repository is a purpose-built post-exploitation privilege-escalation toolkit with explicit, actionable instructions for credential harvesting, remote code execution, persistence (cron/systemd/SUID/ passwd modification), container breakout (docker.sock, nsenter), evasion techniques (curl|sh, tmpfs, clearing history), and a runner that fetches and executes code from arbitrary URLs — all patterns that enable deliberate unauthorized compromise and backdoor behavior.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (high risk: 0.85). Outsider free text can be fetched at runtime from a public URL (--url defaulting to GitHub releases) via fetch_linpeas() and then executed/parsed by run_linpeas()/parse_output(), so LinPEAS output (attacker-controlled or tampered script content) becomes LLM-readable context through the runner’s generated findings/report text.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).


MEDIUM W013: Attempt to modify system services in skill instructions.

  • Attempt to modify system services in skill instructions detected (high risk: 1.00). The prompt explicitly instructs running privilege-escalation and post-exploitation actions that modify system state (e.g., checking and exploiting sudo/SUID, adding a root user if /etc/passwd is writable, modifying system files, kernel exploits, shell escape techniques and evasion), thereby guiding compromise of the host.

Issues (4)

E006
CRITICAL

Malicious code pattern detected in skill scripts.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
CRITICAL
Analyzed
Jun 18, 2026, 11:00 AM
Issues
4
Security Audit — snyk — privesc-linpeas