GHSA-3v2v-wcw4-25q9: 
JavaScript Analyse et atténuation de la vulnérabilité

Summary

twzrd-x402-gate enforces three cumulative spend limits from a spend ledger: dailyCeilingUsd, monthlyCeilingUsd (mandate) and newCounterpartyCap. In 0.22.1 and earlier, a caller that set one of these limits and did not pass a ledger got no enforcement: every intent was allowed, and nothing reported that the limit was inactive.

Impact

An agent configured with a daily or monthly ceiling, or a new-counterparty cap, and no ledger could spend past that limit. Per-payment limits (maxAmountUsd, maxPerTransactionUsd) were enforced throughout and are not affected. Callers that pass a ledger are not affected.

Patches

Fixed in twzrd-x402-gate 0.23.0. A cumulative limit with no ledger is now refused with SPEND_CAP_NEEDS_LEDGER and a reason naming the limit, in evaluateIntent, the x402 client hook, the MPP hook and createTwzrdPolicyFetch, before any payment is built.

Workarounds

Pass a spend ledger wherever a cumulative limit is set: createMemorySpendLedger() for one process, or a file-backed ledger to survive a restart.

Second issue fixed in 0.23.0: concurrent paid calls through one createTwzrdPolicyFetch

Summary

createTwzrdPolicyFetch kept the offer it had cleared to pay in a single slot shared by every call on the instance. In 0.22.1 and earlier, with two calls in flight through one instance, the first call to finish recorded the other call's amount on the spend ledger and cleared the slot, so the second paid call was never recorded. Both calls were also checked against a cumulative limit before either was recorded.

Impact

An agent that makes concurrent paid requests through one policy fetch could spend past dailyCeilingUsd, a mandate's monthlyCeilingUsd or newCounterpartyCap, and its spend ledger could show less than it paid. In a local reproduction, two concurrent 0.01 payments left 0.01 on the ledger, and two 0.01 payments passed a 0.015 daily ceiling. Calls made one at a time are not affected. Per-payment limits were enforced throughout.

Patches

Fixed in twzrd-x402-gate 0.23.0. Each call keeps its own offer, an amount cleared to pay counts against the cumulative limits until the call ends, and offers are cleared one call at a time.

Workarounds

Do not issue concurrent requests through one createTwzrdPolicyFetch instance: await each call before starting the next.

Remaining limit

The reservation is per instance. Two instances, or two processes, that share one ledger can still clear payments at the same moment; hold one policy fetch per ledger.


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