libtorch-cuda

LOW
maintainer chengscott 1 votes scanned 2026-10-23 00:02:19.781852
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
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: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
1# Maintainer: Scott Cheng <aur@chengscott.io>
2# Contributor: Cory Jorgensen <coryj@gmx.com>
3
4pkgname=libtorch-cuda
5_name="${pkgname%%-cuda}"
6pkgver=2.14.0
7_ver=cu132
8pkgrel=1
9pkgdesc='PyTorch C++ API'
10arch=('x86_64')
11url='https://pytorch.org/'
12license=('BSD')
13provides=("${_name}")
14conflicts=("${_name}")
15source=("${_name}_${_ver}-${pkgver}.zip"::"https://download.pytorch.org/libtorch/${_ver}/libtorch-shared-with-deps-${pkgver}%2B${_ver}.zip")
16b2sums=('90a3bf36c78d690d6e2d9a427f5482a59063b400ddc6074743a60e0f73d79ae26ac63d8471fc83506ae887efd0b5f4c7d35eb342d032d9b269ba0aa0853fc97c')
17options=(!strip libtool staticlibs !debug)
18
19package() {
20 install -vdm755 "${pkgdir}/opt"
21 cp -r "${srcdir}/${_name}" "${pkgdir}/opt"
22}
23

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)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion