openjiuwen-connect
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
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)
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# Maintainer: enihcam <enihcam@noreply.gitcode.com>
pkgname=openjiuwen-connect
pkgver=0.1.8
pkgrel=1
pkgdesc="OpenJiuwen Connect: channel adapters (Telegram, Slack, etc.) + MCP server. Ships as a venv at /opt/openjiuwen-connect."
arch=('x86_64')
url="https://gitcode.com/openJiuwen/agent-studio"
license=('Apache-2.0')
depends=(
'python>=3.11.4'
'python-virtualenv'
'python-pip'
'python-click' # transitive of the channel adapters
# Channel adapters / MCP server runtime deps (namcap requires these to be
# declared even though the bundled venv ships the pip-installed copies):
'python-certifi'
'python-charset-normalizer'
'python-cryptography'
'python-dotenv'
'python-idna'
'python-legacy-cgi' # transitive: stdlib `cgi` was removed in Python 3.13
'python-numpy'
'python-requests'
'python-urllib3'
'python-yaml'
)
makedepends=('python-pip')
optdepends=(
'openjiuwen-server: backend that the channel adapters and MCP server proxy to'
)
_srcdir_repo=agent-studio
source=("git+https://gitcode.com/openJiuwen/agent-studio.git#tag=v${pkgver}")
source+=("openjiuwen-channel-runner")
source+=("openjiuwen-mcp-server")
source+=("openjiuwen-connect.install")
sha256sums=('SKIP')
sha256sums+=('SKIP')
sha256sums+=('SKIP')
sha256sums+=('SKIP')
# Notes:
# - The upstream connect/ tree has no pyproject.toml, so we cannot build a wheel.
# We install it into a venv at /opt/openjiuwen-connect/venv/ alongside the
# adapter deps listed in connect/adapters/*/requirements.txt.
# - This is intentionally not split into per-channel subpackages because the
# upstream tree couples them under one umbrella and most users want both.
build() {
local srcdir_top="${srcdir}/${_srcdir_repo:-agent-studio}"
local venv="${srcdir}/venv"
python -m venv --system-site-packages "${venv}"
"${venv}/bin/pip" install --no-cache-dir --upgrade pip wheel
# Merge requirements from each adapter subpackage, then install once.
local merged="${srcdir}/requirements-merged.txt"
: > "${merged}"
for req in "${srcdir_top}"/connect/adapters/*/requirements.txt; do
[ -f "${req}" ] || continue
echo "# --- ${req##*/connect/} ---" >> "${merged}"
grep -vE '^\s*(#|$)' "${req}" >> "${merged}" || true
done
"${venv}/bin/pip" install --no-cache-dir -r "${merged}"
}
package() {
local srcdir_top="${srcdir}/${_srcdir_repo:-agent-studio}"
# Install the venv (built in build()) under /usr/lib/ — namcap forbids ELF
# files under /opt/, and the venv bundles .so extensions (pydantic_core,
# aiohttp, frozenlist, yarl, rpds, propcache, multidict, audioop, etc.).
install -dm755 "${pkgdir}/usr/lib/openjiuwen-connect"
cp -a "${srcdir}/venv" "${pkgdir}/usr/lib/openjiuwen-connect/venv"
# Lay out the connect/ source tree under /usr/share/ (FHS read-only data).
install -dm755 "${pkgdir}/usr/share/openjiuwen-connect"
cp -a "${srcdir_top}/connect/." "${pkgdir}/usr/share/openjiuwen-connect/src/"
# Wrapper scripts in /usr/bin/
install -Dm755 "${srcdir}/openjiuwen-channel-runner" \
"${pkgdir}/usr/bin/openjiuwen-channel-runner"
install -Dm755 "${srcdir}/openjiuwen-mcp-server" \
"${pkgdir}/usr/bin/openjiuwen-mcp-server"
# Sample configuration directory (user copies/adapts)
install -dm755 "${pkgdir}/etc/openjiuwen-connect"
install -Dm644 /dev/null "${pkgdir}/etc/openjiuwen-connect/.keepdir"
# License
install -Dm644 "${srcdir_top}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# Install hook (notes how to activate)
install -Dm755 "${srcdir}/openjiuwen-connect.install" \
"${pkgdir}/usr/share/libalpm/scripts/openjiuwen-connect.install"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |