gradle / gradle-native

The home of Gradle's support for natively compiled languages
https://blog.gradle.org/introducing-the-new-cpp-plugins
Apache License 2.0
92 stars 8 forks source link

[SECURITY] Samples insecurely download LLVM toolchain #990

Closed JLLeitschuh closed 5 years ago

JLLeitschuh commented 5 years ago

The native-samples project is downloading the LLVM toolchain over HTTP without any integrity check. These either need an integrity check added before they are executed, or the should be downloaded over HTTPS.

I can’t open an issue against that repository because the issue tracker is closed down.

https://github.com/gradle/native-samples/blob/6fbae41974772123a847071d4fa6be861d316b00/cpp/provisionable-tool-chains/buildSrc/build.gradle#L107-L117