Linux Privilege Escalation
79 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a coding skill usually runs build and test commands.
This skill should be used when the user asks to "escalate privileges on Linux", "find privesc vectors on Linux systems", "exploit sudo misconfigurations", "abuse SUID binaries", "exploit cron jobs for root access", "enumerate Linux systems for privilege escalation", or "gain root access from low-privilege shell". It provides comprehensive techniques for identifying and exploiting privilege escalation paths on Linux systems.
What this skill can do
Runs commands on your computer
Downloads and installs other software
Sends data to these websites: github.com, attacker_ip
Safer alternatives
- 97 Low riskprivilege-escalation-methods
- 97 Low riskPrivilege Escalation Methods
- 97 Low riskwindows-privilege-escalation
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'linux-privilege-escalation' ] || [ -L ~/.agents/skills/'linux-privilege-escalation' ]; then echo 'A skill folder named linux-privilege-escalation already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/davila7/claude-code-templates' "$d" && git -C "$d" checkout --quiet 'a6e6f93e9a4baaa6ff337aee5505bf5c2bae4ce6' -- 'cli-tool/components/skills/security/linux-privilege-escalation' && mkdir -p ~/.agents/skills && cp -R "$d"/'cli-tool/components/skills/security/linux-privilege-escalation' ~/.agents/skills/'linux-privilege-escalation' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'linux-privilege-escalation' ~/.claude/skills/'linux-privilege-escalation' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/davila7/claude-code-templates/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-10 | a6e6f93 | 79 |
| 2026-11-08 | b086f26 | 79 |
| 2026-11-07 | 395f30e | 79 |
Also found in
- Dicklesworthstone/pi_agent_rust/tests/ext_conformance/artifacts/templates-davila7/cli-tool/components/skills/security/linux-privilege-escalation