🔐
AB-129

Credentials via headers not query params

🔐 Bot Authentication Pillar: Executability Quick fix Severity: high Est. cost: $0 Gap: capability Fix: manual

What it means

API keys and tokens are passed in headers, not query parameters.

Why it matters

Query parameter credentials get logged in access logs, browser history, and referrer headers. Header-based credentials are never logged or cached.

Evidence expected

This rule is verified by:

cross Source: Website content
✗

What's wrong

GET /api/data?api_key=secret123

✓

What's right

GET /api/data with header: Authorization: Bearer token123

Check this rule on your site

Enter your URL to check just this one rule (AB-001).

Related rules in Bot Authentication

Machine-Readable

This rule is also available as JSON: /rules/AB-129.json

Explore More

  • All Rules

    Browse the complete rules catalog

  • Agent Guide

    Learn how to fix this rule

  • Blog

    Related articles on agent readiness