
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@webinmove/kosa
Advanced tools
Custom error class to help handle errors at different level with aligned behaviors
Kosa means "error" in Swahili.
This package introduces a managed scoped Error class. The Error Object which is instanciated doesn't have stacktrace on purpose. It is designed to be and stay simple !!!
Here is an exemple:
{
statusCode: 400,
message: 'USER_REGISTER_BAD_REQUEST', // Comes from scope & status
meta: { // Optional - contextual information
error: '...',
context: '...',
details: {
...
},
validations: [
{
field: 'email',
message: 'missing tld'
},
{
field: 'firstname',
message: 'should start with a capital'
}
]
...
}
}
Here are the constructor arguments:
scope required stringstatusCode optional numbermeta optional object with contextual information you might want to provide about the errorHere is how you use it in your code.
const Kosa = require('@webinmove/kosa');
if (!user) {
throw new Kosa('USER', 404);
}
if (vadlidationErrors.length > 0) {
throw new Kosa('USER_REGISTER', 400, vadlidationErrors);
}
FAQs
Custom error class to help handle errors at different level with aligned behaviors
We found that @webinmove/kosa demonstrated a not healthy version release cadence and project activity because the last version was released 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.