
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.
A safer npm ci
.
Run it in any npm project to install dependencies from lock using the appropriate package-manager (supports npm, yarn and pnpm).
Use in your npm project instead of npm ci
:
npx ci
npm has a npm ci
command to install dependencies from the lock file (eg. package-lock.json
), ensuring all project contributors have the same dependencies.
This command is different across 3rd-party package-managers like yarn and pnpm, and can be confusing to remember when switching between projects.
This is where npx ci
comes in:
Package-manager agnostic
npx ci
is a package-manager agnostic npm ci
. You can run this in any project and dependencies will be installed appropriately.
It's great for contributing to new projects!
Can use in any environment with a single command
If yarn or pnpm isn't already installed, npx ci
installs it for you.
It's great for using it in CI/CD workflows!
Typo proof
When you accidentally type npx when typing in npm ci
, your dependencies still get installed.
It's actually the safer option too!
It's possible to detect the package manager using other signals (eg package.json#packageManager
, .yarnrc.yml
).
However, since npx ci
is strictly an alternative to npm ci
, a lock file is necessary to do a clean/immutable/frozen install.
npx link
- A safer npm link
.FAQs
Run npm ci using the appropriate Node package manager (npm, yarn, pnpm)
The npm package ci receives a total of 96,772 weekly downloads. As such, ci popularity was classified as popular.
We found that ci 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.