🔐
AB-141

Short-lived access tokens

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

What it means

Your token endpoint returns expires_in with access tokens.

Why it matters

Short-lived tokens limit the blast radius of token theft. Agents can request new tokens as needed, but a stolen token expires quickly.

Evidence expected

This rule is verified by:

cross Source: Website content
✗

What's wrong

Token response: { access_token: 'abc', token_type: 'Bearer' } (no expires_in)

✓

What's right

Token response: { access_token: 'abc', token_type: 'Bearer', expires_in: 3600 }

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-141.json

Explore More

  • All Rules

    Browse the complete rules catalog

  • Agent Guide

    Learn how to fix this rule

  • Blog

    Related articles on agent readiness