
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@nodesource/ncm-proxy
Advanced tools
Local Proxy for NCM 2.0.
This is a simple proxy server that is run locally on the computer doing the npm
installations. When an install happens it will use the NCM API to look up score data and then either just log what was done or rewrite the proxied results to prevent installs of non-certified information.
Start an ncm proxy server on port 14313
(14
=N, 3
=C, 13
=M):
$ NCM_TOKEN=xxx npx @nodesource/ncm-proxy
To obtain an ncm token please see the docs.
Then configure as your npm registry:
$ npm install express --registry=http://localhost:14313
Set the PORT
environment variable to launch on a different port:
$ NCM_TOKEN=xxx PORT=8080 npx @nodesource/ncm-proxy
You can also use a different registry than the default https://registry.npmjs.org/
:
$ NCM_TOKEN=xxx npx @nodesource/ncm-proxy https://registry.npmjs.org
All except listed routes are simply proxied through:
GET /:package
GET /@scope%2f:package
Rewrite tarball urls to point at the proxy.
GET /:package/-/:package-:version.tgz
GET /@:scope?/:package/-/:package-:version.tgz
Return 404
if the module has a score lower than 85 or is on the whitelist,
otherwise proxy through.
Copyright © NodeSource.
Licensed under the MIT open source license, see the LICENSE file for details.
FAQs
Local Proxy for NCM 2.0
The npm package @nodesource/ncm-proxy receives a total of 0 weekly downloads. As such, @nodesource/ncm-proxy popularity was classified as not popular.
We found that @nodesource/ncm-proxy 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.