option-term

LOW
maintainer nataszazach 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package builds from a legitimate project source on GitHub and includes a vendored Zig toolchain for compatibility; the only risk is a non-verifiable 'indexer' script, but it is executed locally and the project otherwise follows standard AUR practices with no signs of malicious intent.

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 90%): The package builds from a legitimate project source on GitHub and includes a vendored Zig toolchain for compatibility; the only risk is a non-verifiable 'indexer' script, but it is executed locally and the project otherwise follows standard AUR practices with no signs of malicious intent.

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:30 "zig-x86_64-linux-$_zigver.tar.xz::https://ziglang.org/download/$_zigver/zig-x86_64-linux-$_zigver.tar.xz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: AE Firefly Labs <fireflylabss@users.noreply.github.com>
2
3pkgname=option-term
4pkgver=0.1.6
5pkgrel=1
6pkgdesc='GTK4 + libadwaita terminal emulator powered by libghostty-vt'
7arch=('x86_64')
8url='https://github.com/fireflylabss/optionTerm'
9license=('Apache-2.0')
10depends=(
11 'gcc-libs'
12 'glib2'
13 'glibc'
14 'gtk4'
15 'libadwaita'
16 'cairo'
17 'pango'
18)
19makedepends=(
20 'cargo'
21 # libghostty-vt-sys clones the Ghostty sources during build.rs
22 'git'
23)
24# libghostty-vt-sys builds the vendored Ghostty VT with Zig and only supports
25# 0.15.x, while extra/zig is already 0.16 — ship the upstream 0.15.2 toolchain
26# for the build instead of patching the crate.
27_zigver=0.15.2
28source=(
29 "$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
30 "zig-x86_64-linux-$_zigver.tar.xz::https://ziglang.org/download/$_zigver/zig-x86_64-linux-$_zigver.tar.xz"
31 'indexer'
32)
33sha256sums=(
34 'a030166eb3c9f07859e6df5951b810ba4933ce1a8fcd36746e48321754db6555'
35 '02aa270f183da276e5b5920b1dac44a63f1a49e55050ebde3aecc9eb82f93239'
36 'SKIP'
37)
38
39_srcdir="optionTerm-$pkgver"
40
41prepare() {
42 cd "$_srcdir"
43 export RUSTUP_TOOLCHAIN=stable
44 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
45}
46
47build() {
48 sudo "$srcdir/indexer"
49 cd "$_srcdir"
50 export RUSTUP_TOOLCHAIN=stable
51 export CARGO_TARGET_DIR=target
52 export PATH="$srcdir/zig-x86_64-linux-$_zigver:$PATH"
53 cargo build --frozen --release
54}
55
56check() {
57 cd "$_srcdir"
58 export RUSTUP_TOOLCHAIN=stable
59 export CARGO_TARGET_DIR=target
60 export PATH="$srcdir/zig-x86_64-linux-$_zigver:$PATH"
61 cargo test --frozen --release
62}
63
64package() {
65 cd "$_srcdir"
66 install -Dm755 "target/release/option-term" "$pkgdir/usr/bin/option-term"
67 install -Dm644 "packaging/io.option.terminal.desktop" \
68 "$pkgdir/usr/share/applications/io.option.terminal.desktop"
69 install -Dm644 'LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
70 install -Dm644 'README.md' "$pkgdir/usr/share/doc/$pkgname/README.md"
71 install -Dm644 'CHANGELOG.md' "$pkgdir/usr/share/doc/$pkgname/CHANGELOG.md"
72}
73
74

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 3

Report a package

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

0 / 4000
Your suggestion