Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@pnpm/self-installer
Advanced tools
WARNING: This installation method is not supported anymore.
Visit the installation page of pnpm to see the currently recommended installation technics.
Installs pnpm
curl -L https://raw.githubusercontent.com/pnpm/self-installer/master/install.js | node
The above script will install the latest version of pnpm but you may also install
a specific version by specifying the PNPM_VERSION
environment variable:
curl -L https://raw.githubusercontent.com/pnpm/self-installer/master/install.js | PNPM_VERSION=1.16.2 node
Here are all the supported environment variables that can influence pnpm's installation:
Env variable | Type | Description | Example |
---|---|---|---|
PNPM_VERSION | version, range, tag | latest by default. The pnpm version to be installed.(not older than pnpm@1.16.2 ) | PNPM_VERSION=next |
PNPM_DEST | Path | The directory into which pnpm's files will be downloaded. | PNPM_DEST=node_modules/pnpm |
PNPM_BIN_DEST | Path | process.execPath by default. The directory into which pnpm's bins will be linked. | PNPM_BIN_DEST=node_modules/.bin |
PNPM_REGISTRY | URL | https://registry.npmjs.org/ by default. The registry to be used for downloading pnpm. | PNPM_REGISTRY=https://registry.node-modules.io/ |
FAQs
Installs pnpm
We found that @pnpm/self-installer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.