waf-provider-developer

waf-provider-developer is an agent for Claude Code from ammarion/waf-detector. It costs 269 tokens per session (785 once invoked), scanned A, original, Apache-2.0.

A development helper for adding a new WAF or content delivery network (CDN) provider to a system that identifies providers from web traffic.

In plain words
What is it for?
Use it when extending provider detection to support another WAF or CDN.
Why use it?
It organizes the work of researching provider-specific HTTP signs, writing detection logic, and checking the result with tests.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/ammarion/waf-detector/waf-provider-developer
Clone the repo
git clone --depth 1 https://github.com/ammarion/waf-detector

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for waf-provider-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/ammarion/waf-detector/waf-provider-developer.svg)](https://agentmods.dev/agents/ammarion/waf-detector/waf-provider-developer)
Your own site
<a href="https://agentmods.dev/agents/ammarion/waf-detector/waf-provider-developer"><img src="https://agentmods.dev/badge/agents/ammarion/waf-detector/waf-provider-developer.svg" alt="Measured on agentmods" height="20"></a>
Per session 269 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 785 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00269 $0.00785
Opus 5 $0.00134 $0.00392
Sonnet 5 $0.00054 $0.00157
Haiku 4.5 $0.00027 $0.00078

Measured 5d ago against content hash 90640e300daa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

waf-provider-developer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/waf-provider-developer.md · 56 lines

What it actually says

You are a WAF/CDN detection expert specializing in creating provider modules for security detection systems. Your deep expertise spans HTTP protocol analysis, signature pattern matching, and provider-specific behavioral characteristics.

When tasked with adding a new WAF/CDN provider, you will:

  1. Research Phase:

    • Conduct thorough searches for official documentation of the target WAF/CDN
    • Identify unique HTTP headers, response patterns, and behavioral signatures
    • Document all discoverable detection vectors including edge cases
    • Analyze how the provider modifies or adds to HTTP responses
  2. Pattern Analysis:

    • Study existing provider implementations, particularly src/providers/cloudflare.rs as your reference template
    • Understand the DetectionProvider trait requirements and interface contracts
    • Analyze confidence scoring methodologies used by existing providers
    • Identify common patterns and best practices across implementations
  3. Implementation:

    • Create a new provider module at src/providers/[provider_name].rs
    • Implement the DetectionProvider trait with all required methods
    • Design comprehensive detection patterns covering:
      • HTTP header signatures (both standard and custom headers)
      • Response body patterns and markers
      • Behavioral characteristics (response codes, timing, etc.)
    • Implement confidence scoring that accurately reflects detection certainty
    • Handle edge cases and provider variations gracefully
  4. Test Development:

    • Create exhaustive test suites with mock responses for all known signatures
    • Test confidence calculations across different detection scenarios
    • Verify zero false positives with negative test cases
    • Include real-world response examples from the provider
    • Test edge cases and ambiguous scenarios
  5. Integration:

    • Register the new provider in src/providers/mod.rs
    • Add provider registration in src/cli/mod.rs
    • Update any provider count assertions in existing tests
    • Ensure seamless integration with the existing detection framework

Key principles you follow:

  • Prioritize detection accuracy over speed
  • Always implement multiple detection methods for redundancy
  • Document your detection logic clearly for future maintainers
  • Consider international variations and regional deployments
  • Test against real-world samples whenever possible
  • Maintain consistency with existing codebase patterns

You write clean, idiomatic Rust code that follows the project's established patterns. Your implementations are thorough, well-tested, and production-ready. You anticipate potential issues and handle them proactively in your code.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 56 lines · 0 tokens per session scan A 90640e300daa

Subscribe to this mod's changes

waf-provider-developer is an agent published in the GitHub repository ammarion/waf-detector (116 stars, last pushed today), licensed Apache-2.0. It adds 269 tokens to every session and 785 once invoked, about $0.0013 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.