onq
maintainer visorcraft
· 0 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
The package downloads a prebuilt ONNX Runtime binary from a non-standard, unverifiable host (cdn.pyke.io) which could be swapped by an unrelated party, constituting a supply-chain risk.
Triggered rules
MEDIUM
npx/bunx/deno executes a remote package
remote_code_tool
`npx`/`bunx`/`pnpm dlx`/`deno run <url>` downloads AND runs a remote package at build time — the moral equivalent of piping a download into a shell. Severity downgraded: Node.js consumer context.
-
PKGBUILD:63
npx --offline tauri build --no-bundle
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:29
"onnxruntime-$_ortver-x86_64.tar.lzma2::https://cdn.pyke.io/0/pyke:ort-rs/ms@$_ortver/x86_64-unknown-linux-gnu.tar.lzma2"
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.
MEDIUM
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 85%): The package downloads a prebuilt ONNX Runtime binary from a non-standard, unverifiable host (cdn.pyke.io) which could be swapped by an unrelated party, constituting a supply-chain risk.
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: VisorCraft LLC <packages@visorcraft.com>
2
3
pkgname=onq
4
pkgver=1.12.0
5
pkgrel=1
6
_ortver=1.24.2
7
pkgdesc='Search-oriented encrypted prompt vault'
8
arch=('x86_64')
9
url='https://github.com/visorcraft/onQ'
10
license=('GPL-3.0-only' 'MIT')
11
depends=(
12
'cairo'
13
'dbus'
14
'gcc-libs'
15
'gdk-pixbuf2'
16
'glib2'
17
'glibc'
18
'gtk3'
19
'hicolor-icon-theme'
20
'libsoup3'
21
'webkit2gtk-4.1'
22
)
23
makedepends=('cargo' 'npm' 'pkgconf')
24
conflicts=('onq-bin' 'onq-git')
25
options=('!lto')
26
source=(
27
"$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
28
'com.visorcraft.onq.desktop'
29
"onnxruntime-$_ortver-x86_64.tar.lzma2::https://cdn.pyke.io/0/pyke:ort-rs/ms@$_ortver/x86_64-unknown-linux-gnu.tar.lzma2"
30
"onnxruntime-$_ortver-LICENSE::https://raw.githubusercontent.com/microsoft/onnxruntime/v$_ortver/LICENSE"
31
"onnxruntime-$_ortver-ThirdPartyNotices.txt::https://raw.githubusercontent.com/microsoft/onnxruntime/v$_ortver/ThirdPartyNotices.txt"
32
)
33
noextract=("onnxruntime-$_ortver-x86_64.tar.lzma2")
34
sha256sums=('f59e6b6c37b7607b6b1a92686b7b0f259f9a9a911093b6a5e7720d0de3cc5a6b'
35
'5ac2f4c83de25d9c254e7ff8cba2e016935f174a0a2110e9be229168813978d3'
36
'acc1cba79c337594ead1d88ca72516147aa60054c84217b53399a31caa5ba671'
37
'2f07c72751aed99790b8a4869cf2311df85a860b22ded05fa22803587a48922c'
38
'0e07b95f3a8d6230037707c5c4a2b554d12c4cb67369669ac255635528ffcee2')
39
40
prepare() {
41
cd "onQ-$pkgver"
42
export CARGO_HOME="$srcdir/cargo"
43
export npm_config_cache="$srcdir/npm-cache"
44
45
npm ci
46
install -d "$srcdir/onnxruntime"
47
xz --format=raw --lzma2=dict=64MiB -dc \
48
"$srcdir/onnxruntime-$_ortver-x86_64.tar.lzma2" |
49
bsdtar -xf - -C "$srcdir/onnxruntime"
50
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
51
}
52
53
build() {
54
cd "onQ-$pkgver"
55
export CARGO_HOME="$srcdir/cargo"
56
export CARGO_NET_OFFLINE=true
57
export CARGO_PROFILE_RELEASE_LTO=false
58
export npm_config_cache="$srcdir/npm-cache"
59
export npm_config_offline=true
60
export ORT_LIB_LOCATION="$srcdir/onnxruntime"
61
export RUSTFLAGS="${RUSTFLAGS:-} --remap-path-prefix=$srcdir=/usr/src/debug/$pkgname-$pkgver"
62
63
npx --offline tauri build --no-bundle
64
}
65
66
package() {
67
cd "onQ-$pkgver"
68
69
install -Dm755 target/release/onQ "$pkgdir/usr/bin/onq"
70
install -Dm644 "$srcdir/com.visorcraft.onq.desktop" \
71
"$pkgdir/usr/share/applications/com.visorcraft.onq.desktop"
72
73
install -Dm644 crates/onq-app/icons/32x32.png \
74
"$pkgdir/usr/share/icons/hicolor/32x32/apps/com.visorcraft.onq.png"
75
install -Dm644 crates/onq-app/icons/64x64.png \
76
"$pkgdir/usr/share/icons/hicolor/64x64/apps/com.visorcraft.onq.png"
77
install -Dm644 crates/onq-app/icons/128x128.png \
78
"$pkgdir/usr/share/icons/hicolor/128x128/apps/com.visorcraft.onq.png"
79
install -Dm644 crates/onq-app/icons/128x128@2x.png \
80
"$pkgdir/usr/share/icons/hicolor/256x256/apps/com.visorcraft.onq.png"
81
install -Dm644 crates/onq-app/icons/icon.png \
82
"$pkgdir/usr/share/icons/hicolor/512x512/apps/com.visorcraft.onq.png"
83
84
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
85
install -Dm644 "$srcdir/onnxruntime-$_ortver-LICENSE" \
86
"$pkgdir/usr/share/licenses/$pkgname/ONNX-Runtime-LICENSE"
87
install -Dm644 "$srcdir/onnxruntime-$_ortver-ThirdPartyNotices.txt" \
88
"$pkgdir/usr/share/licenses/$pkgname/ONNX-Runtime-ThirdPartyNotices.txt"
89
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
90
}
91
Changes since previous scan
--- PKGBUILD @ 2026-07-28 00:07+++ PKGBUILD @ 2026-08-03 00:08@@ -1,7 +1,7 @@ # Maintainer: VisorCraft LLC <packages@visorcraft.com> pkgname=onq-pkgver=1.11.4+pkgver=1.12.0 pkgrel=1 _ortver=1.24.2 pkgdesc='Search-oriented encrypted prompt vault'@@ -31,7 +31,7 @@ "onnxruntime-$_ortver-ThirdPartyNotices.txt::https://raw.githubusercontent.com/microsoft/onnxruntime/v$_ortver/ThirdPartyNotices.txt" ) noextract=("onnxruntime-$_ortver-x86_64.tar.lzma2")-sha256sums=('f14cfdf329004dbf410456b87bdeb4969abfbbf8e788eb3e5d0751f1882687ce'+sha256sums=('f59e6b6c37b7607b6b1a92686b7b0f259f9a9a911093b6a5e7720d0de3cc5a6b' '5ac2f4c83de25d9c254e7ff8cba2e016935f174a0a2110e9be229168813978d3' 'acc1cba79c337594ead1d88ca72516147aa60054c84217b53399a31caa5ba671' '2f07c72751aed99790b8a4869cf2311df85a860b22ded05fa22803587a48922c'Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 4 |
| 2026-08-02 00:16:08 | MEDIUM | 4 |
| 2026-08-01 00:11:18 | MEDIUM | 4 |
| 2026-07-31 00:14:10 | MEDIUM | 4 |
| 2026-07-30 00:17:23 | MEDIUM | 4 |
| 2026-07-29 00:25:53 | MEDIUM | 4 |
| 2026-07-28 05:37:03 | MEDIUM | 4 |
| 2026-07-28 00:07:28 | LOW | 4 |
| 2026-07-27 19:35:21 | MEDIUM | 3 |
| 2026-07-27 17:35:03 | MEDIUM | 3 |
| 2026-07-27 00:24:32 | MEDIUM | 4 |
| 2026-07-26 23:33:54 | MEDIUM | 4 |
| 2026-07-26 15:32:35 | MEDIUM | 4 |
| 2026-07-26 00:07:32 | MEDIUM | 4 |
| 2026-07-25 05:29:17 | MEDIUM | 4 |
| 2026-07-25 00:13:44 | MEDIUM | 4 |
| 2026-07-24 17:28:09 | MEDIUM | 4 |
| 2026-07-24 11:27:50 | MEDIUM | 4 |
| 2026-07-24 00:02:28 | MEDIUM | 4 |
| 2026-07-23 23:26:18 | MEDIUM | 4 |