FixVibe

// 探测 / 聚焦

JWT alg=none Acceptance

A decoded token is not an authenticated identity.

What it is

JWT bugs are dangerous because they look like authentication while skipping the proof. If a backend trusts decoded claims without enforcing the signature algorithm and key, an attacker can mint their own identity.

How it happens

JWT verification must reject unsigned or weakly signed tokens. If an application accepts attacker-controlled token metadata as trusted, identity and authorization claims can be forged.

What an attacker gets

Accepting an unsigned token can allow forged users, roles, tenants, or admin claims depending on what the app stores in JWT payloads. In multi-tenant apps, this can become cross-account data access.

// what fixvibe reports

What FixVibe reports

Runs in active scans of a domain you have verified you own, on Hobby and above. Each finding shows the affected URL or host, its severity and fix steps you can paste into your AI coding tool.

How to fix it

Use the provider SDK or verifier API, allowlist the expected algorithms, and validate issuer, audience, expiration, and signature before using claims. Add tests for `alg: none`, wrong-key, wrong-issuer, and expired tokens.

// 在你自己的应用上跑一遍

放心继续发布,FixVibe 持续帮你看守风险。

Verify you own the domain, then run active checks alongside the passive ones.

主动探测
138
本类别中触发的测试
模块
58
专属 主动探测 检查
verified domains
130+
active checks after verification
Verify your domain →

// 最新检查 · 实用修复 · 安心发布

JWT alg=none Acceptance: what it is and how to fix it · FixVibe