Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@sec/eslint-config-bmp
Advanced tools
In order to install this package, you must be authenticated as a paid member of the @sec organization. This can be done by adding your authentication token to your .npmrc file as described at https://docs.npmjs.com/private-modules/ci-server-config.
NOTE: If installing globally, you will need to add the authentication token to
the /usr/etc/npmrc
file as well.
To use this config, you will need to install several packages using the following command (it is recommended to install these packages globally):
[sudo] npm i -g eslint babel-eslint eslint-plugin-react @sec/eslint-config-bmp
NOTE: eslint-plugin-react
is only required when using the react
config.
This package provides three different configs that can be used with ESLint:
es5
(default), es6
, and react
.
To use the default config, add the following line to the .eslintrc.json
file
in the root directory of your project:
"extends": "@sec/bmp"
The es6
and react
configs can be used by extending "@sec/bmp/es6"
and
"@sec/bmp/react"
respectively.
The react
config specifies es6 parser options by default. Therefore, it is not
necessary to also extend the es6
config when using the react
config.
Ensure that you have library and minified files ignored in .eslintignore
and
then test ESLint by running the following command from the root directory of
your project:
eslint --ext js,jsx .
For more information on ESLint configuration, please see http://eslint.org/docs/user-guide/configuring.
FAQs
ESLint configs for bizhub MarketPlace projects
The npm package @sec/eslint-config-bmp receives a total of 1 weekly downloads. As such, @sec/eslint-config-bmp popularity was classified as not popular.
We found that @sec/eslint-config-bmp 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.