openjiuwen-sandbox

maintainer enihcam · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged Builds from a tagged git source on gitcode.com (plausibly the project's own forge), installs Python wheels built from that source; the non-whitelisted host and SKIP'd checksums are the only concerns, but no prebuilt binaries are downloaded from unrelated hosts and no obfuscated/exfiltration code is present.

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 from a tagged git source on gitcode.com (plausibly the project's own forge), installs Python wheels built from that source; the non-whitelisted host and SKIP'd checksums are the only concerns, but no prebuilt binaries are downloaded from unrelated hosts and no obfuscated/exfiltration code is present.

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:28 source=("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-sandbox
3pkgver=0.1.8
4pkgrel=1
5pkgdesc="OpenJiuwen sandbox + gateway: code-execution sandbox server and gateway proxy"
6arch=('x86_64')
7url="https://gitcode.com/openJiuwen/agent-studio"
8license=('Apache-2.0')
9depends=(
10 'python>=3.11.4'
11 'python-fastapi>=0.124.0'
12 'uvicorn>=0.38.0'
13 'python-httpx>=0.28.0'
14 'python-yaml'
15 'python-dotenv'
16 'python-libseccomp-git'
17)
18makedepends=(
19 'python-build'
20 'python-installer'
21 'python-wheel'
22 'python-setuptools'
23)
24optdepends=(
25 'openjiuwen-server: backend that consumes this sandbox via CODE_SANDBOX_URL'
26)
27_srcdir_repo=agent-studio
28source=("git+https://gitcode.com/openJiuwen/agent-studio.git#tag=v${pkgver}")
29source+=("openjiuwen-sandbox.service")
30source+=("openjiuwen-sandbox-gateway.service")
31source+=("openjiuwen-sandbox.sysusers")
32source+=("openjiuwen-sandbox.tmpfiles")
33sha256sums=('SKIP')
34sha256sums+=('SKIP')
35sha256sums+=('SKIP')
36sha256sums+=('SKIP')
37sha256sums+=('SKIP')
38
39build() {
40 local srcdir_top="${srcdir}/${_srcdir_repo:-agent-studio}"
41
42 cd "${srcdir_top}/sandbox_server/sandbox"
43 python -m build --wheel --no-isolation
44
45 cd "${srcdir_top}/sandbox_server/gateway"
46 python -m build --wheel --no-isolation
47}
48
49package() {
50 local srcdir_top="${srcdir}/${_srcdir_repo:-agent-studio}"
51
52 # Install both wheels into separate staging dirs, then merge. Using separate
53 # dirs avoids installer failing with FileExistsError if a previous failed
54 # build left stale files at ${srcdir}/staging (makepkg does not auto-clean
55 # its workdir between runs without -C).
56 local staging_s="${srcdir}/staging-sandbox"
57 local staging_g="${srcdir}/staging-gateway"
58 rm -rf "${staging_s}" "${staging_g}"
59 install -dm755 "${staging_s}" "${staging_g}"
60 python -m installer --destdir="${staging_s}" --compile-bytecode=1 \
61 "${srcdir_top}/sandbox_server/sandbox/dist/"*.whl
62 python -m installer --destdir="${staging_g}" --compile-bytecode=1 \
63 "${srcdir_top}/sandbox_server/gateway/dist/"*.whl
64
65 # Merge into one staging tree for the move into /opt
66 local staging="${srcdir}/staging"
67 rm -rf "${staging}"
68 install -dm755 "${staging}"
69 cp -a "${staging_s}/." "${staging}/"
70 cp -a "${staging_g}/." "${staging}/"
71
72 # Lay out /opt/openjiuwen-sandbox
73 install -dm755 "${pkgdir}/opt/openjiuwen-sandbox/lib"
74 cp -a "${staging}/usr/lib/python3"*/site-packages/. \
75 "${pkgdir}/opt/openjiuwen-sandbox/lib/"
76
77 # Runtime / state dirs
78 install -dm750 "${pkgdir}/var/lib/openjiuwen-sandbox"
79 install -dm755 "${pkgdir}/var/log/openjiuwen-sandbox"
80
81 # Licenses
82 install -Dm644 "${srcdir_top}/LICENSE" \
83 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
84
85 # Systemd units (two services in one package)
86 install -Dm644 "${srcdir}/openjiuwen-sandbox.service" \
87 "${pkgdir}/usr/lib/systemd/system/openjiuwen-sandbox.service"
88 install -Dm644 "${srcdir}/openjiuwen-sandbox-gateway.service" \
89 "${pkgdir}/usr/lib/systemd/system/openjiuwen-sandbox-gateway.service"
90
91 install -Dm644 "${srcdir}/openjiuwen-sandbox.sysusers" \
92 "${pkgdir}/usr/lib/sysusers.d/openjiuwen-sandbox.conf"
93 install -Dm644 "${srcdir}/openjiuwen-sandbox.tmpfiles" \
94 "${pkgdir}/usr/lib/tmpfiles.d/openjiuwen-sandbox.conf"
95}

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 3
2026-07-26 00:07:32 LOW 3
2026-07-25 00:13:44 LOW 3
2026-07-24 00:02:28 LOW 3
2026-07-23 00:14:47 LOW 3
2026-07-22 00:29:32 LOW 3
2026-07-21 00:24:15 LOW 3
2026-07-20 00:19:49 LOW 3
2026-07-19 00:17:08 LOW 3
2026-07-18 00:14:48 LOW 3
2026-07-17 00:06:16 LOW 3
2026-07-16 00:05:41 LOW 3
2026-07-15 00:09:25 LOW 3

Report a package

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

0 / 4000
Your suggestion