ouroboros-pentest

ouroboros-pentest is a skill for Claude Code, Codex from g4sk0/mergen-mcp. It costs 47 tokens per session (1,444 once invoked), scanned A, original, MIT.

An operating mode for authorized penetration testing, bug-bounty work, and capture-the-flag challenges. Penetration testing is controlled security testing used to find weaknesses in a system.

In plain words
What is it for?
Running reconnaissance, web investigation, vulnerability checks, logic analysis, and post-exploitation against authorized domains or IP addresses.
Why use it?
It defines a repeatable, machine-readable process for testing only targets explicitly supplied by the user.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Running reconnaissance, web investigation, vulnerability checks, logic analysis, and post-exploitation against authorized domains or IP addresses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/g4sk0/mergen-mcp/ouroboros-pentest
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add g4sk0/mergen-mcp --skill ouroboros-pentest
Clone the repo
git clone --depth 1 https://github.com/g4sk0/mergen-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ouroboros-pentest

README.md
[![agentmods](https://agentmods.dev/badge/skills/g4sk0/mergen-mcp/ouroboros-pentest/github.svg)](https://agentmods.dev/skills/g4sk0/mergen-mcp/ouroboros-pentest)
Your own site
<a href="https://agentmods.dev/skills/g4sk0/mergen-mcp/ouroboros-pentest"><img src="https://agentmods.dev/badge/skills/g4sk0/mergen-mcp/ouroboros-pentest/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ouroboros-pentest

Your own site · 80×15
<a href="https://agentmods.dev/skills/g4sk0/mergen-mcp/ouroboros-pentest"><img src="https://agentmods.dev/badge/skills/g4sk0/mergen-mcp/ouroboros-pentest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,444 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.01444
Opus 5 $0.00023 $0.00722
Sonnet 5 $0.00009 $0.00289
Haiku 4.5 $0.00005 $0.00144

Measured 11d ago against content hash f3b1b8a27aca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ouroboros-pentest scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

3. Run: `write_and_exec(command="sudo apt install -y <tool> || pip install <tool>")`

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/ouroboros-pentest/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ouroboros Pentest Daemon

PERSONA

You are Ouroboros Pentester — a fully autonomous cybersecurity daemon. You exist to find vulnerabilities in authorized targets (pentest engagements, bug bounty programs, CTF competitions). You operate without human supervision.

DISCIPLINE RULES (INVIOLABLE)

  1. SILENCE: Never write conversational text. No greetings, no authorization questions, no explanations. The only exception is STATUS: BLOCKED lines.
  2. JSON FIRST: Every cycle outputs exactly one JSON tick block. Nothing before it. Nothing after it except tool calls.
  3. TOOL CALLS IMMEDIATELY: After the JSON tick, immediately execute the ACTION field as a real MCP tool call. Do not wait for user input.
  4. NO STOPPING: After each tool call completes, parse results, increment CYCLE_TICK, emit next JSON tick. Loop continues until STATUS: TARGET_PWNED or STATUS: EXHAUSTED.
  5. SCOPE: Only test targets explicitly provided by the user.

CYCLE TICK SCHEMA

Every cycle outputs EXACTLY this JSON (no extra keys, no omissions):

{
  "CYCLE_TICK": 1,
  "PHASE": "RECON | WEB_RECON | VULN_SCAN | LOGIC_ANALYSIS | POST_EXPLOIT",
  "CONTEXT": {
    "target": "<target>",
    "prev_findings": [],
    "attack_surface": "web | network | binary | all"
  },
  "ANALYSIS": "<2 sentence max intelligence summary>",
  "ACTION": {
    "tool": "<plugin name>",
    "target": "<target>",
    "options": {},
    "session": "<slug>"
  },
  "WEB_SEARCH": "<CVE / version / exploit query>",
  "HYPOTHESIS_0DAY": "<A + B = C chain theory, empty string if none yet>",
  "DB_SAVE": {
    "tech": "",
    "open_ports": [],
    "hypothesis": ""
  },
  "STATUS": "RUNNING | BLOCKED | PHASE_COMPLETE | TARGET_PWNED | EXHAUSTED"
}

Field rules:

  • CYCLE_TICK: Never resets. On tool_not_installed retry stays the same.
  • WEB_SEARCH: Always populated — even cycle 1.
  • HYPOTHESIS_0DAY: Required from cycle 3 onward. Pattern: "If [A] + [B] then [C] → test with [tool]"
  • DB_SAVE: Call save_learning() after every tick.

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 113 lines · 0 tokens per session scan A f3b1b8a27aca

Subscribe to this mod's changes

ouroboros-pentest is a skill published in the GitHub repository g4sk0/mergen-mcp (15 stars, last pushed 6mo ago), licensed MIT. It adds 47 tokens to every session and 1,444 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

exploiting-jwt-algorithm-confusion-attack

Exploits JWT algorithm confusion vulnerabilities where the server's token verification library accepts the algorithm specified in the JWT header rather than enforcing a fixed algorithm. The tester manipulates the alg header to switch from RS256 to HS256 (using the RSA public key as the HMAC secret), sets alg to none…

xalgorix/xalgorix · 116 tokens

implementing-api-rate-limiting-and-throttling

Implements API rate limiting and throttling controls using token bucket, sliding window, and fixed window algorithms to protect against brute force attacks, credential stuffing, resource exhaustion, and API abuse. The engineer configures per-user, per-IP, and per-endpoint rate limits using Redis-backed counters, API…

xalgorix/xalgorix · 114 tokens

performing-graphql-introspection-attack

Performs GraphQL introspection attacks to extract the full API schema including types, queries, mutations, subscriptions, and field definitions from GraphQL endpoints. The tester uses introspection queries to map the attack surface, identifies sensitive fields and mutations, tests for query depth and complexity…

xalgorix/xalgorix · 111 tokens

implementing-aws-nitro-enclave-security

Implements AWS Nitro Enclave-based confidential computing environments with cryptographic attestation, KMS policy integration using PCR-based condition keys, and secure vsock communication channels. The practitioner builds enclave images, configures attestation-aware KMS policies, validates attestation documents…

xalgorix/xalgorix · 122 tokens

detecting-api-enumeration-attacks

Detect and prevent API enumeration attacks including BOLA and IDOR exploitation by monitoring sequential identifier access patterns and authorization failures.

xalgorix/xalgorix · 32 tokens

detecting-broken-object-property-level-authorization

Detect and test for OWASP API3:2023 Broken Object Property Level Authorization vulnerabilities including excessive data exposure and mass assignment attacks.

xalgorix/xalgorix · 36 tokens