
Security News
Security Community Slams MIT-linked Report Claiming AI Powers 80% of Ransomware
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.
@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.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.