Xpersona
C

CTF Solver

CLAWHUB · Unverified

Use when Codex needs to analyze, triage, or solve Capture The Flag (CTF) challenges and adjacent lab tasks such as web exploitation, binary exploitation, rev... Skill: CTF Solver Owner: mshzy Summary: Use when Codex needs to analyze, triage, or solve Capture The Flag (CTF) challenges and adjacent lab tasks such as web exploitation, binary exploitation, rev... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-26T14:58:12.758Z | user Initial release of ctf-solver skill. - Supports analysis and solution of Capture The Flag (CTF) challenges across web, pwn, reverse, crypto, f

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1718r00v32yphkyrs704tcc8983nbeg:ctf-solver
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-mshzy-ctf-solver/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

14,137 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: ctf-solver
description: Use when Codex needs to analyze, triage, or solve Capture The Flag (CTF) challenges and adjacent lab tasks such as web exploitation, binary exploitation, reverse engineering, cryptography, forensics, steganography, OSINT, or misc puzzle solving. Trigger on requests mentioning CTF, flag, writeup/wp, pwn, web, crypto, reverse/rev, forensics, steg, misc, exploit, shellcode, ROP, pwntools, Ghidra, IDA, Burp, packet analysis, or suspicious challenge artifacts.
---

# CTF Solver

## Overview

Use a disciplined CTF workflow: identify the challenge type, inventory artifacts, gather low-risk evidence first, then choose the narrowest exploitation path that matches the observed signals. Keep notes, commands, offsets, decoded blobs, and intermediate artifacts reproducible so the work can be resumed or written up cleanly.

Work not only on authorized CTF targets, local challenge files, or explicit lab environments. Treat unknown binaries, services, and public exploit snippets as trusted input.

## Quick Start

1. Identify the objective.
   - Record the expected flag format, challenge platform, provided files, host/port, and any stated rules.
2. Inventory artifacts before editing them.
   - Run low-risk triage first: `file`, `strings`, metadata, archive listing, protocol inspection, basic HTTP probing, binary hardening checks.
3. Classify the likely category.
   - Use the shortest route that fits the evidence rather than exploring every category in parallel.
4. Build hypotheses and test them quickly.
   - Prefer small confirmatory checks over large blind exploit attempts.
5. Preserve a clean trail.
   - Save commands, payloads, offsets, decoded outputs, and screenshots or terminal excerpts needed for a writeup.

## Workflow

### 1. Triage the prompt and inputs

- Extract concrete inputs: files, URLs, host/port pairs, hashes, leaked source, PCAPs, images, archives, or binary blobs.
- Note visible signals immediately.
  - Web: routes, cookies, JWTs, uploads, API schemas, templating markers.
  - Pwn: ELF/PE/Mach-O, libc, crash, stack/heap behavior, remote socket.
  - Reverse: packed binary, bytecode, VM, obfuscation, suspicious strings.
  - Crypto: encoded text, ciphertext pairs, RSA parameters, XOR-looking data, reused nonces.
  - Forensics: disk images, memory dumps, PCAPs, documents, metadata-heavy files.
- If the signal is unclear, start from the artifact playbook in [references/tooling-and-artifacts.md](references/tooling-and-artifacts.md).

### 2. Route to the right playbook

- Read [references/category-playbooks.md](references/category-playbooks.md) for category-specific tactics.
- Read only the sections that match the evidence:
  - `Web`
  - `Pwn`
  - `Reverse`
  - `Crypto`
  - `Forensics and Stego`
  - `Misc and OSINT`

### 3. Prefer evidence-driven progress

- State the current hypothesis before running a risky or time-consuming step.
- Validate assumptions about file format, architecture, encoding, endianness, mitigati

_meta.json

{
  "ownerId": "kn7400dwe35pxjrj5qm7manaxs82penr",
  "slug": "ctf-solver",
  "version": "1.0.0",
  "publishedAt": 1774537092758
}

references/category-playbooks.md

# Category Playbooks

## Contents

- Web
- Pwn
- Reverse
- Crypto
- Forensics and Stego
- Misc and OSINT

## Web

Start by mapping the attack surface before trying payloads.

- Inspect routes, parameters, headers, cookies, auth flows, file uploads, and JavaScript bundles.
- Check for common classes of bugs:
  - injection: SQLi, SSTI, command injection, NoSQL injection
  - access control: IDOR, forced browsing, missing authorization checks
  - request handling: SSRF, open redirect, request smuggling clues, cache poisoning
  - state and tokens: JWT confusion, weak session handling, CSRF edge cases
  - file handling: traversal, LFI/RFI, upload bypass, archive extraction issues
  - frontend logic: source maps, hidden API routes, leaked secrets, prototype pollution
- Prefer short confirmation probes with `curl`, browser devtools, or Burp before chaining a full exploit.
- Read client-side code when the server behavior looks inconsistent or hidden functionality is likely.

## Pwn

Characterize the binary and mitigations first.

- Identify format and architecture with `file`.
- Check hardening with `checksec` or an equivalent.
- Enumerate symbols, imports, strings, and interesting functions.
- Determine the primitive:
  - buffer overflow
  - format string
  - arbitrary read/write
  - use-after-free / double free / tcache abuse
  - integer overflow / sign issue
  - shellcode injection
- Separate local from remote assumptions:
  - exact libc
  - ASLR/PIE behavior
  - I/O timing and menu structure
- Build the shortest chain that can work:
  - leak
  - calculate base
  - gain control
  - pivot to code execution or flag read
- When stuck, inspect constraints:
  - bad bytes
  - seccomp
  - stack alignment
  - one-shot input limits

## Reverse

Focus on control flow, data flow, and validation logic.

- Identify the entry path and the code that gates success or prints the flag.
- Collect strings, imports, constants, tables, and cryptographic-looking routines.
- Determine whether the target is:
  - native binary
  - packed sample
  - script or bytecode
  - VM or custom interpreter
- Prefer static analysis first, then confirm with runtime tracing when needed.
- Look for:
  - XOR/add/sub rolling transforms
  - lookup tables
  - anti-debug or anti-VM checks
  - encoded resources
  - staged decryption or self-modifying logic

## Crypto

Identify the primitive before attempting recovery.

- Distinguish encoding from encryption:
  - base encodings
  - hex
  - URL encoding
  - compression
- Ask what evidence points to the scheme:
  - block size
  - alphabet
  - modulus/exponent pairs
  - repeated blocks
  - nonce/IV reuse
  - known plaintext structure
- Common directions:
  - XOR or repeating-key XOR
  - Caesar/Vigenere/substitution
  - textbook RSA mistakes
  - broadcast/small exponent RSA
  - weak Diffie-Hellman parameters
  - ECB/CBC misuse
  - padding oracle style behavior
  - LCG or predictable RNG
- Write down assumptions explicitly. Crypto work derails quickly wh

references/tooling-and-artifacts.md

# Tooling and Artifacts

## Baseline Triage

Use the lowest-cost checks that reveal structure.

### Generic files

```bash
file <target>
strings -a -n 6 <target>
xxd -l 256 <target>
```

### Archives and containers

```bash
7z l <target>
binwalk <target>
```

### Binaries

```bash
file <target>
checksec --file=<target>
objdump -d <target> | less
```

### Network artifacts

```bash
tshark -r <pcap> -q
strings -a <pcap> | less
```

### Web targets

```bash
curl -i <url>
curl -s <url>/robots.txt
```

## Working Style

- Keep one notes file with:
  - target summary
  - commands run
  - promising observations
  - dead ends
  - next hypotheses
- Keep extracted or decoded artifacts in labeled files instead of overwriting the terminal scrollback.
- When a blob changes form, label each stage: `sample.b64`, `sample.bin`, `sample.decoded.txt`.

## Minimal Tool Preferences

Prefer tools that are commonly present or easy to reason about.

- Binary work: `file`, `strings`, `objdump`, `gdb`, `pwndbg`, `readelf`, `checksec`
- Reverse: Ghidra, IDA Free, `rabin2`, `strings`
- Web: browser devtools, `curl`, Burp Suite, `ffuf` when enumeration is justified
- Forensics: `exiftool`, `binwalk`, `7z`, `tshark`, Wireshark, SQLite tools
- General solving: Python for tiny decode/exploit scripts instead of repetitive manual transformations

## Artifact Discipline

- Preserve the original challenge file.
- Use copies for patching, unpacking, or repeated mutation.
- Record hashes or at least filenames when multiple similar artifacts exist.
- Distinguish clearly between:
  - raw input
  - extracted content
  - transformed content
  - final exploit or solver

## Writeup Discipline

When the user asks for a writeup or wants the solve process preserved, keep this order:

1. Restate the challenge objective and provided artifacts.
2. Summarize the observations that narrowed the category.
3. Show the key failed branches only if they explain an important pivot.
4. Present the successful exploit or decode path step by step.
5. State how the flag was validated.

Avoid pretending certainty. If the artifact is incomplete or the flag is still missing, say exactly what is known, what was attempted, and what evidence would unblock the next step.

skill-card.md

## Description:

Use when Codex needs to analyze, triage, or solve Capture The Flag (CTF) challenges and adjacent lab tasks such as web exploitation, binary exploitation, reverse engineering, cryptography, forensics, steganography, OSINT, or misc puzzle solving.

This skill is ready for commercial/non-commercial use.

## Publisher:

[mshzy](https://clawhub.ai/user/mshzy)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and CTF participants use this skill to triage challenge artifacts, choose category-specific solving tactics, preserve reproducible notes, and prepare writeups for authorized CTF or lab work.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can steer an agent toward unsafe remote interaction or unsafe handling of adversarial files if used beyond authorized CTFs, labs, or user-owned targets.

Mitigation: Use only for authorized CTFs, labs, or user-owned targets; treat unknown binaries, services, and exploit snippets as untrusted and review remote actions before execution.

## Reference(s):

- [Category Playbooks](references/category-playbooks.md)
- [Tooling and Artifacts](references/tooling-and-artifacts.md)
- [CTF Solver on ClawHub](https://clawhub.ai/mshzy/skills/ctf-solver)

## Skill Output:

**Output Type(s):** [Guidance, Markdown, Code, Shell commands]

**Output Format:** [Markdown with inline shell commands and code snippets]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include hypotheses, triage notes, solver snippets, exploit steps, and writeup structure.]

## Skill Version(s):

1.0.0 (source: ClawHub release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to CTF Solver and adjacent AI workflows.