Index of every page on this site: llms.txt
All skills
Run it yourself

Claude Code plugin for persona-based user testing. Simulates Boomers, Millennials, Gen Z, and Gen Alpha users to find UX issues before real users do.

  • 2 files
  • 14.6 KB
  • Updated 11 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/ncklrs/claude-chrome-user-testing/form-fuzzer

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈41 tokens for metadata: the name and description. ≈1.4k when used: this file. ≈2.3k more on demand in 1 file.

SKILL.md has missing or invalid fields
  • The name in the SKILL.md header is missing or is not text.
  • The description in the SKILL.md header is missing or is not text.
Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Form Fuzzer Skill

Test form inputs with edge case payloads to find security vulnerabilities and encoding issues.

When to Use

  • Security testing forms for XSS/SQLi vulnerabilities
  • Testing input validation and sanitization
  • Finding unicode/encoding handling issues
  • Checking length limit enforcement
  • Pre-deployment security checks

Flags

--fuzz                           Enable fuzzing mode
--fuzz-category <category>       Category: xss | sqli | unicode | length | all (default: all)

Fuzzing Categories

Category Purpose Payload Count
xss Test XSS sanitization 15 payloads
sqli Test SQL injection prevention 12 payloads
unicode Test encoding handling 10 payloads
length Test length limits 4 payloads
all All categories combined 41 payloads

Behavior

When --fuzz is active:

  1. Discovery: Find all form inputs on the page
  2. Classification: Identify input types (text, email, password, search, etc.)
  3. Injection: For each input, try payloads from selected category
  4. Observation: Check response for each payload:
    • Sanitized: Payload escaped/stripped (PASS)
    • Rejected: Clear error message (PASS)
    • Executed: XSS/SQLi worked (CRITICAL)
    • Error: Application error/crash (MAJOR)
    • Stored: Payload persists in DOM (CRITICAL)
  5. Reporting: Generate security-focused report section

Response Classification

XSS Detection

// Check if script executed
// Check if payload appears unescaped in DOM
// Check for alert/console activity
// Check if event handlers fire

SQL Injection Detection

// Check for database error messages
// Check for unusual response time (time-based)
// Check for data leakage
// Check for error 500 responses

Encoding Issues

// Check for garbled text
// Check for broken layout (RTL markers)
// Check for missing characters
// Check for incorrect rendering

Length Handling

// Check if input truncated
// Check for overflow errors
// Check for client-side crashes
// Check for server errors

Report Section

When fuzzing is enabled, add this section to the test report:

## Form Fuzz Testing Results

### Summary
- **Inputs Tested**: 5
- **Payloads Tried**: 205
- **Vulnerabilities Found**: 2

### Critical Findings

| Input | Category | Payload | Result |
|-------|----------|---------|--------|
| #name | XSS | `<script>alert(1)</script>` | Executed |
| #search | SQLi | `' OR '1'='1` | Error 500 |

### XSS Tests (3 inputs)

| Input | Sample Payload | Result |
|-------|----------------|--------|
| #email | `<script>alert(1)</script>` | Sanitized |
| #name | `<script>alert(1)</script>` | **Executed** |
| #bio | `<img onerror=alert(1)>` | Sanitized |

### SQL Injection Tests (2 inputs)

| Input | Sample Payload | Result |
|-------|----------------|--------|
| #search | `' OR '1'='1` | **Error 500** |
| #id | `1; DROP TABLE--` | Rejected |

### Unicode Tests (5 inputs)

| Input | Sample Payload | Result |
|-------|----------------|--------|
| #name | `cafe n beijing` | Rendered OK |
| #bio | RTL markers | Layout OK |

### Length Tests (3 inputs)

| Input | Length | Result |
|-------|--------|--------|
| #email | 1K chars | Truncated (OK) |
| #bio | 10K chars | Accepted |
| #bio | 100K chars | **Client crash** |

### Recommendations

1. **[Critical]** Sanitize `#name` field - XSS vulnerable
2. **[Critical]** Fix SQL error handling in `#search` - reveals database info
3. **[Major]** Add length validation to `#bio` - crashes on large input

Integration with Personas

Fuzzing works alongside persona testing:

# Fuzz while testing as GenZ user
/user-test --url https://example.com/signup --persona genz-digital-native --fuzz

# Fuzz specific category
/user-test --url https://example.com/login --persona developer-critic --fuzz --fuzz-category xss

The persona still drives navigation and task completion, but form inputs are fuzzed when encountered.

Input Selection

Fuzz These Inputs

  • <input type="text">
  • <input type="email">
  • <input type="password">
  • <input type="search">
  • <input type="url">
  • <input type="tel">
  • <textarea>
  • <input type="hidden"> (if accessible)
  • Rich text editors (contenteditable)

Skip These Inputs

  • <input type="checkbox">
  • <input type="radio">
  • <input type="file">
  • <input type="date/time">
  • <select> dropdowns
  • Disabled/readonly inputs

Best Practices

  1. Start with --fuzz-category xss: Most common web vulnerability
  2. Test staging, not production: Fuzzing can cause side effects
  3. Combine with --record: Capture evidence of vulnerabilities
  4. Use --json for CI/CD: Parse fuzz results programmatically
  5. Test authenticated flows: Many vulnerabilities behind login

Limitations

  1. Client-side only: Cannot detect server-side-only vulnerabilities
  2. No blind injection: Time-based SQLi detection is limited
  3. May trigger WAF: Fuzzing payloads can trigger security rules
  4. State changes: Fuzzing may create test data in database
  5. Rate limiting: May hit rate limits on aggressive testing

Severity Classification

Severity Criteria Example
Critical Code execution, data exposure XSS executed, SQLi data leak
Major Application errors, crashes Error 500, client crash
Minor Poor handling, no security impact Garbled unicode, no truncation
Info Observations, potential issues Long response time, verbose errors

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at be80a88. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 11 months ago

README badge

README badge for ncklrs/claude-chrome-user-testing/form-fuzzer