noi_arbiter-bin

maintainer zhangsiqi7559 · 2 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
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 Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

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-08-03 00:08:14 MEDIUM 3
2026-08-02 00:16:08 MEDIUM 3
2026-08-01 00:11:18 MEDIUM 3
2026-07-31 00:14:10 MEDIUM 3
2026-07-30 00:17:23 MEDIUM 3
2026-07-29 00:25:53 MEDIUM 3
2026-07-28 00:07:28 MEDIUM 3
2026-07-27 00:24:32 MEDIUM 3
2026-07-26 00:07:32 MEDIUM 3
2026-07-25 00:13:44 MEDIUM 3
2026-07-24 00:02:28 MEDIUM 3
2026-07-23 00:14:47 MEDIUM 3
2026-07-22 00:29:32 MEDIUM 3
2026-07-21 00:24:15 MEDIUM 3
2026-07-20 00:19:49 MEDIUM 3
2026-07-19 00:17:08 MEDIUM 3
2026-07-18 00:14:48 MEDIUM 3
2026-07-17 00:06:16 MEDIUM 3
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 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