Skill / SKILL.md

Auditing Device Code And Pkce Flows

UnboundCompute/security-agent-skills

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.
2 views 28 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/UnboundCompute/security-agent-skills' skill-source

Use the complete skill-source/skills/auditing-device-code-and-pkce-flows directory with your client’s skill installer.

  • skills/auditing-device-code-and-pkce-flows

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/auditing-device-code-and-pkce-flows

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
11df04778dfe99084570bbee58947d16409bd8995b226ff2e477c4514de5aa49
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills