tg-ws-proxy-git

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

The pip install commands are used to install the project's own source and pyinstaller within a local venv for building a bundled executable; this is normal build behavior for Python applications and does not involve installing untrusted external packages.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The pip install commands are used to install the project's own source and pyinstaller within a local venv for building a bundled executable; this is normal build behavior for Python applications and does not involve installing untrusted external packages.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:36 .venv/bin/pip install --upgrade pip
  • PKGBUILD:37 .venv/bin/pip install "."
  • PKGBUILD:38 .venv/bin/pip install "pyinstaller"

PKGBUILD

3 offending line(s) highlighted
1# Maintainer: gogamlg3
2pkgname=tg-ws-proxy-git
3_pkgname=tg-ws-proxy
4pkgver=1.9.1.r11.gb8a5634
5pkgrel=1
6pkgdesc="Local MTProto proxy server for partial bypassing of Telegram loading"
7arch=("any")
8url="https://github.com/Flowseal/tg-ws-proxy"
9license=("MIT")
10depends=("python" "tk" "libappindicator" "libayatana-appindicator")
11optdepends=("wl-clipboard" "xclip" "xsel")
12makedepends=("git" "python" "python-pip" "imagemagick")
13conflicts=("tg-ws-proxy-bin")
14
15source=("$_pkgname::git+https://github.com/Flowseal/tg-ws-proxy.git"
16 "tg-ws-proxy.desktop"
17 "tg-ws-proxy.service")
18
19sha256sums=("SKIP"
20 "e06f5ca3f96bde84404610dbee8df3bdf1017fa350cd6e09831d30d820d21e93"
21 "34263521bef49c289d3956fb513780950a6f319cb6d4b0222034d32ab929f05d")
22
23_binname=tg-ws-proxy
24
25pkgver() {
26 cd "$_pkgname"
27 # cutting off 'v' prefix that presents in the git tag
28 git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
29}
30
31
32build() {
33 cd "$srcdir/$_pkgname"
34
35 python -m venv --system-site-packages .venv
36 .venv/bin/pip install --upgrade pip
37 .venv/bin/pip install "."
38 .venv/bin/pip install "pyinstaller"
39 .venv/bin/pyinstaller --noconfirm packaging/linux.spec
40
41 rm -rf .venv
42}
43
44package() {
45 cd "$srcdir/$_pkgname"
46
47 install -Dm755 "dist/TgWsProxy" "$pkgdir/usr/bin/$_binname"
48
49 install -d "$pkgdir/usr/share/icons/hicolor/64x64/apps"
50 magick "icon.ico[5]" -background none -alpha on "$pkgdir/usr/share/icons/hicolor/64x64/apps/tg-ws-proxy.png"
51
52 install -Dm644 ../tg-ws-proxy.desktop "$pkgdir/usr/share/applications/tg-ws-proxy.desktop"
53 install -Dm644 ../tg-ws-proxy.service "$pkgdir/usr/lib/systemd/system/tg-ws-proxy.service"
54
55}
56

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