
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@zohodesk/codestandard-analytics
Advanced tools
This tool is designed to streamline the linting process for JavaScript projects using ESLint and SonarQube. It automates the configuration of ESLint and facilitates integration with your SonarQube server for comprehensive code analysis.
ESLint configuration can be customized in the .eslintrc.js
file. Refer to the ESLint documentation for available configuration options and rules.
Configure your SonarQube server settings in the lint.config.js
file.
To lint your code using ESLint, run the following command:
-** To run locally **
npx npx ZDLintingFramework lint -- --dir=path/to/file
--** To run CI **
npx ZDLintingFramework lint-ci
--dir
- specify directory to lintThis project uses Jest for unit testing.
Install dependencies (if not already):
npm install
(Optional) If you add new test files, ensure they are named *.test.js
and placed in src/test/
or src/utils/
.
npm test
or
npx jest
"type": "module"
in package.json
).jest.config.js
.jest.mock()
as shown in the test files.For more advanced configuration, see the Jest documentation.
FAQs
linting tool
We found that @zohodesk/codestandard-analytics demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 51 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.