# GHSA-m852-866j-69j8: Malicious Package in eslint-config-airbnb-standard

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **CWE:** CWE-506
- **Published:** 2020-09-01T20:47:01.000Z
- **Modified:** 2021-10-01T13:27:58.000Z

## Who should check

- Projects that depend on npm package eslint-config-airbnb-standard (\>= 2.0.0, \< 2.1.0)

## Description

Version 2.0.0 of \`eslint-config-airbnb-standard\` was published with a bundled version of \`eslint-scope\` that  was found to contain malicious code. This code would read the users \`.npmrc\` file and send it's contents to a remote server.


\#\# Recommendation

The best course of action if you found this package installed in your environment is to revoke all your npm tokens and use a different version of the module. You can find instructions on how to do that here. https://docs.npmjs.com/getting-started/working\_with\_tokens\#how-to-revoke-tokens

## Affected and fixed versions

- npm `eslint-config-airbnb-standard`: affected \>= 2.0.0, \< 2.1.0; fixed 2.1.0 (osv)

## Mitigation

- Upgrade eslint-config-airbnb-standard to 2.1.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by GHSA-m852-866j-69j8. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/GHSA-m852-866j-69j8.md
Affected: eslint-config-airbnb-standard >= 2.0.0, < 2.1.0
Fixed in: 2.1.0

Steps:
1. Search this machine and project for eslint-config-airbnb-standard (npm): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is GHSA-m852-866j-69j8 being exploited?

There is no confirmed exploitation: GHSA-m852-866j-69j8 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is GHSA-m852-866j-69j8?

It has no CVSS score yet. Unknown.

### Which versions are affected by GHSA-m852-866j-69j8?

eslint-config-airbnb-standard \>= 2.0.0, \< 2.1.0.

### Is there a fix for GHSA-m852-866j-69j8?

Yes. Fixed in 2.1.0. Upgrade eslint-config-airbnb-standard to 2.1.0 or later.

### How do I check if I'm affected by GHSA-m852-866j-69j8?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://www.npmjs.com/advisories/675>

## Attribution

- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-m852-866j-69j8> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/GHSA-m852-866j-69j8> · JSON: <https://flawdb.com/api/v1/entries/GHSA-m852-866j-69j8>
