Douglasborthwick-crypto mppx-condition-gate
mppx-condition-gate: Free-access path grants on a self-declared wallet without proving control
mppx-condition-gate provides conditional free-access wrappers for mppx payment methods. Prior to @insumermodel/mppx-condition-gate 3.0.0 and @insumermodel/mppx-token-gate 1.0.4, the packages read a wallet address from the client-supplied credential.source, checked whether that public address met configured on-chain conditions, and returned a successful free-access receipt without invoking the wrapped payment verifier or proving that the caller controlled the wallet. An unauthenticated attacker could name any qualifying wallet and obtain content that should require payment, and cached grants could be reused for the configured cache lifetime. The corrected packages prevent free-access authorization unless payer control has been established. These issues are fixed in @insumermodel/mppx-condition-gate 3.0.0 and @insumermodel/mppx-token-gate 1.0.4.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < b1d9935a57ba6d32da49eead1bfb459ad0cd55ab
- < 3.0.0
Fixed in 3.0.0
- < 1.0.4
Fixed in 1.0.4
Mitigation
Upgrade mppx-condition-gate to 3.0.0 or later.
Upgrade mppx-token-gate to 1.0.4 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.