mirai-server-git
The package builds from a public Git repository with a SKIP'd checksum, but it is a recent, low-vote AUR package building its own source via standard Rust tooling without executing untrusted remote code or installing prebuilt binaries.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from a public Git repository with a SKIP'd checksum, but it is a recent, low-vote AUR package building its own source via standard Rust tooling without executing untrusted remote code or installing prebuilt binaries.
PKGBUILD
# Maintainer: Huang Zhaobin <zhaob1n@foxmail.com>
# SPDX-License-Identifier: 0BSD
pkgname=mirai-server-git
_repo=mirai
pkgver=r390.37c474e
pkgrel=1
pkgdesc='Headless host sharing KataGo with mirai clients over the network'
arch=('x86_64' 'aarch64')
url='https://github.com/zhaob1n/mirai'
license=('GPL-3.0-or-later')
depends=('glibc' 'libgcc')
makedepends=('cargo' 'git' 'just')
optdepends=('katago: the engine it serves (katago-opencl, katago-cuda, ...)')
provides=('mirai-server')
conflicts=('mirai-server')
# makepkg's LTO turns the C that ring and zstd-sys build into GCC bitcode, which rust-lld,
# rustc's default linker, cannot read: every C symbol is then undefined at link time.
options=('!lto')
source=("$_repo::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_repo"
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
prepare() {
cd "$_repo"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc --print host-tuple)"
}
build() {
cd "$_repo"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
cargo build --frozen --release -p mirai-server
}
package() {
cd "$_repo"
DESTDIR="$pkgdir" PREFIX=/usr just install mirai-server
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-06 00:13:36 | Low | 2 |
| 2026-10-05 23:40:58 | Low | 2 |