# drm-pentesting-toolkit

The drm-pentesting-toolkit skill guides agents through a plugin-based DRM testing toolkit for device files, MPD manifests, and license-server requests. Use it for authorized testing.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 261 installs · ★ 13 repo stars
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/security-skills/tree/HEAD/skills/drm-pentesting-toolkit/SKILL.md
- Updated: 2026-10-09
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/drm-pentesting-toolkit

## What it does

The skill covers a graphical interface for Widevine and PlayReady device files, PSSH data from MPD manifests, and license-server request settings. The toolkit also describes key extraction, M3U playlist creation, and content downloads through N_m3u8DL-RE. These features touch content protection, so use them only for testing you are authorized to perform.

Python plugins live in `plugins/` and expose a `run()` function. The manager inspects its parameters, supplies context, and can pass results along a plugin chain. The GUI includes areas for MPD and license data, logs, and downloads.

Running the application requires Python and the packages listed in `requirements.txt`, including `customtkinter`, `pywidevine`, and `pyplayready`. Device files are also needed; download operations rely on N_m3u8DL-RE and shaka-packager executables in `N_m3u8DL-RE/`. Those operations will not run without the executables.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill drm-pentesting-toolkit -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/drm-pentesting-toolkit/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/drm-pentesting-toolkit/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill drm-pentesting-toolkit -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/drm-pentesting-toolkit/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill drm-pentesting-toolkit -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/drm-pentesting-toolkit/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/security-skills skills/drm-pentesting-toolkit
```

2. **Manually: put the files in place**
- File: `.github/skills/drm-pentesting-toolkit/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill drm-pentesting-toolkit -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/security-skills --path skills/drm-pentesting-toolkit
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/drm-pentesting-toolkit/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill drm-pentesting-toolkit -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/security-skills/tree/HEAD/skills/drm-pentesting-toolkit/SKILL.md

## When to use it
- validate Widevine and PlayReady device files
- parse PSSH data from an MPD manifest
- chain Python plugins and pass results between them
- configure requests to a license server

## Example prompts
- Review the `drm-pentesting-toolkit` plugin design and explain how context passes between plugins.
- Inspect an MPD manifest and identify the PSSH data this toolkit is designed to parse.
- Check which files are needed to launch the GUI and its download operations.

## Similar
- [sqlmap-database-pentesting](https://affpapa.org/en/nevibecode/skills/sqlmap-database-pentesting.md) — skill · 116 installs
- [android-pentesting-tricks](https://affpapa.org/en/nevibecode/skills/android-pentesting-tricks.md) — skill · 4500 installs
- [ios-pentesting-tricks](https://affpapa.org/en/nevibecode/skills/ios-pentesting-tricks.md) — skill · 4100 installs
- [pentesting-with-aws-security-agent](https://affpapa.org/en/nevibecode/skills/pentesting-with-aws-security-agent.md) — skill · 1700 installs
- [react-native-tv-best-practices](https://affpapa.org/en/nevibecode/skills/react-native-tv-best-practices.md) — skill · 2800 installs
- [product-manager-toolkit](https://affpapa.org/en/nevibecode/skills/sickn33-product-manager-toolkit.md) — skill · 3500 installs

From the same set: [reason-machines/security-skills](https://affpapa.org/en/nevibecode/by/reason-machines/security-skills.md) — 129 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
