openjiuwen-connect

maintainer enihcam · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged Builds from the project's own git repository on gitcode.com with SKIP checksums; the bundled local files (wrapper scripts, install hook) are not downloaded from a remote host but are local sources, and pip installs only requirements from the checked-out source tree — no unverifiable prebuilt binaries or obfuscated payloads, just sloppy checksum hygiene and a non-whitelisted but plausibly project-owned forge host.

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 60%): Builds from the project's own git repository on gitcode.com with SKIP checksums; the bundled local files (wrapper scripts, install hook) are not downloaded from a remote host but are local sources, and pip installs only requirements from the checked-out source tree — no unverifiable prebuilt binaries or obfuscated payloads, just sloppy checksum hygiene and a non-whitelisted but plausibly project-owned forge host.

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:32 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-connect
3pkgver=0.1.8
4pkgrel=1
5pkgdesc="OpenJiuwen Connect: channel adapters (Telegram, Slack, etc.) + MCP server. Ships as a venv at /opt/openjiuwen-connect."
6arch=('x86_64')
7url="https://gitcode.com/openJiuwen/agent-studio"
8license=('Apache-2.0')
9depends=(
10 'python>=3.11.4'
11 'python-virtualenv'
12 'python-pip'
13 'python-click' # transitive of the channel adapters
14 # Channel adapters / MCP server runtime deps (namcap requires these to be
15 # declared even though the bundled venv ships the pip-installed copies):
16 'python-certifi'
17 'python-charset-normalizer'
18 'python-cryptography'
19 'python-dotenv'
20 'python-idna'
21 'python-legacy-cgi' # transitive: stdlib `cgi` was removed in Python 3.13
22 'python-numpy'
23 'python-requests'
24 'python-urllib3'
25 'python-yaml'
26)
27makedepends=('python-pip')
28optdepends=(
29 'openjiuwen-server: backend that the channel adapters and MCP server proxy to'
30)
31_srcdir_repo=agent-studio
32source=("git+https://gitcode.com/openJiuwen/agent-studio.git#tag=v${pkgver}")
33source+=("openjiuwen-channel-runner")
34source+=("openjiuwen-mcp-server")
35source+=("openjiuwen-connect.install")
36sha256sums=('SKIP')
37sha256sums+=('SKIP')
38sha256sums+=('SKIP')
39sha256sums+=('SKIP')
40
41# Notes:
42# - The upstream connect/ tree has no pyproject.toml, so we cannot build a wheel.
43# We install it into a venv at /opt/openjiuwen-connect/venv/ alongside the
44# adapter deps listed in connect/adapters/*/requirements.txt.
45# - This is intentionally not split into per-channel subpackages because the
46# upstream tree couples them under one umbrella and most users want both.
47
48build() {
49 local srcdir_top="${srcdir}/${_srcdir_repo:-agent-studio}"
50 local venv="${srcdir}/venv"
51
52 python -m venv --system-site-packages "${venv}"
53 "${venv}/bin/pip" install --no-cache-dir --upgrade pip wheel
54
55 # Merge requirements from each adapter subpackage, then install once.
56 local merged="${srcdir}/requirements-merged.txt"
57 : > "${merged}"
58 for req in "${srcdir_top}"/connect/adapters/*/requirements.txt; do
59 [ -f "${req}" ] || continue
60 echo "# --- ${req##*/connect/} ---" >> "${merged}"
61 grep -vE '^\s*(#|$)' "${req}" >> "${merged}" || true
62 done
63 "${venv}/bin/pip" install --no-cache-dir -r "${merged}"
64}
65
66package() {
67 local srcdir_top="${srcdir}/${_srcdir_repo:-agent-studio}"
68
69 # Install the venv (built in build()) under /usr/lib/ — namcap forbids ELF
70 # files under /opt/, and the venv bundles .so extensions (pydantic_core,
71 # aiohttp, frozenlist, yarl, rpds, propcache, multidict, audioop, etc.).
72 install -dm755 "${pkgdir}/usr/lib/openjiuwen-connect"
73 cp -a "${srcdir}/venv" "${pkgdir}/usr/lib/openjiuwen-connect/venv"
74
75 # Lay out the connect/ source tree under /usr/share/ (FHS read-only data).
76 install -dm755 "${pkgdir}/usr/share/openjiuwen-connect"
77 cp -a "${srcdir_top}/connect/." "${pkgdir}/usr/share/openjiuwen-connect/src/"
78
79 # Wrapper scripts in /usr/bin/
80 install -Dm755 "${srcdir}/openjiuwen-channel-runner" \
81 "${pkgdir}/usr/bin/openjiuwen-channel-runner"
82 install -Dm755 "${srcdir}/openjiuwen-mcp-server" \
83 "${pkgdir}/usr/bin/openjiuwen-mcp-server"
84
85 # Sample configuration directory (user copies/adapts)
86 install -dm755 "${pkgdir}/etc/openjiuwen-connect"
87 install -Dm644 /dev/null "${pkgdir}/etc/openjiuwen-connect/.keepdir"
88
89 # License
90 install -Dm644 "${srcdir_top}/LICENSE" \
91 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
92
93 # Install hook (notes how to activate)
94 install -Dm755 "${srcdir}/openjiuwen-connect.install" \
95 "${pkgdir}/usr/share/libalpm/scripts/openjiuwen-connect.install"
96}

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