Downloads Resources over HTTP

Module: closurecompiler

Published: December 18th, 2016

Reported by: Adam Baldwin



Vulnerable: All
Patched: None


Affected versions of closurecompiler insecurely download an executable over an unencrypted HTTP connection.

In scenarios where an attacker has a privileged network position, it is possible to intercept the response and replace the executable with a malicious one, resulting in code execution on the system running closurecompiler.


This vulnerability was discovered in 2016, and no patched version has been released as of 3/2018.

At this time, the best available mitigation is to use an alternative module that is actively maintained and provides similar functionality. There are multiple modules fitting this criteria available on npm..