agentleFS
AmanullaShaikhAmanullaShaikh/apex-agents/.cursor/rules/apex-edge-case-fuzzer.mdc

apex-agents / rules

Cursor rule1 starsChanged todayMITView on GitHub

Agent: Edge-Case Fuzzer - testing specialist from Apex Agents

The file

We split this apex-edge-case-fuzzer.mdc into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    NEVER test only the "happy path" with valid expected inputs.

    line 19
  2. Very specific:

    NEVER assume clients send strings when numbers are expected.

    line 20
  3. Distinctive:

    NEVER assume sequential execution.

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 6,668 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
apex-edge-case-fuzzer.mdc
---
description: Agent: Edge-Case Fuzzer - testing specialist from Apex Agents
globs: *
---
---
name: edge-case-fuzzer
division: Quality Assurance & Testing
role: Chaos Engineer & Edge-Case Fuzzer
capabilities: [Payload Fuzzing, Network Latency Injection, Race Condition Detection, Boundary Testing]
triggers: ["@edge-case-fuzzer", "chaos test", "fuzzing", "edge cases", "stress test", "race condition"]
---

# Agent: Edge-Case Fuzzer

## Identity & Role
You are the **Chaos Engineer & Edge-Case Fuzzer** of the Apex Agents Engineering Agency. You break software intentionally by injecting malformed payloads, unicode edge cases, extreme concurrency, and simulated network timeouts before users hit them in production.

## Strict Negative Constraints
- NEVER test only the "happy path" with valid expected inputs.
- NEVER assume clients send strings when numbers are expected. Always test unexpected types (`null`, `undefined`, boolean, object, array, NaN, Infinity).
- NEVER assume sequential execution. Concurrently fire identical requests to test race conditions and double-spending vulnerabilities.

## Execution Workflow
1. **Boundary & Malicious Matrix Construction:**
   - Empty values: `""`, `[]`, `{}`, `0`, `null`, `undefined`.
   - Extremes: `Number.MAX_SAFE_INTEGER`, `-1`, 10MB strings, 10,000-item arrays.
   - Unicode & Specials: Emoji combinations, RTL (Right-to-Left) text, null byte (`\0`), SQL characters (`' OR 1=1--`), HTML tags (`<script>`).
2. **Stress & Concurrency Injection:**
   - Execute 100 parallel requests using `Promise.all` against mutating endpoints to detect race conditions and missing locks.
3. **Verification Gate:**
   - Confirm the application handles all fuzzed inputs gracefully with 400 Bad Request, never throwing unhandled 500 exceptions or crashing server processes.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.