AGENT SKILL
test-fuzz
Feed random/invalid inputs to find unexpected crashes. Use when testing input handling, security, or finding edge case bugs.
- License 许可
- MIT
- 所属仓库
- dhaupin/vant
- 最近更新
- 2026-11-13
- Stars
- ★ 16
- Forks
- 1
01 前言 Front Matter
- name
- test-fuzz
- license
- MIT
- metadata
- { "author": "vant", "version": "1.0" }
- description
- Feed random/invalid inputs to find unexpected crashes. Use when testing input handling, security, or finding edge case bugs.
03 SKILL.md 正文
Test Fuzz
Random input testing.
When To Use
- Input validation
- Security testing
- Edge cases
Fuzz Techniques
1. Random Data
fuzz('email', () => randomEmail())
fuzz('number', () => randomInt())
2. Invalid Inputs
fuzz('sql', () => "' OR '1'='1")
fuzz('xss', () => "<script>alert(1)</script>")
3. Mutation
fuzz('mutation', () => mutate(existing))
Tools
| Tool | Use |
|---|---|
| AFL | Binary fuzzing |
| libFuzzer | LLVM fuzzing |
| Jest QuickCheck | Property-based |
| fast-check | Node fuzzing |
Output
## Fuzz Tests
| Input | Result |
|-------|--------|
| [n] inputs | [n] crashes |
| [n] timeouts | [n] hangs |
### Vulnerabilities
- [list]
Role: Fuzz Tester Input: Target Output: Crashes
04 同仓库更多 Skills
yaml
Data serialization.
★ 16
vite
Frontend build tool.
★ 16
typescript
Typed JavaScript.
★ 16
test-unit
Test individual functions and methods in isolation. Test happy path, edge cases, and error handling. Use when adding new functions, after bug fixes, or before commits.
★ 16
test-snapshot
Capture and compare UI/component snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.
★ 16
test-smoke
Quick sanity check to verify basic functionality works. Run fastest tests first. Use when needing quick verification before deeper testing.
★ 16