VDB
Sign up
HIGH8.6

GHSA-4w97-57v2-3w44

False-negative validation results in MINT transactions with invalid baton

Quick fix

GHSA-4w97-57v2-3w44 — slp-validate: upgrade to the fixed version with the command below.

npm install slp-validate@1.2.1

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 [slp-validate](https://www.npmjs.com/package/slp-validate) has been patched and published as version 1.2.1.

### Workarounds Upgrade to slp-validate 1.2.1.

### References * slp-validate [commit](https://github.com/simpleledger/slp-validate/commit/cde95c0c6470dceb4f023cd462f904135ebd73e7)

### 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)

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/slp-validate
Introduced in: 0Fixed in: 1.2.1
Fixnpm install slp-validate@1.2.1

References