Skip to main content

decode-a-jwt-safely

Decode a JWT without confusing readable claims with verified identity or authorization. Use when inspecting token structure, metadata, timing, audience, or signature requirements.

소스 정보

저장소
protosphinx/sphinxstack
최근 소스 활동
2026년 7월 29일 13:55
감지된 SKILL.md 언어
영어
스타
3
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
decode-a-jwt-safely
category
code
description
Decode a JWT without confusing readable claims with verified identity or authorization. Use when inspecting token structure, metadata, timing, audience, or signature requirements.
# decode-a-jwt-safely ## When to use - Use for bounded debugging with an authorized redacted token. - Never paste live tokens into third-party tools or treat decoding as verification. ## Preconditions - Record token source, environment, expected issuer, audience, algorithm, and current time. ## Procedure 1. Work offline on a redacted or expired fixture where possible. 2. Parse header and payload without executing embedded content. 3. Inspect algorithm, key ID, issuer, audience, subject, scopes, issue, not-before, expiry, nonce, and token ID. 4. Distinguish malformed, decoded, signature-verified, claim-validated, and authorized states. 5. Verify signature only with trusted issuer metadata and allowed algorithms. 6. Validate time, issuer, audience, nonce, replay, and application authorization separately. ## Failure plan - Reject ambiguous algorithm, key, issuer, audience, or clock state. ## Worked example A token decodes correctly but uses the wrong audience, so the service rejects it before authorization. ## Done - A JWT inspection report records safe metadata, verification state, claim checks, and authorization boundary - Redaction, issuer, algorithm, key, audience, time, nonce, replay, and fixture checks verify handling
GitHub에서 보기