cuda-12.6

LOW
maintainer thymajesty 0 votes scanned 2026-09-22 11:40:10.999283
View on AUR
Why flagged

The installer is downloaded directly from NVIDIA's official developer.download.nvidia.com domain, which is the canonical source for CUDA; the non-standard host flag is a false positive. The package extracts the official NVIDIA run file and installs it locally, with no obfuscated payloads, exfiltration, or redirection to untrusted hosts. Minor quality concerns include some SKIP-equivalent long checksums and bundled local .pc files, but nothing genuinely dangerous.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 80%): The installer is downloaded directly from NVIDIA's official developer.download.nvidia.com domain, which is the canonical source for CUDA; the non-standard host flag is a false positive. The package extracts the official NVIDIA run file and installs it locally, with no obfuscated payloads, exfiltration, or redirection to untrusted hosts. Minor quality concerns include some SKIP-equivalent long checksums and bundled local .pc files, but nothing genuinely dangerous.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:22 source=(http://developer.download.nvidia.com/compute/cuda/${pkgver}/local_installers/cuda_${pkgver}_${_driverver}_linux.run

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Dmytro Priadko <yesthymajesty at gmail dot com>
2# Contributor: Stephan Düsterhaupt <me at stephanduesterhaupt dot de>
3# Contributor: Ivo Noack <ivo at insonic dot de>
4
5pkgname=cuda-12.6
6pkgver=12.6.3
7_driverver=560.35.05
8_reqdriverver=560.35
9pkgrel=1
10pkgdesc="NVIDIA's GPU programming toolkit"
11arch=('x86_64')
12url="https://developer.nvidia.com/cuda-zone"
13license=('custom:NVIDIA')
14depends=('gcc-libs' 'gcc' 'opencl-nvidia' 'nvidia-utils')
15conflicts=('cuda' 'cudnn')
16replaces=('cuda-toolkit' 'cuda-sdk')
17provides=('cuda-toolkit' 'cuda-sdk' 'cuda=12.6')
18optdepends=('gdb: for cuda-gdb'
19 'java-runtime=8: for nsight and nvvp')
20options=(!strip staticlibs)
21install=cuda.install
22source=(http://developer.download.nvidia.com/compute/cuda/${pkgver}/local_installers/cuda_${pkgver}_${_driverver}_linux.run
23 cuda.sh
24 cuda.conf
25 cuda-findgllib_mk.diff
26 *.pc)
27sha512sums=('a93d9d812d3a3f5823622e2274d1d6dbe17a298b33463fdf9f6d211d38766eab76608f9d545e312b2be2b86b3c59fcd92c37c54b38b0e8206191563d00546d62'
28 '79aa6fbeff13a2bcef5791c2288d4b072dfe7b17593261ee79302dc6c77ae368e73f5cac9ce38893fc0068e4895f5cde475faf507fac058fb697c8da3198587f'
29 '714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
30 '41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b'
31 '7caa3dcd299b605f5af1058015a399c5725eb927b7c6e77948e86ee69ad1559224cb01588fd02f55a5960a883c65fee5c20fa7be43337411c16ab31355f1670b'
32 'e3c337a6304ce8e375f36d610318a6a84dafeb36e6e1d5b06311d921c72cc24ae0af1fd10cd72df23f02ffc1e1184458023769dfde57902dda64ede3b502894e'
33 '1e637ed070d640b244406aed3fb944d8d4e655c8a6cd0c57bbdd65077d777bb0d6fbb4bcd39d8b07482b2e84a95e7a835fce1d8f227835070ca06749445b7c8b'
34 '67dd52572a4bc2db9ad629f92577d207a89407f9664cab6bfea0031dd4114e26b9f2d972ee70ae8f9fc78739565f2472be3a5021dce98fd6d734391001dbdb8f'
35 '1379fb4ed0f5934c3acb2273999640ad87a8461c65bc6d5def8514b02985e051f5f9510de0bde3435f2f8df4dcb62eba39256b786d4878e7086f78f03f71e111'
36 'cdf2e27e29c8b1809a7bbeb5974091afdaf3031b731136c1661188f3ad9f21459a3b6792c0f83af187352a0863955daa5a47307b5a571556dec3a208afb41209'
37 '91387963e7f921870deb17ff30f321155ca18021b5a9b35610b39eab194422d80ac7b71b0be34ee74df754af67cd252d6c3dd09eeddb0888810b978538a7fbeb'
38 '8fda94545e4660524a624d1b2d988b44e5dd624b2fc628076c07d923863bdb5dd9fe008c89288fb0493859b4fd08630bb710ed843d6eb23964940efc284d978f'
39 '9730bc1932f97192f65dc7ce08556086f32f79e117712386bbc0a6932604b64a8c77239952f9cce180700d1b78c233d4ba4d4688d08d4b8b7644ac3bffff9de2'
40 'ddf19fad421a97d5a18152dd0dfd90dec8d41506ca22cffd01c175405e366b8b31088440d58499fce42ea1ab80b061cf4fcbe8ffe5b07426d0ae64b78df93ad7'
41 'b06f0ad310cc3169d81fba147a6521eae1f671607c40c05b72a4b260fdbe58bc281a24a60505e51b15539502814546bc861b290bfa685a55f1910ef47acb3490'
42 '622388413cc236d057ba3905f4410e9faeabc892810be09f55787cbeab6ad00ae7a70f48ef63a5c468e16c7d5c5efc167c45a40ed9988483084de852b6909646'
43 '72159af0ac0807b36aea5f59f70e1a78d2c1e0383e57655ed7f57fbd5cd8dab5674a86a93d736ef2b91e981078e255328f4ebbcc7d855495c706979e4c1514d5'
44 '817acfa0a7327412a925d0a6f779ea5955f4b062aca4096e9b60c8d96d7ef27fc9c25040f58814998a02a36fc11895fe4c15759a1842c60602bade44a490dc58'
45 '652f33ce5196522ef85dec6e839678ef545a7f79bf3e7fba5c58eb9cac9c1531d2942b1481940fc68416b9bf67fcb7e82690e3d05772b7f6c4df3a8750e9082a'
46 'e2768a681746ebe1d77e92bc3576181db28de5f74e097c156cf7fe997e91b48100dde871857dab3ca002dd7f24172148a73a513bfbb1aea4a187942cc8f7e64f'
47 'ce0c181760f5395d0d55163a67eb270c329ea3f68570417da86e193a3196f26b8c08b793aee074b54bb028c2e61b6ce07b78e0c8fcb14eb10e86e5b5e8d33991'
48 '37a46adef50380247d41d5ffff9719c0e5d25a509846a4cf257cad9f210ff7876add365f516da77e7b04268f335bcdba62f1e2852206c08effd76bc8f4e73326'
49 '98e8abe7e5dd433479a5b82df8c3d5fa63c3ef4873058e55efa05c0cfde8eef0677f3fbd0ab9e6024dcc5c68b024652fdb1ce45f2a87ee51689953e6f4096f27'
50 '042aa31802c2a187df12b4297e5ffee4f13927e9d204d5ac00c7b9e42103ad7d7eb405b9111c84553b5053530814c924799ad2fd9bcfe72e88c785c954875eb5'
51 'f19d25f0ff2e71680d31d6188fac9777e76940965e08cd5969e0bec548c1005a80385c6aa9b61c2c1460a7cb28244726f222097caaeb8e3609a3c780dc0b1e48'
52 '57392678d6af3fb3539dd7d4710a327f0403d2bdac26f9760c34fa0dab7ec0daa9629155e20229975b837d9cf207ba74b9ac89007347c7b778ea0c595dafab0f'
53 '1f3510020655709ce2f18a67dc1569ed08d16d68fe164d912290050b6d0387439d7c912b512838633cfea9a4cb6a554637fca7d0035c5bc2b954fb415d3596bc'
54 '94c2590fd96730fa6395213778f0907b55263ac37bb9dab0c538984a6c030d193252decc6d44caf80c3513ff44b03041df241f1a87469689c513b85aa859a634'
55 'cff372343aa2dd1855f10dc98584c64e845e7e57f05a8b87e428d6c4570d75722625dd05876c2768be8c299ad3c27b41bf55aff5d39d6c1c3b5b38eaec6512c0'
56 '6c12e5759bab781a0408f2796bea87744960a49915b833c2ac92b83188671e1e5823a4dfecdf210e11229e2c3a1e84f8250fcb6bb32040d198768efc643af9d7'
57 '3fbcdfabf81de1c4618b17cd6ca9bdf431c067d780b31e3187664102d3b2bc00f3b1e20bfb9a15244fa95b00224897ad7da9e34bc45355296a10aa5511f26159'
58 '83b425f263c8d17335edb4c5ff678594d1975314a485cfa21dffda6582b72ab0cb36c88619a282a8d903ae18a1d1682541fef6f2931ff12471f0dec01bff6c8d')
59
60prepare() {
61 sh cuda_${pkgver}_${_driverver}_linux.run --target "${srcdir}" --noexec
62
63 # Fix up samples tht use findgllib_mk
64 #for f in builds/cuda_samples/*/*/findgllib.mk; do
65 # patch $f cuda-findgllib_mk.diff
66 #done
67}
68
69package() {
70 cd "${srcdir}/builds"
71
72 rm -r NVIDIA*.run bin
73 mkdir -p "${pkgdir}/opt/cuda/extras"
74 #mv cuda_samples "${pkgdir}/opt/cuda/samples"
75 mv integration nsight_compute nsight_systems EULA.txt "${pkgdir}/opt/cuda"
76 # mv cuda_sanitizer_api/compute-sanitizer "${pkgdir}/opt/cuda/extras/compute-sanitizer"
77 # rmdir cuda_sanitizer_api
78 for lib in *; do
79 if [ -d "$lib" ]; then
80 cp -r $lib/* "${pkgdir}/opt/cuda/"
81 fi
82 done
83
84 # Define compilers for CUDA to use.
85 # This allows us to use older versions of GCC if we have to.
86 ln -s /usr/bin/gcc "${pkgdir}/opt/cuda/bin/gcc"
87 ln -s /usr/bin/g++ "${pkgdir}/opt/cuda/bin/g++"
88
89 # Install profile and ld.so.config files
90 install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh"
91 install -Dm644 "${srcdir}/cuda.conf" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"
92
93 # Install pkgconfig files
94 mkdir -p "$pkgdir"/usr/lib/pkgconfig
95 cp "${srcdir}"/*.pc "${pkgdir}"/usr/lib/pkgconfig
96
97 mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
98 ln -s /opt/cuda/doc/pdf/EULA.pdf "${pkgdir}/usr/share/licenses/${pkgname}/EULA.pdf"
99
100 # Allow newer compilers to work. This is not officially supported in the Arch package but
101 # if users want to try, let them try.
102 # See https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#system-requirements
103 # for official requirements
104 sed -i "/.*unsupported GNU version.*/d" "${pkgdir}"/opt/cuda/targets/${CARCH}-linux/include/crt/host_config.h
105 sed -i "/.*unsupported clang version.*/d" "${pkgdir}"/opt/cuda/targets/${CARCH}-linux/include/crt/host_config.h
106
107 # Fix Makefile paths to CUDA
108 for f in $(find "$pkgdir"/opt/cuda -name Makefile); do
109 sed -i "s|/usr/local/cuda|/opt/cuda|g" "$f"
110 done
111
112 # As this was ported from the cuda arch package version 11.1 I'm not sure what to do with it
113 # didn't had any issues so far on my experiments
114
115 # NVIDIA has trouble with counting and numbering
116 # as well as the elusive concept of a SONAME so...
117 # ln -s /opt/cuda/targets/x86_64-linux/lib/libcudart.so.11.1.74 "${pkgdir}/opt/cuda/targets/x86_64-linux/lib/libcudart.so.11.1"
118}
119
120# vim:set ts=2 sw=2 et:
121

Scan history

Scanned at (UTC)SeverityRules
2026-09-22 11:40:10 Low 3
2026-09-22 11:37:52 Medium 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion