offensive-basic-exploitation

offensive-basic-exploitation is a skill for Claude Code, Codex from Miosa-osa/OSA. It costs 65 tokens per session (671 once invoked), scanned A, original, Apache-2.0.

A beginner-level guide to exploit development, the practice of creating inputs that trigger a software vulnerability. It covers classic memory-corruption techniques and common protections such as ASLR, which randomizes memory locations.

In plain words
What is it for?
Use it for an exploit-development course, analyzing memory-corruption flaws, building test demonstrations, and learning how common exploit protections work.
Why use it?
It helps authorized researchers understand how memory-safety bugs can become working proof-of-concept attacks and how defenses affect them.

Skill for Claude CodeCodex

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

Good fit Use it for an exploit-development course, analyzing memory-corruption flaws, building test demonstrations, and learning how common exploit protections work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/miosa-osa/osa/offensive-basic-exploitation
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 Miosa-osa/OSA --skill offensive-basic-exploitation
Clone the repo
git clone --depth 1 https://github.com/Miosa-osa/OSA

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 offensive-basic-exploitation

README.md
[![agentmods](https://agentmods.dev/badge/skills/miosa-osa/osa/offensive-basic-exploitation/github.svg)](https://agentmods.dev/skills/miosa-osa/osa/offensive-basic-exploitation)
Your own site
<a href="https://agentmods.dev/skills/miosa-osa/osa/offensive-basic-exploitation"><img src="https://agentmods.dev/badge/skills/miosa-osa/osa/offensive-basic-exploitation/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 offensive-basic-exploitation

Your own site · 80×15
<a href="https://agentmods.dev/skills/miosa-osa/osa/offensive-basic-exploitation"><img src="https://agentmods.dev/badge/skills/miosa-osa/osa/offensive-basic-exploitation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 671 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00065 $0.00671
Opus 5.5 $0.00026 $0.00268
Sonnet 5.5 $0.00013 $0.00134
Haiku 4.5 $0.00006 $0.00067

Measured 1mo ago against content hash 9b64b614c187, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

offensive-basic-exploitation scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

priv/skills/offensive-basic-exploitation/SKILL.md · 67 lines

How it starts

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

SKILL: Week 5: Basic Exploitation (Linux with Mitigations Disabled)

Metadata

Description

Week 5 exploit development curriculum. Foundational exploitation techniques: controlling EIP/RIP, ROP chain construction, ret2libc, shellcode injection, heap spraying, bypass techniques for ASLR/NX/stack canaries. Use when building initial PoCs or understanding classic exploitation primitives.

Trigger Phrases

Use this skill when the conversation involves any of: basic exploitation, EIP control, RIP control, ROP chain, ret2libc, shellcode injection, heap spray, ASLR bypass, NX bypass, stack canary bypass, week 5

Full Methodology

Week 5: Basic Exploitation (Linux with Mitigations Disabled)

Overview

created by AnotherOne from @Pwn3rzs Telegram channel.

Now that you can find and analyze vulnerabilities (Week 2 & 4), it's time to learn exploitation. This week focuses on fundamental exploitation techniques in a simplified Linux environment with modern mitigations (DEP, ASLR, stack canaries) disabled. Mastering these basics is essential before tackling mitigation bypasses in Week 7.

Next week (Week 6) we'll focus on understanding mitigations in both Linux and Windows. Week 7 will cover bypassing them.

Learning Environment:

  • CPU arch (default): amd64 (x86-64)
  • OS: Ubuntu 24.04 LTS (Linux)
  • Compiler Flags: Disable protections (-fno-stack-protector, -no-pie, -z execstack for ret2shellcode labs, /GS-)
  • ASLR: Keep enabled system-wide; disable per-process (setarch -R) or in GDB (set disable-randomization on) for deterministic labs
  • Focus: Pure exploitation techniques without bypass complexity

Extended reference

This skill's full detail is split: read references/detail.md with file_read when you need the deep payload tables, tool matrices, or per-technique checklists that did not fit the skill body.

Read the full file on GitHub · 67 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 67 lines · 65 tokens per session scan A 9b64b614c187

Subscribe to this mod's changes

offensive-basic-exploitation is a skill published in the GitHub repository Miosa-osa/OSA (78 stars, last pushed 11d ago), licensed Apache-2.0. It adds 65 tokens to every session and 671 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-14.