photoprism-onnxruntime-bin

maintainer shtrophic · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads prebuilt ONNX Runtime libraries from the official photoprism.app domain, which is plausibly the project's own infrastructure; while the host is not a standard forge, the binaries are from the project's official source and used as dependencies, not executed directly in a malicious context.

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 the project's own infrastructure; while the host is not a standard forge, the binaries are from the project's official source and used as dependencies, not executed directly in a malicious context.

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.27.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=('547e40a48f1fe73e3f812d7c88a948612c23f896b91e4e2ee1e232d7b468246f'
25 '1a3227e1dc2f53d9f877c93278af500b15e26d99aa5ade877692138b3ab7d351')
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

Changes since previous scan

--- PKGBUILD @ 2026-06-19 19:07
+++ PKGBUILD @ 2026-08-03 00:08
@@ -3,7 +3,7 @@
_pkgbase=photoprism-onnxruntime
pkgbase="$_pkgbase-bin"
pkgname=($pkgbase $_pkgbase-cuda-bin)
-pkgver=1.26.0
+pkgver=1.27.0
pkgrel=1
pkgdesc="AI-Powered Photos App for the Decentralized Web (onnx runtime)"
arch=('x86_64')
@@ -13,7 +13,7 @@
source=(
"cpu.tar.gz::https://dl.photoprism.app/onnx/runtime/v$pkgver/onnxruntime-linux-x64-$pkgver.tgz"
- "cuda.tar.gz::https://dl.photoprism.app/onnx/runtime/v$pkgver/onnxruntime-linux-x64-gpu-$pkgver.tgz"
+ "cuda.tar.gz::https://dl.photoprism.app/onnx/runtime/v$pkgver/onnxruntime-linux-x64-gpu_cuda13-$pkgver.tgz"
)
noextract=(
@@ -21,8 +21,8 @@
"cuda.tar.gz"
)
-sha256sums=('1254da24fb389cf39dc0ff3451ab48301740ffbfcbaf646849df92f80ee92c57'
- 'cb7df7ee2ca0f962c7ce7c839aeae36223d146a91fb4646d62fb0046f297479f')
+sha256sums=('547e40a48f1fe73e3f812d7c88a948612c23f896b91e4e2ee1e232d7b468246f'
+ '1a3227e1dc2f53d9f877c93278af500b15e26d99aa5ade877692138b3ab7d351')
_package() {
mkdir -p "$srcdir/$1"

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 17:12:22 MEDIUM 1
2026-06-19 19:07:35 CLEAN 2
2026-06-18 18:55:24 CLEAN 2
2026-06-18 16:11:54 MEDIUM 1

Report a package

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

0 / 4000
Your suggestion