ljagiello/ctf-skills / ctf-pwn
ctf-pwn
FlaggedProvides binary exploitation techniques for CTF challenges. Use when you already have a vulnerable native target or service and need to turn memory corruption or low-level primitives into code execution or privilege escalation, such as buffer overflows, format strings, heap bugs, ROP, ret2libc, shellcode, kernel exploitation, seccomp bypass, sandbox escape, or Windows/Linux exploit chains. Do not use it when the main blocker is understanding what the binary does; use reverse engineering first. Do not use it for pure web bugs, disk or packet forensics, or standalone crypto/math challenges.
Security report
FlaggedStatic analysis of one exact version. It reduces risk and shows evidence; it does not certify that a skill is safe.
- Commit
20d182d9377f0467830f314bb0f843cae4dbf55e- Content hash
d4ed1759808ca448b1802976ac2ee70f5fad8a4885e2aab7a1f9853a55791126- Scanned
- 2026-11-17
- Scanner version
- skillxone-scan-1.0.0
- Policy version
- 0.1-draft
- Decision
- 3 open critical or high findings.
- Verification expires
- Not applicable
Findings (1 critical, 2 high, 5 medium, 6 info)
The command gives a remote host interactive control of this machine (a reverse shell).
| `cat < /dev/tcp/127.0.0.1/1337` | The provided bash binary was compiled **without `--enable-net-redirections`**; `/dev/tcp` does not exist. |Suggested fix: Remove it.
The text tells the agent to disable safety checks, permission prompts or other safeguards.
**Key insight:** A single-bit-flip primitive becomes arbitrary code execution through cumulative modifications. Each flip changes one instruction or operand, and returning to the function start enables unlimited flips. Priority targets: (a…Suggested fix: Remove the instruction. If the task genuinely needs elevated permissions, say so plainly and let the user decide.
The command gives a remote host interactive control of this machine (a reverse shell). Severity lowered from critical because it appears in a quotation.
| [`bash`](bash.md) | 200 | x86-64 | glibc-2.23 | Partial RELRO, Canary, NX, No PIE | `logic-flaw`, `race-condition`, `command-injection` | Restricted interactive bash 4.3.0; `chmod o-x` on binaries; flag service on 127.0.0.1:1337. | Low-p…Suggested fix: Remove it.
The command gives a remote host interactive control of this machine (a reverse shell). Severity lowered from critical because the surrounding text warns against it.
rop += write_what_where(b'socat TCP-LISTEN:1337,reuseaddr,fork EXEC:"/bin/sh"\x00', BINSH)Suggested fix: Remove it.
The skill refers to system password files, a location that holds private data or credentials. Severity lowered from high because it appears in prose rather than code.
Find writable paths via character devices, target `/etc/passwd` or `/etc/sudoers`, modify permissions then content. See [sandbox-escape.md](sandbox-escape.md).Suggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
Files are made writable by every user on the machine.
echo 'chmod 777 /tmp/output' >> /tmp/evil.shSuggested fix: Grant only the permissions needed, for example 755 for a script or 644 for data.
The skill refers to system password files, a location that holds private data or credentials. Severity lowered from high because it appears in prose rather than code.
2. Target system files: `/etc/passwd`, `/etc/shadow`, `/etc/sudoers`Suggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
The skill refers to system password files, a location that holds private data or credentials. Severity lowered from high because it appears in prose rather than code.
**Key insight:** In restricted environments without sudo, look for custom character devices (`/dev/backdoor`) or writable system files. Any write primitive to `/etc/passwd` (remove root's password hash) or `/etc/sudoers` (add NOPASSWD entr…Suggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
The skill ships an executable script. Review it before allowing an agent to run it.
#!/usr/bin/env python3Suggested fix: None required. Informational.
The skill ships an executable script. Review it before allowing an agent to run it.
#!/usr/bin/env python3Suggested fix: None required. Informational.
The skill ships an executable script. Review it before allowing an agent to run it.
#!/usr/bin/env python3Suggested fix: None required. Informational.
The skill ships an executable script. Review it before allowing an agent to run it.
#!/usr/bin/env python3Suggested fix: None required. Informational.
The skill ships an executable script. Review it before allowing an agent to run it.
#!/usr/bin/env python3Suggested fix: None required. Informational.
SKILL.md pre-approves unrestricted shell access through `allowed-tools`, so the agent may run commands without asking.
allowed-tools: Bash Read Write Edit Glob Grep Task WebFetch WebSearchSuggested fix: Restrict the tool, for example `Bash(git status:*)`, or leave approval to the user.
Checks run
- prompt-injection
- dangerous-commands
- credentials
- network
- file-access
- integrity
Checks skipped
- dependencies: No dependency manifest in the skill directory.
- gitleaks: gitleaks is not installed on this host.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |