cxstudy-wine
Triggered rules
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:12
'cxstudy-wine::git+https://gitcode.com/JingluWei_chn/cxstudy-wine.git')
llm_review
The static rules found a suspicious pattern they could not resolve, so an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed it and judged it HIGH (confidence 85%): This PKGBUILD has multiple severe issues beyond the non-standard git host: (1) It runs 'sudo wine regedit' inside the package() function, which executes Wine and modifies the user's Windows registry during package installation — this is arbitrary code execution in the build/install phase. (2) It uses 'sudo' inside package(), which is explicitly forbidden in AUR packaging and indicates the author expects to run privileged commands outside the normal makepkg sandbox. (3) It extracts opaque tar.gz archives (cxstudy.tar.gz, app.tar.gz) that are stored inside the git repository with no integrity verification (SKIP checksum on the git source, and no separate checksums for the embedded tarballs). (4) The git source is from gitcode.com (a Chinese mirror/forge) rather than the canonical atomgit.com URL referenced in the comments, meaning the actual source being fetched differs from the stated upstream. (5) The combination of unverifiable binary blobs in a git repo, execution of Wine with registry modification, and use of sudo constitutes a real code-execution supply-chain risk during installation.
PKGBUILD
1 offending line(s) highlighted# Maintainer: jingluwei <weijinglu at qq dot com>
pkgname=cxstudy-wine
pkgver=1.4.1
pkgrel=1
# https://atomgit.com/JingluWei_chn/cxstudy-wine/tree/master
pkgdesc="a version of repacked wine app of cxstudy(学习通)"
arch=('x86_64')
url=""https://atomgit.com/JingluWei_chn/cxstudy-wine/tree/master
license=('MIT')
depends=('wine>=9.22' 'wine-mono' 'wine-gecko' 'noto-fonts-cjk' 'tar' 'git')
source=(
'cxstudy-wine::git+https://gitcode.com/JingluWei_chn/cxstudy-wine.git')
sha256sums=('SKIP')
conflict=('cxstudy<=1.4.0')
package() {
cd "$srcdir"
#$pkgdir/usr/bin/lib/cxstudy-wine
mkdir -p "$pkgdir/usr/bin/lib"
cp -r "$srcdir/cxstudy-wine" "$pkgdir/usr/bin/lib"
cd "$pkgdir/usr/bin/lib/cxstudy-wine/1.4.0/1.4.0"
tar -zxvf "$pkgdir/usr/bin/lib/cxstudy-wine/1.4.0/1.4.0/cxstudy.tar.gz"
rm "$pkgdir/usr/bin/lib/cxstudy-wine/1.4.0/1.4.0/cxstudy.tar.gz"
cd "$pkgdir/usr/bin/lib/cxstudy-wine/1.4.0/1.4.0/resources"
tar -zxvf "$pkgdir/usr/bin/lib/cxstudy-wine/1.4.0/1.4.0/resources/app.tar.gz"
rm "$pkgdir/usr/bin/lib/cxstudy-wine/1.4.0/1.4.0/resources/app.tar.gz"
sudo mv $pkgdir/usr/bin/lib/cxstudy-wine/1.4.0/cxstudy-wine.desktop /usr/share/applications/cxstudy-wine.desktop
sudo chmod +x /usr/share/applications/cxstudy-wine.desktop
sudo wine regedit "$pkgdir/usr/bin/lib/cxstudy-wine/1.4.0/share/fontreplace.reg"
#wineboot -r
#reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\electron.app.学习通 /f
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | HIGH | 2 |
| 2026-08-02 00:16:08 | HIGH | 2 |
| 2026-08-01 00:11:18 | HIGH | 2 |
| 2026-07-31 00:14:10 | HIGH | 2 |
| 2026-07-30 00:17:23 | HIGH | 2 |
| 2026-07-29 00:25:53 | HIGH | 2 |
| 2026-07-28 00:07:28 | HIGH | 2 |
| 2026-07-27 00:24:32 | HIGH | 2 |
| 2026-07-26 00:07:32 | HIGH | 2 |
| 2026-07-25 00:13:44 | HIGH | 2 |
| 2026-07-24 00:02:28 | HIGH | 2 |
| 2026-07-23 00:14:47 | HIGH | 2 |
| 2026-07-22 00:29:32 | HIGH | 2 |
| 2026-07-21 00:24:15 | HIGH | 2 |
| 2026-07-20 00:19:49 | HIGH | 2 |
| 2026-07-19 00:17:08 | HIGH | 2 |
| 2026-07-18 00:14:48 | HIGH | 2 |
| 2026-07-17 00:06:16 | HIGH | 2 |
| 2026-07-16 00:05:41 | HIGH | 2 |
| 2026-07-15 00:09:25 | HIGH | 2 |