
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@metaplex-foundation/cusper
Advanced tools
Resolves Custom Program Errors from Solana program logs or error codes.
Resolves Custom Program Errors from Solana program logs or error codes.
import { initCusper } from '@metaplex-foundation/cusper'
const cusper = initCusper(/* optionally provide custom error resolver here */)
const logs = [
'Program CwrqeMj2U8tFr1Rhkgwc84tpAsqbt9pTt2a4taoTADPr invoke [1]',
'Program log: Custom program error: 0x07D0',
]
function showError() {
try {
const error = { ...new Error('Test error'), logs }
cusper.throwError(error)
} catch (err) {
console.error(err)
}
}
showError()
AnchorError#ConstraintMut: A mut constraint was violated
at showError (/cusper/test/test/ex.ts:13:12)
[ .. ]
Please find the API docs here
Apache-2.0
FAQs
Resolves Custom Program Errors from Solana program logs or error codes.
The npm package @metaplex-foundation/cusper receives a total of 0 weekly downloads. As such, @metaplex-foundation/cusper popularity was classified as not popular.
We found that @metaplex-foundation/cusper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.