
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.
@bcoe/test-alternate-main
Advanced tools
mainTest specifying an alternate main:
package.json:
{
"name": "@bcoe/test-alternate-main",
"version": "1.0.1",
"description": "teting a scoped package search (abc123)",
"main": "foo.min.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Ben Coe <ben@npmjs.com>",
"license": "ISC",
"dependencies": {
},
"repository": {
"url": "https://github.com/bcoe-test/testing-publishes.git"
}
}
index.js:
module.exports = {donotload: 'me'}
foo.min.js:
module.exports = {test: 'two'}
Benjamins-MacBook-Pro:tmp benjamincoe$ npm i @bcoe/test-alternate-main
@bcoe/test-alternate-main@1.0.1 node_modules/@bcoe/test-alternate-main
Benjamins-MacBook-Pro:tmp benjamincoe$ node
> require('@bcoe/test-alternate-main')
{ test: 'two' }
FAQs
teting a scoped package search (abc123)
The npm package @bcoe/test-alternate-main receives a total of 8 weekly downloads. As such, @bcoe/test-alternate-main popularity was classified as not popular.
We found that @bcoe/test-alternate-main 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.