openjiuwen-web

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

Builds the project's own source from a git tag on gitcode.com (plausibly the project's own forge), runs standard npm install/build steps, and installs only static web assets and an nginx config example; the SKIP'd checksums and non-whitelisted host are mildly concerning but there is no prebuilt binary execution, obfuscation, or exfiltration.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 70%): Builds the project's own source from a git tag on gitcode.com (plausibly the project's own forge), runs standard npm install/build steps, and installs only static web assets and an nginx config example; the SKIP'd checksums and non-whitelisted host are mildly concerning but there is no prebuilt binary execution, obfuscation, or exfiltration.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:18 "git+https://gitcode.com/openJiuwen/agent-studio.git#tag=v${pkgver}"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: enihcam <enihcam@noreply.gitcode.com>
2pkgname=openjiuwen-web
3pkgver=0.1.8
4pkgrel=1
5pkgdesc="OpenJiuwen Studio frontend: React + Vite SPA, served as static files via nginx"
6arch=('x86_64')
7url="https://gitcode.com/openJiuwen/agent-studio"
8license=('Apache-2.0' 'LicenseRef-HarmonyOS-Sans-Fonts-1.0')
9depends=('nginx')
10makedepends=('nodejs' 'npm' 'git')
11optdepends=(
12 'openjiuwen-server: backend API at /api'
13 'nginx-mainline: server with HTTP/2 + Brotli; the stock nginx is also fine'
14)
15# gitcode.com's archive URL returns SPA HTML (no real tarball endpoint exposed),
16# so we use git+https:// directly. Anonymous clone is supported.
17source=(
18 "git+https://gitcode.com/openJiuwen/agent-studio.git#tag=v${pkgver}"
19 "openjiuwen-web.nginx.conf"
20 "HarmonyOS-Sans-Fonts.LICENSE"
21)
22sha256sums=(
23 'SKIP'
24 'SKIP' # local file, versioned with PKGBUILD
25 'SKIP'
26)
27# makepkg extracts git sources to ${srcdir}/agent-studio/ (basename, no version suffix)
28_srcdir_repo=agent-studio
29
30# The frontend has no package-lock.json shipped in the tag,
31# so we use `npm install` (not `npm ci`).
32# The build needs an expanded Node heap — match the upstream command.
33export NODE_OPTIONS='--max-old-space-size=8192 --max-semi-space-size=256'
34
35# Upstream bug: @assistant-ui/core@0.1.17 imports `tapClientLookup`,
36# but @assistant-ui/store@0.2.14+ renamed it to `useClientLookup`.
37# Pin store to the last good version (0.2.13) via npm overrides.
38prepare() {
39 local pkg="${srcdir}/${_srcdir_repo}/frontend/package.json"
40 jq '.overrides = (.overrides // {}) + {"@assistant-ui/store": "0.2.13"}' \
41 "${pkg}" > "${pkg}.tmp" && mv "${pkg}.tmp" "${pkg}"
42}
43
44build() {
45 cd "${srcdir}/${_srcdir_repo}/frontend"
46
47 # Install dependencies (resolves npm workspaces too)
48 npm install --no-audit --no-fund --prefer-offline
49
50 # Production build — produces dist/
51 npm run build
52}
53
54package() {
55 cd "${srcdir}/${_srcdir_repo}/frontend"
56
57 # Install built SPA to FHS-compliant webapps path
58 install -dm755 "${pkgdir}/usr/share/webapps/openjiuwen"
59 cp -a dist/. "${pkgdir}/usr/share/webapps/openjiuwen/"
60
61 # nginx sample config — user copies to /etc/nginx/sites-available/
62 install -Dm644 "${srcdir}/openjiuwen-web.nginx.conf" \
63 "${pkgdir}/etc/nginx/sites-available/openjiuwen-web.conf.example"
64
65 # Licenses
66 install -Dm644 "${srcdir}/${_srcdir_repo}/LICENSE" \
67 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
68 install -Dm644 "${srcdir}/HarmonyOS-Sans-Fonts.LICENSE" \
69 "${pkgdir}/usr/share/licenses/${pkgname}/HarmonyOS-Sans-Fonts.LICENSE"
70}

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