
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@duskit/error
Advanced tools
[](https://github.com/dusk-network/duskit/actions/workflows/ci.yml) [](https://www.npmjs.com/package/@dusk
Functions for creating and managing errors.
The dev environment assumes that you have at least Node.js v22.11.0 installed. The LTS version is 22.11.0 at the time of writing.
This package is part of the Duskit monorepo. Please refer to the main README for monorepo usage, changeset management and installation of dependencies.
Install it with your favourite package manager:
npm install @duskit/error --save
Import the functions you need:
import { getErrorFrom } from "@duskit/error";
getErrorFrom("invalid data"); // => Error: invalid data
npm run checks
- runs all health checks (formatting, linting, type checking, tests)npm run clean
- removes the coverage
, docs
and node_modules
foldersnpm run docs
- generates the HTML documentation in the docs
foldernpm run format
- fixes the formatting in all filesnpm run format:check
- performs the formatting checknpm run lint
- performs the linting checknpm run lint:fix
- fixes, where possible, linting errorsnpm run test
- runs the test suitenpm run test:coverage
- runs the test suite and generates the code coverage report in the coverage
foldernpm run test:watch
- runs the test suite in watch modenpm run typecheck
- runs the type checkernpm run typecheck:watch
- runs the type checker in watch modeFAQs
[](https://github.com/dusk-network/duskit/actions/workflows/ci.yml) [](https://www.npmjs.com/package/@dusk
The npm package @duskit/error receives a total of 1 weekly downloads. As such, @duskit/error popularity was classified as not popular.
We found that @duskit/error demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.