photoprism-onnxruntime-cuda-bin

LOW
maintainer shtrophic 0 votes base photoprism-onnxruntime-bin scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads prebuilt ONNX Runtime libraries from the official photoprism.app domain, which is plausibly controlled by the project;虽非标准主机 but not inherently untrustworthy, and the binaries are self-contained libraries for a specific AI feature, with checksums provided and no execution of arbitrary remote code during install.

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 package downloads prebuilt ONNX Runtime libraries from the official photoprism.app domain, which is plausibly controlled by the project;虽非标准主机 but not inherently untrustworthy, and the binaries are self-contained libraries for a specific AI feature, with checksums provided and no execution of arbitrary remote code during install.

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 "cpu.tar.gz::https://dl.photoprism.app/onnx/runtime/v$pkgver/onnxruntime-linux-x64-$pkgver.tgz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: shtrophic <aur@shtrophic.net>
2
3_pkgbase=photoprism-onnxruntime
4pkgbase="$_pkgbase-bin"
5pkgname=($pkgbase $_pkgbase-cuda-bin)
6pkgver=1.29.0
7pkgrel=1
8pkgdesc="AI-Powered Photos App for the Decentralized Web (onnx runtime)"
9arch=('x86_64')
10url="https://github.com/photoprism/photoprism"
11license=('MIT')
12provides=($_pkgbase)
13
14source=(
15 "cpu.tar.gz::https://dl.photoprism.app/onnx/runtime/v$pkgver/onnxruntime-linux-x64-$pkgver.tgz"
16 "cuda.tar.gz::https://dl.photoprism.app/onnx/runtime/v$pkgver/onnxruntime-linux-x64-gpu_cuda13-$pkgver.tgz"
17)
18
19noextract=(
20 "cpu.tar.gz"
21 "cuda.tar.gz"
22)
23
24sha256sums=('c3fddc4f139a045b0c4902c57410f0694f1c2fdf9b6939fbe38b1aeae7cd14ba'
25 '844c64acfc43ab9423215c26493055ea229268e28283146cc644ecef0bdae048')
26
27_package() {
28 mkdir -p "$srcdir/$1"
29 cd "$srcdir/$1"
30
31 bsdtar --strip-components 1 -xf "$srcdir/$1.tar.gz"
32
33 mkdir -p "$pkgdir/usr/lib/photoprism"
34 mv lib/lib*.so* "$pkgdir/usr/lib/photoprism"
35}
36
37package_photoprism-onnxruntime-bin() {
38 _package cpu
39}
40
41package_photoprism-onnxruntime-cuda-bin() {
42 _package cuda
43}
44

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
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

Report a package

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

0 / 4000
Your suggestion