Linux Privilege Escalation
ListedThis skill simulates Linux privilege escalation techniques for security testing and training, aiding in vulnerability identification.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
Linux Privilege Escalation, not the name it is listed under, so the command below uses that name.- 1
Run this in your project
terminal$ npx skills add xfstudio/skills --skill "Linux Privilege Escalation" -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
xfstudio
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No pipe-to-shell installers: failed
Runs code fetched at install time in 1 place.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
What it found
- linux-privilege-escalation/SKILL.md:144remote script piped into a shell
curl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh | sh
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Only contacts known or declared hosts: github.com.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
github.comsource hostNo obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
Pinned to a commit: passed
Scanned xfstudio/skills at 1bf6044db2.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 1bf6044db2
- Scanned
- 1 file, 449 lines
About this skill
What it does
This skill allows an AI agent to identify and execute privilege escalation techniques on a Linux system. It can analyze user permissions, check for exploitable binaries with SUID or SGID bits set, and attempt to gain root access based on identified vulnerabilities. The skill aims to automate the process of finding and exploiting common privilege escalation paths.
When to use it
- Security Audits: To simulate an attacker's perspective and identify potential weaknesses in a Linux system’s security posture.
- Penetration Testing: As part of a broader penetration testing engagement, to escalate privileges after initial access has been gained.
- Vulnerability Research: To test newly discovered exploits or techniques against a controlled environment.
- Security Training: To demonstrate and practice privilege escalation methodologies in a safe learning setting.
Key capabilities
- SUID/SGID binary detection
- Permission analysis
- Exploitation of common privilege escalation vulnerabilities
- Root access attempt
Example prompts
- "Can you find any potential privilege escalation paths on this system?"
- "Identify binaries with the SUID bit set and assess their exploitability."
- "Attempt to escalate my privileges to root, reporting all steps taken."
Tips & gotchas
- Requires a Linux environment for execution.
- The skill's success depends on the presence of exploitable vulnerabilities within the target system.