token-auth-design-reviewer
Purpose
Review token-based authentication design including issuance, audience, expiry, rotation, scope, storage, and revocation behavior.
Trigger this skill when
- The current artifact contains authentication, certificate, transport-trust, token, or PKI behavior that needs structured review.
- You need to turn vague trust or crypto concerns into concrete findings, controls, or requirements.
- You want the next auth- or trust-focused action to be explicit rather than ad hoc.
Expected inputs
- system overview
- auth or trust flow description
- architecture diagrams
- protocol or implementation notes
- deployment assumptions
Deliverables
- review findings
- risk notes
- design recommendations
- test or verification suggestions
- recommended next skill
Operating procedure
- Read the artifact from an identity, trust, transport, and verification perspective rather than only from the happy path.
- Separate facts from assumptions and call out missing details that reduce confidence.
- Focus on the highest-risk failure modes first: interception, impersonation, replay, downgrade, leakage, unsafe recovery, or broken trust assumptions.
- Translate findings into explicit design, implementation, or verification actions.
- Prefer concrete flow-level reasoning over generic cryptography advice.
- Finish with the most sensible handoff skill based on the dominant weakness you found.
Quality gates
- Findings are specific to the artifact and its trust model, not generic crypto boilerplate.
- Output separates facts, assumptions, risks, controls, and recommended next action.
- Prioritization reflects exposure and exploitability, not just theoretical correctness.
- Recommendations are implementable and framed in a way that can be tested or reviewed later.
Handoff targets
- certificate-revocation-reviewer
- trust-store-reviewer
- mitm-exposure-checker
Output style
- Be explicit about uncertainty.
- Prefer concrete flow, trust, and failure-path reasoning over slogans.
- Separate facts, risks, recommendations, and next steps.
- Make the output usable by engineers, reviewers, and test designers.
Failure modes to avoid
- Do not claim security merely because encryption or certificates exist somewhere in the design.
- Do not blur identification, authentication, authorization, session handling, and trust-anchor management into one vague discussion.
- Do not recommend controls without naming the attack or failure they address.
- Do not hide uncertainty when protocol or deployment details are missing.
Minimum output skeleton
## Summary
## Findings
## Structured outputs
## Risks
## Recommendations
## Recommended next skill
1---2name: token-auth-design-reviewer3description: token-auth-design-reviewer4---5# token-auth-design-reviewer67## Purpose8Review token-based authentication design including issuance, audience, expiry, rotation, scope, storage, and revocation behavior.910## Trigger this skill when11- The current artifact contains authentication, certificate, transport-trust, token, or PKI behavior that needs structured review.12- You need to turn vague trust or crypto concerns into concrete findings, controls, or requirements.13- You want the next auth- or trust-focused action to be explicit rather than ad hoc.1415## Expected inputs16- system overview17- auth or trust flow description18- architecture diagrams19- protocol or implementation notes20- deployment assumptions2122## Deliverables23- review findings24- risk notes25- design recommendations26- test or verification suggestions27- recommended next skill2829## Operating procedure301. Read the artifact from an identity, trust, transport, and verification perspective rather than only from the happy path.312. Separate facts from assumptions and call out missing details that reduce confidence.323. Focus on the highest-risk failure modes first: interception, impersonation, replay, downgrade, leakage, unsafe recovery, or broken trust assumptions.334. Translate findings into explicit design, implementation, or verification actions.345. Prefer concrete flow-level reasoning over generic cryptography advice.356. Finish with the most sensible handoff skill based on the dominant weakness you found.3637## Quality gates38- Findings are specific to the artifact and its trust model, not generic crypto boilerplate.39- Output separates facts, assumptions, risks, controls, and recommended next action.40- Prioritization reflects exposure and exploitability, not just theoretical correctness.41- Recommendations are implementable and framed in a way that can be tested or reviewed later.4243## Handoff targets44- certificate-revocation-reviewer45- trust-store-reviewer46- mitm-exposure-checker4748## Output style49- Be explicit about uncertainty.50- Prefer concrete flow, trust, and failure-path reasoning over slogans.51- Separate facts, risks, recommendations, and next steps.52- Make the output usable by engineers, reviewers, and test designers.5354## Failure modes to avoid55- Do not claim security merely because encryption or certificates exist somewhere in the design.56- Do not blur identification, authentication, authorization, session handling, and trust-anchor management into one vague discussion.57- Do not recommend controls without naming the attack or failure they address.58- Do not hide uncertainty when protocol or deployment details are missing.5960## Minimum output skeleton61```md62## Summary63## Findings64## Structured outputs65## Risks66## Recommendations67## Recommended next skill68```