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.
@privy-io/eslint-config
Advanced tools
@privy-io/eslint-config
Privy's common ESLint config.
To use this config in a new package, first install ESLint and the config package:
npm install --save-dev eslint @privy-io/eslint-config
Then create .eslintrc.js
with the following content:
module.exports = {
extends: '@privy-io/eslint-config',
};
Finally, add your package to the list below for reference.
Whenever you make changes to this config, you should bump the version and re-publish:
npm version patch
npm publish
Then update the packages which use this config:
pushd ../privy-js && npm update @privy-io/eslint-config && popd
pushd ../privy-node && npm update @privy-io/eslint-config && popd
To ensure that we always use the same versions of transitive config and plugin dependencies, this package uses npm-shrinkwrap.json to pin exact dependency versions when it itself is installed as a dependency. It is automatically updated whenever you npm install
a package. (This replaces package-lock.json
.)
@rushstack/eslint-patch is used to patch ESLint to load plugins relative to this config. (By default, ESLint loads plugins relative to the project root, which would require them to be installed as peerDependencies
.)
FAQs
Privy's common ESLint config.
The npm package @privy-io/eslint-config receives a total of 461 weekly downloads. As such, @privy-io/eslint-config popularity was classified as not popular.
We found that @privy-io/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
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.