deepseek-free-api-git

LOW
maintainer Neboer 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The npx command is used to run @vercel/ncc, a legitimate bundler, on the project's own built code; this is a standard build step, not execution of arbitrary remote code.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The npx command is used to run @vercel/ncc, a legitimate bundler, on the project's own built code; this is a standard build step, not execution of arbitrary remote code.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium npx/bunx/deno executes a remote package remote_code_tool

`npx`/`bunx`/`pnpm dlx`/`deno run <url>` downloads AND runs a remote package at build time — the moral equivalent of piping a download into a shell. Severity downgraded: Node.js consumer context.

  • PKGBUILD:41 npx --yes @vercel/ncc build dist/index.js --minify --out ncc-dist --asset-builds

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Neboer <rubinposter@gmail.com>
2pkgname=deepseek-free-api-git
3pkgver=0.0.21
4pkgrel=2
5pkgdesc="DeepSeek V3 Free Service API"
6arch=('x86_64')
7url="https://github.com/LLM-Red-Team/deepseek-free-api"
8license=('GPL-3.0-only')
9depends=('nodejs')
10makedepends=('yarn' 'npm')
11backup=('etc/deepseek-free-api/config.env' 'etc/deepseek-free-api/system.yml')
12provides=("deepseek-free-api")
13conflicts=("deepseek-free-api")
14options=()
15source=("git+https://github.com/LLM-Red-Team/deepseek-free-api.git"
16 "deepseek-free-api.sysusers"
17 "deepseek-free-api.service"
18 "config.env"
19 "system.yml")
20
21sha256sums=('SKIP'
22 '4806233295ce40630f0bdd9226ef27eab8083594d8faf5f01ceb5900f636acd6'
23 '8d1115e202ec9f2be8d163c6fc149dac56d1c5d3a522ec9df2140822d6b51d02'
24 'c91381085b14292783c04b178f8c457f13b249b5ee4039e32a07cc398a2d8576'
25 'b4025f93844adbb98df9d877e6ce092f63ddf8fb50cf53167e1f9192164eedb0')
26
27pkgver() {
28 cd "$srcdir/deepseek-free-api"
29 local v
30 v="$(git describe --tags)"
31 v="${v#v}"
32 printf %s "${v//-/+}"
33}
34
35build() {
36 cd "$srcdir/deepseek-free-api"
37
38 # Build in release mode. Do not use --prod, as it will not install tsup, this is a mistake.
39 yarn install --frozen-lockfile
40 yarn run build
41 npx --yes @vercel/ncc build dist/index.js --minify --out ncc-dist --asset-builds
42}
43
44package() {
45 cd "$srcdir/deepseek-free-api"
46
47 # Install the binary
48 mkdir -p "$pkgdir/usr/lib/deepseek-free-api"
49
50 install -Dm644 "ncc-dist/index.js" "$pkgdir/usr/lib/deepseek-free-api"
51 install -Dm644 "package.json" "$pkgdir/usr/lib/deepseek-free-api/package.json"
52 # install -Dm644 "*.wasm" "$pkgdir/usr/lib/deepseek-free-api"
53 find . -name '*.wasm' -maxdepth 1 -exec install -Dm644 {} "$pkgdir/usr/lib/deepseek-free-api" \;
54
55 # skip node_modules, as it is not needed for the package. we have already use ncc to bundle the package.
56 # cp -r "node_modules" "$pkgdir/usr/lib/deepseek-free-api"
57 cp -r "public" "$pkgdir/usr/lib/deepseek-free-api"
58
59 # create config dir, will install config files here.
60 mkdir -p "$pkgdir/usr/lib/deepseek-free-api/configs/prod"
61
62
63 # Install the LICENSE and README
64 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/deepseek-free-api/LICENSE"
65 install -Dm644 README.md "$pkgdir/usr/share/doc/deepseek-free-api/README.md"
66
67 # Install the configuration file
68 install -Dm644 "$srcdir/config.env" "$pkgdir/etc/deepseek-free-api/config.env"
69 install -Dm644 "$srcdir/system.yml" "$pkgdir/etc/deepseek-free-api/system.yml"
70 # Create a symbolic link for system.yml
71 ln -s "/etc/deepseek-free-api/system.yml" "$pkgdir/usr/lib/deepseek-free-api/configs/prod/system.yml"
72
73
74 # Install User, Service
75 install -Dm644 "$srcdir/deepseek-free-api.sysusers" "$pkgdir/usr/lib/sysusers.d/deepseek-free-api.conf"
76 install -Dm644 "$srcdir/deepseek-free-api.service" "$pkgdir/usr/lib/systemd/system/deepseek-free-api.service"
77}
78

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion