Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
s3-npm-cache
Advanced tools
Forget lengthy npm install processes in your build pipeline. This script allows your build pipeline to cache your node_modules in S3 if your package.json hasn't changed.
Forget lengthy npm install processes in your build pipeline. This script allows your build pipeline to cache your node_modules in S3 if your package.json hasn't changed.
Set up your agent environment with AWS credentials before running this script.
$ npm install s3-npm-cache -g
$ s3-npm-cache <s3 bucket name> [package.json root folder]
You can specify an optional package.json root folder if you wish to cache node_modules in a different folder to your current working directory.
Please note if you do specify the optional package.json root folder the path is relative.
This repository contains a test folder which contains a fake package.json you can use for development or testing.
FAQs
Lightweight runtime to cache NPM dependencies in S3
The npm package s3-npm-cache receives a total of 2 weekly downloads. As such, s3-npm-cache popularity was classified as not popular.
We found that s3-npm-cache 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
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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.