Every CVE Search/ Get API key

CVE-2017-16202

cofeescript is malware

7.5 High

The cofeescript module exfiltrates sensitive data such as a user's private SSH key and bash history to a third party server during installation.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.16%Up 0.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

The cofeescript module exfiltrates sensitive data such as a user's private SSH key and bash history to a third party server during installation.

Record
CVE-2017-16202
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-506, CWE-200
Updated
2026-11-02
CVE List No score

The cofeescript module exfiltrates sensitive data such as a user's private SSH key and bash history to a third party server during installation.

Record
CVE-2017-16202
Weakness
CWE-506
Updated
2026-11-02
EUVDEUVD-2018-0410 No score

The cofeescript module exfiltrates sensitive data such as a user's private SSH key and bash history to a third party server during installation.

Record
EUVD-2018-0410
Updated
2026-11-03
GitHub AdvisoriesGHSA-m6wh-m8m8-6xx5 No score

cofeescript is malware

The cofeescript package is a piece of malware that steals sensitive data such as a user's private SSH key and bash history, sending them to attacker controlled locations.

All versions have been unpublished from the npm registry.

Recommendation

If you have found cofeescript installed in your environment, you should:

  1. Delete the package
  2. Clear your npm cache
  3. Ensure it is not present in any other package.json files on your system
  4. Regenerate your SSH keys, registry credentials, tokens, and any other sensitive credentials that may have been present in your bash history.

Additionally, any service which may have been exposed via credentials in your bash history or accessible via your ssh keys, such as a database, should be reviewed for indicators of compromise as well.

Record
GHSA-m6wh-m8m8-6xx5
Weakness
CWE-506
Updated
2026-11-02
OSVGHSA-m6wh-m8m8-6xx5 No score

cofeescript is malware

The cofeescript package is a piece of malware that steals sensitive data such as a user's private SSH key and bash history, sending them to attacker controlled locations.

All versions have been unpublished from the npm registry.

Recommendation

If you have found cofeescript installed in your environment, you should:

  1. Delete the package
  2. Clear your npm cache
  3. Ensure it is not present in any other package.json files on your system
  4. Regenerate your SSH keys, registry credentials, tokens, and any other sensitive credentials that may have been present in your bash history.

Additionally, any service which may have been exposed via credentials in your bash history or accessible via your ssh keys, such as a database, should be reviewed for indicators of compromise as well.

Record
GHSA-m6wh-m8m8-6xx5
Weakness
CWE-506
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cofeescript
npm
1.0.1 to 1.0.1 None known
cofeescript
npm
Listed versions
1.0.1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-16202 is a high vulnerability (CVSS 7.5) in Cofeescript Project Cofeescript, published June 7, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.16%, the 67th percentile. No source names a fixed version.

References

MoveEnter Open