
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
This is a convenient way to login and sign up to websites using Bitcoin Cash as your "identity".
CashID is an open protocol that allows secure authentication based on the public key cryptography infrastructure that is currently present in the Bitcoin Cash ecosystem. Each user can prove to a service provider that they control a specific Bitcoin Cash address by signing a challenge request, as well as provide optional metadata.
grab from NPM
npm i cashid
import CashID from 'cashid'; // or const CashID = require('cashid');
let cashid = new CashID(domain, path);
// domain = example.com (no http prefix)
// path = /api/auth (endpoint that will receive POST json data)
let uri = cashid.createRequest(action, data, metadata);
// action is an optional string, ie: 'login'
// data is an optional string, ie: 'newsletter' or '123-123-123'
// metadata is an optional object, ie:
// {
// required: {
// identity: ['name', 'family'],
// position: ['country'],
// contact: ['email']
// },
// optional: {
// identity: ['age', 'gender'],
// position: ['city']
// }
// }
return uri;
// uri will look like
// cashid:example.com/api/auth?a=register&d=newsletter&r=i12p1c1&o=i45p3&x=142341090
with the uri, you can generate a QR code for the user to scan, or see a client side badger-wallet implementation
The identity manager would read the cashid uri, and send a JSON POST request to the endpoint.
You would validate the object on the server side and return true as the response if valid.
cashid.validateRequest(responseObject)
cashid.confirmRequest(req,res) // WIP
cashid.parseCashIDRequest(requestURI)
cashid.createRequest(action, data, metadata)
FAQs
JS implementation of CashID by Jonathan Silverblood
We found that cashid demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.