new-api-bin

MEDIUM
maintainer tsaitang 0 votes scanned 2026-09-03 17:54:21.348771
View on AUR
Why flagged

The package installs a prebuilt binary from a GitHub release with an unverifiable 'SKIP' checksum, creating a supply-chain risk if the source were tampered with.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Medium AI review of an ambiguous pattern llm_review

The static rules found a suspicious pattern they could not resolve, so an AI model (qwen/qwen3-235b-a22b-2507) reviewed it and judged it MEDIUM (confidence 95%): The package installs a prebuilt binary from a GitHub release with an unverifiable 'SKIP' checksum, creating a supply-chain risk if the source were tampered with.

PKGBUILD

1# Maintainer: tsaitang <tsaitang404@gmail.com>
2pkgname=new-api-bin
3pkgver=1.0.0.rc.31
4pkgrel=1
5pkgdesc='OpenAI API management and distribution'
6arch=('x86_64')
7url='https://github.com/QuantumNous/new-api'
8license=('MIT')
9depends=()
10backup=('etc/new-api/.env')
11_upver=1.0.0-rc.31
12source=("https://github.com/QuantumNous/new-api/releases/download/v${_upver}/new-api-v${_upver}")
13sha256sums=('SKIP')
14
15package() {
16 install -Dm755 "$srcdir/new-api-v${_upver}" "$pkgdir/usr/bin/new-api"
17 install -dm755 "$pkgdir/etc/new-api"
18 echo "PORT=3000" > "$pkgdir/etc/new-api/.env"
19 echo "SESSION_SECRET=$(openssl rand -hex 24)" >> "$pkgdir/etc/new-api/.env"
20 echo "TZ=Asia/Shanghai" >> "$pkgdir/etc/new-api/.env"
21}
22

Scan history

Scanned at (UTC)SeverityRules
2026-09-03 17:54:21 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