CVE-2017-16203: coffe-script - Exfiltration of Sensitive Data on Installation

coffe-script Updated 02 Oct 2025

Summary

06/08/2018
No i
High
7.5

CVE-2017-16203: coffe-script is malware. Affects coffe-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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The coffe-script package is a popular npm package used for compiling CoffeeScript code into JavaScript. It provides a simple and concise syntax for writing JavaScript applications. However, all versions of the coffe-script package have been found to contain a serious vulnerability that allows for the exfiltration of sensitive data during installation. This vulnerability poses a significant risk to users as it can lead to the theft of private SSH keys, bash history, and other sensitive credentials.

Vulnerability Detail

The vulnerability in the coffe-script package allows an attacker to steal sensitive data from the user's system during installation. This includes private SSH keys, bash history, and other credentials that may have been present in the user's environment. The stolen data is then sent to attacker-controlled locations, potentially compromising the user's security and exposing their sensitive information. The impact of this vulnerability can be severe, as it can lead to unauthorized access to systems and accounts, as well as potential data breaches.

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 →

Workaround

There is no known workaround for this vulnerability. It is crucial to follow the recommended steps to fix the issue and mitigate any potential risks.

Conclusion

The coffe-script package has been found to contain a serious vulnerability that allows for the exfiltration of sensitive data during installation. It is crucial for users to take immediate action to mitigate the risks associated with this vulnerability. By following the recommended steps to fix the issue and regenerating sensitive credentials, users can protect themselves from potential unauthorized access and data breaches. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for coffe-script →

Share this vulnerability

FAQ

The coffe-script package is an npm package used for compiling CoffeeScript code into JavaScript. It provides a simplified syntax for writing JavaScript applications.

This vulnerability allows an attacker to steal sensitive data, such as private SSH keys and bash history, from the user's system. This can lead to unauthorized access to systems and accounts, as well as potential data breaches.

To fix this vulnerability, you should delete the coffe-script package, clear your npm cache, remove any references to coffe-script in other package.json files, and regenerate your SSH keys and other sensitive credentials.

There is no known workaround for this vulnerability. It is crucial to follow the recommended steps to fix the issue and mitigate any potential risks.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities in software, using just the package-lock.json file.

Related vulnerabilities

Recent vulnerabilities recorded for coffe-script.

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