Auditing Device Code And Pkce Flows

Audit the server side of the authorization-code-with-proof-key and device-authorization grants for bugs that let a stolen or guessed code become a token. Covers a token endpoint that issues without checking the proof-key verifier at all, that accepts the plain challenge method or a challenge-absent downgrade, or that binds the verifier to the client rather than to the specific code; and a device grant whose short user code is brute-forceable because polling is unthrottled, whose device code is not bound to the requesting client, or whose approval is not tied to the authenticated approver. Scoped to the proof-key and device-code specifics, not general federated login, which a separate skill covers. Use when reviewing a token endpoint or a device-authorization endpoint. The token request parameters are the source, token issuance is the sink, and an unenforced proof binding between them is the bug.

UnboundCompute f3c3d48 9.6 KB Updated

File contents

UnboundCompute/security-agent-skills/tree/main/skills/auditing-device-code-and-pkce-flows commit f3c3d4810b

Frequently asked questions

npx skillmds@latest add unboundcompute/auditing-device-code-and-pkce-flows