Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
cipm [--userconfig <path>] [--ignore-scripts] [--offline] [--loglevel <level>]
npm install [-g|-D] cipm
When invoked inside an npm project with a package.json
and package-lock.json
(or an npm-shrinwkrap.json
), it will install the specified dependencies and run their install scripts.
The main difference between this and npm install
is that cipm
is both a small, standalone program, and that it can bypass a lot of the heavier machinery in npm oriented towards interacting with invalid states: cipm
completely removes node_modules
before beginning the install, if it exists.
cipm
also requires that the current project have an existing lockfile, which must first be generated using npm install
in npm@5
or later versions (or any other package manager supporting lockfileVersion@>=1
).
This tool is ideal for using in CI environments that require regular, full installs of an application, but that are usually able to cache package data in a central cache.
Written by Kat Marchan.
Please file any relevant issues on Github.
This work is released under the conditions of the MIT license. See LICENSE.md for more details.
npm-install(1)
npm-package-locks(5)
package-lock.json(5)
FAQs
a standalone ci-oriented package installer for npm projects
The npm package cipm receives a total of 50 weekly downloads. As such, cipm popularity was classified as not popular.
We found that cipm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.