CVE-2017-16205: Exfiltration of Sensitive Data in coffescript

coffescript Updated 02 Oct 2025

Summary

06/08/2018
No i
High
7.5

CVE-2017-16205: coffescript is malware. Affects coffescript 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The coffescript package is a popular JavaScript framework that compiles into JavaScript. It is used to enhance the readability and maintainability of JavaScript code by providing syntactic sugar and additional features. However, a vulnerability has been discovered in the coffescript package that allows an attacker to exfiltrate sensitive data during installation.

Vulnerability Detail

The coffescript package has been found to contain malware that steals sensitive data, including a user's private SSH key and bash history. This data is then sent to locations controlled by the attacker. The package has been unpublished from the npm registry to prevent further installations. If coffescript is found in your environment, it is recommended to delete the package, clear your npm cache, ensure it is not present in any other package.json files, and regenerate your SSH keys and other sensitive credentials. Any services exposed via credentials in your bash history or accessible through your SSH keys should also be reviewed for compromise.

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 coffescript package has been found to contain malware that exfiltrates sensitive data. If you have this package installed, it is crucial to take immediate action by deleting the package, clearing your npm cache, and regenerating your SSH keys and other sensitive credentials. Review any services that may have been exposed through your compromised credentials. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for coffescript →

Share this vulnerability

FAQ

The coffescript package is a JavaScript framework that compiles into JavaScript, providing syntactic sugar and additional features to enhance the readability and maintainability of JavaScript code.

The coffescript malware steals sensitive data such as a user's private SSH key and bash history, sending them to attacker-controlled locations.

You can check if coffescript is installed by running the command npm ls coffescript in your terminal.

If coffescript is found in your environment, you should delete the package, clear your npm cache, ensure it is not present in any other package.json files, and regenerate your SSH keys and other sensitive credentials.

To prevent this vulnerability, regularly update your packages and use reputable sources for package installations. Additionally, consider using vulnerability monitoring tools like Vulert to receive real-time alerts for open-source vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for coffescript.

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