snishaper-bin

LOW
maintainer colegeming 0 votes scanned 2026-08-29 21:40:42.320390
View on AUR
Why flagged

The package installs a prebuilt binary from the project's official GitHub releases, which is normal for AUR packages; the binary is not obfuscated or executed remotely, and the source URLs are legitimate project infrastructure.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package installs a prebuilt binary from the project's official GitHub releases, which is normal for AUR packages; the binary is not obfuscated or executed remotely, and the source URLs are legitimate project infrastructure.

PKGBUILD

1# Maintainer: colegeming <collegeming@outlook.com>
2
3pkgname=snishaper-bin
4pkgver=1.29.0beta3
5pkgrel=1
6pkgdesc='Local proxy to bypass SNI blocking via ECH injection, TLS fragmentation, QUIC and a TUN device (prebuilt binary)'
7arch=('x86_64')
8url='https://github.com/SnishaperTeam/SniShaper'
9license=('AGPL-3.0-only')
10# Wails v3 + GTK4 + WebKitGTK 6.0 frontend. The TUN/route plumbing speaks
11# netlink directly, so no iproute2 hard-dep; offer it as optional for users
12# whose rules shells out to `ip`.
13depends=('gtk4' 'webkitgtk-6.0')
14optdepends=('iproute2: if your ruleset invokes the `ip` command')
15provides=('snishaper')
16conflicts=('snishaper')
17options=('!strip')
18# The release tarball checksum is filled in by the updater from the GitHub
19# asset digest. The icon and LICENSE live in the upstream repo (not in any
20# release asset), so their sha256 are pinned here on the default branch;
21# refresh them only if upstream changes those files.
22source_x86_64=(
23 "https://github.com/SnishaperTeam/SniShaper/releases/download/v1.29.0-beta.3/snishaper-linux-amd64.tar.gz"
24 "snishaper.png::https://raw.githubusercontent.com/SnishaperTeam/SniShaper/main/Assets/AppList.targetsize-256_altform-unplated.png"
25 "LICENSE::https://raw.githubusercontent.com/SnishaperTeam/SniShaper/main/LICENSE"
26)
27sha256sums_x86_64=(
28 '68b587bf1c008f150d631c6f8d68e38ff5720e238b01f7be5489208393bd5e12'
29 'c8c6fb14ef896c6fe2a3d65632445bb1d01a3c78796f3ed494e0592bf329d40b'
30 '95bc608f8ed815a6a47f1c209e33c4ea991c5c5acf664fdf3ba204117a7d96b7'
31)
32
33package() {
34 local appdir="${pkgdir}/opt/snishaper"
35
36 # Upstream tarball layout: ./SniShaper ./config/ ./rules/
37 install -d "${appdir}"
38 cp -a SniShaper config rules "${appdir}/"
39 chmod 755 "${appdir}/SniShaper"
40
41 # The binary reads config/ and rules/ from its working directory (upstream
42 # documents `sudo ./SniShaper` run from the extracted archive), so cd into
43 # /opt/snishaper before exec. TUN setup requires root -- run as
44 # `sudo snishaper`, or grant cap_net_admin / a polkit rule yourself.
45 install -Dm755 /dev/stdin "${pkgdir}/usr/bin/snishaper" <<'EOF'
46#!/bin/bash
47cd /opt/snishaper
48exec ./SniShaper "$@"
49EOF
50
51 install -Dm644 "${srcdir}/snishaper.png" \
52 "${pkgdir}/usr/share/icons/hicolor/256x256/apps/snishaper.png"
53
54 install -Dm644 /dev/stdin \
55 "${pkgdir}/usr/share/applications/snishaper.desktop" <<'EOF'
56[Desktop Entry]
57Name=SniShaper
58Comment=Bypass SNI blocking via ECH injection, TLS fragmentation, QUIC and TUN
59Comment[zh_CN]=通过 ECH 注入、TLS 分片、QUIC 与 TUN 绕过 SNI 阻断
60Exec=snishaper %U
61Icon=snishaper
62Terminal=false
63Type=Application
64Categories=Network;P2P;
65StartupWMClass=SniShaper
66EOF
67
68 install -Dm644 "${srcdir}/LICENSE" \
69 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
70}
71

Scan history

Scanned at (UTC)SeverityRules
2026-08-29 21:40:42 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