libtorch-cuda
The source is a prebuilt PyTorch C++ library from download.pytorch.org, which is the official project domain; despite the non-whitelisted host flag, this is a legitimate and expected source for the package, and the download is verified via b2sum.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a prebuilt PyTorch C++ library from download.pytorch.org, which is the official project domain; despite the non-whitelisted host flag, this is a legitimate and expected source for the package, and the download is verified via b2sum.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:15
source=("${_name}_${_ver}-${pkgver}.zip"::"https://download.pytorch.org/libtorch/${_ver}/libtorch-shared-with-deps-${pkgver}%2B${_ver}.zip")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Scott Cheng <aur@chengscott.io>
# Contributor: Cory Jorgensen <coryj@gmx.com>
pkgname=libtorch-cuda
_name="${pkgname%%-cuda}"
pkgver=2.14.0
_ver=cu132
pkgrel=1
pkgdesc='PyTorch C++ API'
arch=('x86_64')
url='https://pytorch.org/'
license=('BSD')
provides=("${_name}")
conflicts=("${_name}")
source=("${_name}_${_ver}-${pkgver}.zip"::"https://download.pytorch.org/libtorch/${_ver}/libtorch-shared-with-deps-${pkgver}%2B${_ver}.zip")
b2sums=('90a3bf36c78d690d6e2d9a427f5482a59063b400ddc6074743a60e0f73d79ae26ac63d8471fc83506ae887efd0b5f4c7d35eb342d032d9b269ba0aa0853fc97c')
options=(!strip libtool staticlibs !debug)
package() {
install -vdm755 "${pkgdir}/opt"
cp -r "${srcdir}/${_name}" "${pkgdir}/opt"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-05 23:40+++ PKGBUILD @ 2026-10-23 00:02@@ -3,7 +3,7 @@ pkgname=libtorch-cuda _name="${pkgname%%-cuda}"-pkgver=2.14.1+pkgver=2.14.0 _ver=cu132 pkgrel=1 pkgdesc='PyTorch C++ API'@@ -13,7 +13,7 @@ provides=("${_name}") conflicts=("${_name}") source=("${_name}_${_ver}-${pkgver}.zip"::"https://download.pytorch.org/libtorch/${_ver}/libtorch-shared-with-deps-${pkgver}%2B${_ver}.zip")-b2sums=('f048c8c1276d6a042cd8d7017aa998c9ade394e481951dc81e955dab06ca87ae5d956508014d23bbc7ad95311e70d3f0070b0dafc3f813b58ee9917ab42567b5')+b2sums=('90a3bf36c78d690d6e2d9a427f5482a59063b400ddc6074743a60e0f73d79ae26ac63d8471fc83506ae887efd0b5f4c7d35eb342d032d9b269ba0aa0853fc97c') options=(!strip libtool staticlibs !debug) package() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |
| 2026-10-12 00:18:51 | Low | 2 |
| 2026-10-11 00:26:05 | Low | 2 |
| 2026-10-10 00:11:52 | Low | 2 |
| 2026-10-09 00:05:33 | Low | 2 |
| 2026-10-08 00:28:03 | Low | 2 |
| 2026-10-07 00:21:34 | Low | 2 |
| 2026-10-06 00:13:36 | Low | 2 |
| 2026-10-05 23:40:58 | Medium | 1 |
| 2026-10-05 00:08:03 | Low | 2 |