VDB
Sign up
HIGH8.6

GHSA-jc83-cpf9-q7c6

False-negative validation results in MINT transactions with invalid baton

Quick fix

GHSA-jc83-cpf9-q7c6 — slpjs: upgrade to the fixed version with the command below.

npm install slpjs@0.27.2

Details

### Impact Users could experience false-negative validation outcomes for [MINT](https://github.com/simpleledger/slp-specifications/blob/master/slp-token-type-1.md#mint---extended-minting-transaction) transaction operations. A poorly implemented SLP wallet could allow spending of the affected tokens which would result in the destruction of a user's minting baton.

### Patches npm package [slpjs](https://www.npmjs.com/package/slpjs) has been patched and published as version 0.27.2.

### Workarounds Upgrade to slpjs 0.27.2.

### References * slpjs [commit](https://github.com/simpleledger/slpjs/commit/3671be2ffb6d4cfa94c00c6dc8649d1ba1d75754)

### For more information If you have any questions or comments about this advisory: * Open an issue in [slp-validate](https://github.com/simpleledger/slp-validate/issues) or [slpjs](https://github.com/simpleledger/slpjs/issues)

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/slpjs
Introduced in: 0Fixed in: 0.27.2
Fixnpm install slpjs@0.27.2

References