noi_arbiter-bin

MEDIUM
maintainer orphaned 2 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The PKGBUILD downloads and installs a prebuilt binary ('arbiter_local') from 'oj.zigao.info', which is not the official NOI/CCF infrastructure (noi.cn). The binary is installed with execute permissions (Dm755) directly into /usr/bin. While a sha256sum is provided (offering some integrity protection), the hash only guarantees the file hasn't changed since the PKGBUILD was written — it does not establish that the binary is trustworthy or unmodified from the official CCF release. The official URL points to noi.cn but the actual binary comes from a third-party personal/unofficial host. Additionally, arbiter-filter is pulled from GitHub (wxt1221/arbiter-filter) with SKIP checksum and also installed with execute permissions. The combination of an unverifiable prebuilt binary from a non-official host plus a GitHub repo with skipped checksum constitutes a genuine supply-chain risk, consistent with a MEDIUM rating.

Triggered rules

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:8 source=("https://oj.zigao.info/arbiter_local" "arbiter_local.png" "git+https://github.com/wxt1221/arbiter-filter" "run.sh" "arbiter.desktop")
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD downloads and installs a prebuilt binary ('arbiter_local') from 'oj.zigao.info', which is not the official NOI/CCF infrastructure (noi.cn). The binary is installed with execute permissions (Dm755) directly into /usr/bin. While a sha256sum is provided (offering some integrity protection), the hash only guarantees the file hasn't changed since the PKGBUILD was written — it does not establish that the binary is trustworthy or unmodified from the official CCF release. The official URL points to noi.cn but the actual binary comes from a third-party personal/unofficial host. Additionally, arbiter-filter is pulled from GitHub (wxt1221/arbiter-filter) with SKIP checksum and also installed with execute permissions. The combination of an unverifiable prebuilt binary from a non-official host plus a GitHub repo with skipped checksum constitutes a genuine supply-chain risk, consistent with a MEDIUM rating.

PKGBUILD

1 offending line(s) highlighted
1pkgname=noi_arbiter-bin
2_ver=2.0
3pkgver=${_ver}
4pkgrel=1
5pkgdesc="Arbiter is used to judge problems in NOI. Written by CCF."
6arch=('x86_64')
7url="https://www.noi.cn/gynoi/jsgz/2021-07-16/732450.shtml"
8source=("https://oj.zigao.info/arbiter_local" "arbiter_local.png" "git+https://github.com/wxt1221/arbiter-filter" "run.sh" "arbiter.desktop")
9sha256sums=("5bf81bbac150ca7feb37bcb5cb9789cb4affa37b8745d2f32e7bee246c37c83f"
10 "d74bbf3e6b4cc23bc61e4ac2826659e1fc40b9f812b7eb5e0ea65bc9c6ff6f9a"
11 "SKIP"
12 "e4c0d030a8439597897fa87e29fc730e527efc0f799c4f3faabde5ab6a117cc9"
13 "b7461be4a8bdfc02cf7d60471a267419698f7d8f7a5559327b3f037f66e4dd14")
14package(){
15 install -Dm755 "arbiter_local" "${pkgdir}/usr/bin/${pkgname}2/${pkgname}"
16 install -Dm644 "arbiter.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
17 install -Dm755 "arbiter_local.png" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/${pkgname}.png"
18 mkdir ${pkgdir}/usr/bin/${pkgname}2/filter/
19 cp -rf arbiter-filter/* ${pkgdir}/usr/bin/${pkgname}2/filter/
20 chmod 755 ${pkgdir}/usr/bin/${pkgname}2/filter/*
21 install -Dm755 "run.sh" "${pkgdir}/usr/bin/${pkgname}"
22}
23

Scan history

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

Report a package

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

0 / 4000
Your suggestion