CVE-2017-16206: Vulnerability in cofee-script

cofee-script Updated 02 Oct 2025

Summary

06/08/2018
No i
High
7.5

CVE-2017-16206: cofee-script is malware. Affects cofee-script versions 1.0.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The cofee-script package is a JavaScript compiler that transpiles CoffeeScript code into JavaScript. It is commonly used in web development projects to enhance productivity and simplify code syntax. However, a specific version of cofee-script has been identified as a piece of malware that exfiltrates sensitive data upon installation.

Vulnerability Detail

The cofee-script package, in a particular version, contains malicious code that steals sensitive information from the user's environment. This includes private SSH keys and bash history, which are then sent to locations controlled by the attacker. The package has been unpublished from the npm registry to prevent further distribution. The vulnerability poses a significant risk to the security and privacy of affected users.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

The cofee-script package has been identified as a malware that exfiltrates sensitive data. If you have this package installed, it is crucial to take immediate action to remove it and mitigate the associated risks. Follow the provided steps to secure your environment and protect your sensitive information. For further assistance and support in vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for cofee-script →

Share this vulnerability

FAQ

cofee-script is a JavaScript compiler that converts CoffeeScript code into JavaScript. However, a specific version of this package has been identified as malware.

The malicious version of cofee-script steals sensitive data such as private SSH keys and bash history, which are then sent to attacker-controlled locations.

You can check for the presence of cofee-script by inspecting your package.json files or by using package management tools like npm.

If you find cofee-script installed, you should immediately delete the package, clear your npm cache, regenerate your SSH keys, and review and update any compromised credentials.

To prevent this vulnerability, it is essential to regularly update your packages and dependencies, use trusted sources for package installation, and maintain good security practices such as secure credential management.

Related vulnerabilities

Recent vulnerabilities recorded for cofee-script.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback