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.
@dialpad/eslint-plugin-dialtone
Advanced tools
Dialtone ESLint plugin containing rules to help developers maintain dialtone recommended practices.
We use yeoman generator to generate new rules.
First, install it globally:
pnpm add -g yo generator-eslint mem-fs
Then, run the command below and follow the steps.
yo eslint:rule
You can try the code you're trying to detect here: AST Explorer
to know which function you need to call inside create
function.
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install @dialpad/eslint-plugin-dialtone
:
npm install @dialpad/eslint-plugin-dialtone --save-dev
Add @dialpad/dialtone
to the plugins section of your .eslintrc
configuration file.
You can omit the eslint-plugin-
prefix:
{
"plugins": [
"@dialpad/dialtone"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@dialpad/dialtone/rule-name": 2
}
}
FAQs
dialtone eslint plugin
The npm package @dialpad/eslint-plugin-dialtone receives a total of 229 weekly downloads. As such, @dialpad/eslint-plugin-dialtone popularity was classified as not popular.
We found that @dialpad/eslint-plugin-dialtone demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.