Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@metamask/eslint-config-browser
Advanced tools
Shareable MetaMask ESLint plugin for browser environments.
@metamask/eslint-config-browser
MetaMask's ESLint configuration for browser environments.
Our default export contains a base set of ESLint rules for ES6+:
yarn add --dev \
@metamask/eslint-config@^11.0.0 \
@metamask/eslint-config-browser@^11.0.0 \
eslint@^8.27.0 \
eslint-config-prettier@^8.5.0 \
eslint-plugin-import@^2.26.0 \
eslint-plugin-jsdoc@^39.6.2 \
eslint-plugin-prettier@^4.2.1 \
prettier@^2.7.1
The order in which you extend ESLint rules matters.
The @metamask/*
eslint configs should be added to the extends
array last,
with @metamask/eslint-config
first, and @metamask/eslint-config-*
in any
order thereafter.
module.exports = {
root: true,
extends: [
// These should be added last unless you know what you're doing.
'@metamask/eslint-config',
'@metamask/eslint-config-browser',
],
};
FAQs
Shareable MetaMask ESLint plugin for browser environments.
The npm package @metamask/eslint-config-browser receives a total of 444 weekly downloads. As such, @metamask/eslint-config-browser popularity was classified as not popular.
We found that @metamask/eslint-config-browser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 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
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.