Skip to main content
Version: 0.61.0

AMP-006: Amp ID Token Outside HTTPS Headers - Amp Checks

Summary​

  • Rule ID: AMP-006
  • Severity: HIGH
  • Category: Amp Checks
  • Normative Level: MUST
  • Auto-Fix: No
  • Verified On: 2026-10-17

Applicability​

  • Tool: amp
  • Version Range: unspecified
  • Spec Revision: unspecified

Evidence Sources​

Test Coverage Metadata​

  • Unit tests: true
  • Fixture tests: true
  • E2E tests: false

Examples​

The following examples demonstrate what triggers this rule and how to fix it.

Invalid​

{
"amp.mcpServers": {
"internal-tools": {
"command": "internal-mcp",
"env": { "TOKEN": "${amp:id-token}" }
}
}
}

Valid​

{
"amp.mcpServers": {
"internal-tools": {
"url": "https://mcp.example.com/mcp",
"headers": { "Authorization": "Bearer ${amp:id-token}" }
}
}
}