new-api-bin
MEDIUM
maintainer tsaitang
0 votes
scanned 2026-09-03 17:54:21.348771
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>
2
pkgname=new-api-bin
3
pkgver=1.0.0.rc.31
4
pkgrel=1
5
pkgdesc='OpenAI API management and distribution'
6
arch=('x86_64')
7
url='https://github.com/QuantumNous/new-api'
8
license=('MIT')
9
depends=()
10
backup=('etc/new-api/.env')
11
_upver=1.0.0-rc.31
12
source=("https://github.com/QuantumNous/new-api/releases/download/v${_upver}/new-api-v${_upver}")
13
sha256sums=('SKIP')
14
15
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-03 17:54:21 | Medium | 2 |