noi_arbiter-bin
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
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")
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) highlightedpkgname=noi_arbiter-bin
_ver=2.0
pkgver=${_ver}
pkgrel=1
pkgdesc="Arbiter is used to judge problems in NOI. Written by CCF."
arch=('x86_64')
url="https://www.noi.cn/gynoi/jsgz/2021-07-16/732450.shtml"
source=("https://oj.zigao.info/arbiter_local" "arbiter_local.png" "git+https://github.com/wxt1221/arbiter-filter" "run.sh" "arbiter.desktop")
sha256sums=("5bf81bbac150ca7feb37bcb5cb9789cb4affa37b8745d2f32e7bee246c37c83f"
"d74bbf3e6b4cc23bc61e4ac2826659e1fc40b9f812b7eb5e0ea65bc9c6ff6f9a"
"SKIP"
"e4c0d030a8439597897fa87e29fc730e527efc0f799c4f3faabde5ab6a117cc9"
"b7461be4a8bdfc02cf7d60471a267419698f7d8f7a5559327b3f037f66e4dd14")
package(){
install -Dm755 "arbiter_local" "${pkgdir}/usr/bin/${pkgname}2/${pkgname}"
install -Dm644 "arbiter.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm755 "arbiter_local.png" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/${pkgname}.png"
mkdir ${pkgdir}/usr/bin/${pkgname}2/filter/
cp -rf arbiter-filter/* ${pkgdir}/usr/bin/${pkgname}2/filter/
chmod 755 ${pkgdir}/usr/bin/${pkgname}2/filter/*
install -Dm755 "run.sh" "${pkgdir}/usr/bin/${pkgname}"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |