GHSA-c24w-mgfj-c8p8: 
JavaScript Analyse et atténuation de la vulnérabilité

Impact

twzrd-x402-gate 0.23.0 and earlier

  1. A 402 whose PAYMENT-REQUIRED header is not canonical base64 skipped every check (critical). createTwzrdPolicyFetch and createTwzrdPayingFetch read the header with a strict base64 reader. When that reader refused the text (missing = padding, or unused low bits set), both treated the 402 as having nothing to check and handed it to the payer. The x402 client decodes the same text with atob, which accepts it, and signs. A seller that strips the padding from its own header was paid with no wash check, no policy check (blocklist, allowlist, per-call and cumulative ceilings, new-counterparty cap) and no ledger line. The attacker only needs to be the seller. The x402 client's own default limit still applies unless the application turned it off. The hook entry points, createBuyerFetch, createGuardedX402Fetch and twzrd.safeFetch refuse such a header and are not affected.
  2. createTwzrdPolicyFetch counted a payment only when the paid response was 2xx (high). A seller that took the signed payment and answered an error, another 402, or closed the connection was never counted against dailyCeilingUsd, a mandate's monthly ceiling or newCounterpartyCap.
  3. The policy fetch booked the costliest offer's recipient, not the one paid (medium). A seller could list a dearer decoy offer and stay under newCounterpartyCap.
  4. Payment Control compared EVM recipients case-sensitively (medium). A blocklisted Base address passed in its other letter-case spelling, and newCounterpartyCap counted each spelling separately.
  5. auth-capture offers and Solana upto offers were scored as an exact payment to payTo (medium). Both schemes can pay parties named in extra. The Base Worker approval never read the scheme.
  6. A payment the spend ledger could not record stopped counting (low). This needs a ledger that can be read and not written; it is not reachable by a seller alone. Under requireOfferBinding this release also refuses a plain token-account Create, a create not funded by the fee payer, a message version other than legacy or v0, and an offer that sets extra.memo. @twzrd1111/agent-killswitch 0.4.0 and earlier
  7. A 2xx whose usage block could not be priced settled at $0 (medium). Fractional, missing or non-numeric token counts were read as 0, so such a response never counted against the hour or day limit.
  8. A README example classified ENOTFOUND as never sent, which releases a hold after a billed call (documentation).
  9. An MPP close or topUp credential sent together with an x402 payment header skipped the budget hold (low).
  10. A spend line appended after a torn last line was never counted (low).
  11. With the ledger unwritable the proxy kept forwarding (low).
  12. Two guards that reached one ledger file through a hard link, or through a symlink made before the file existed, did not share holds (low).

Patches

  • twzrd-x402-gate 0.24.0
  • @twzrd1111/agent-killswitch 0.5.0 0.24.0 turns allows into refusals. The refusal codes are in the package CHANGELOG.md, and COMPATIBILITY.md lists what changes for a caller.

Workarounds

For item 1 of the gate: use createBuyerFetch, createGuardedX402Fetch, the client hook or twzrd.safeFetch, which refuse a header they cannot read, and keep the x402 client's default spend limit on. There is no workaround for the other items; upgrade.

Packages that depend on an affected version

twzrd-mcp-server 0.6.3 and @wzrd_sol/eliza-plugin 0.10.2 depend on twzrd-x402-gate 0.20.2. Releases of both on the patched gate will follow.


Source: NVD

Connexe JavaScript Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

GHSA-w62c-p8c7-w6f7HIGH7.5
  • JavaScript logoJavaScript
  • 7zip-min
NonOuiNov 17, 2026
GHSA-w59v-r97h-g2c7MEDIUM5.3
  • JavaScript logoJavaScript
  • @appium/support
NonOuiNov 17, 2026
GHSA-4fx6-3h3f-fh66LOW3.4
  • JavaScript logoJavaScript
  • @intlify/core
NonOuiNov 17, 2026
GHSA-c24w-mgfj-c8p8CRITICALN/A
  • JavaScript logoJavaScript
  • @twzrd1111/agent-killswitch
NonOuiNov 17, 2026
GHSA-3v2v-wcw4-25q9MEDIUMN/A
  • JavaScript logoJavaScript
  • twzrd-x402-gate
NonOuiNov 17, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités