exit-gate-bin

LOW
maintainer ixaxaar 0 votes scanned 2026-10-18 11:22:05.152284
View on AUR
Why flagged

The package installs a prebuilt binary from the project's official GitHub release, which is a normal distribution method; the binary is not obfuscated or executed remotely, and the source is verifiable via checksum, making the risk low despite the untrusted-host flag.

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 release, which is a normal distribution method; the binary is not obfuscated or executed remotely, and the source is verifiable via checksum, making the risk low despite the untrusted-host flag.

PKGBUILD

1# Maintainer: ixaxaar <root@ixaxaar.in>
2pkgname=exit-gate-bin
3pkgver=0.2.0
4pkgrel=1
5pkgdesc="Egress firewall for TCP and UDP with eBPF: Electron GUI + systemd daemon (binary release)"
6arch=('x86_64')
7url="https://github.com/lunar-lander/exit-gate"
8license=('MIT')
9provides=("${pkgname%-bin}")
10conflicts=("${pkgname%-bin}")
11depends=('gtk3' 'libnotify' 'nss' 'alsa-lib' 'libxss' 'libxtst' 'xdg-utils' 'at-spi2-core'
12 'util-linux-libs' 'libsecret' 'libelf' 'zlib' 'zstd' 'gcc-libs')
13options=('!strip')
14backup=('etc/exit-gate/config.toml')
15source=("exit-gate-$pkgver.deb::https://github.com/lunar-lander/exit-gate/releases/download/v$pkgver/exit-gate-$pkgver-amd64.deb"
16 "LICENSE::https://raw.githubusercontent.com/lunar-lander/exit-gate/v$pkgver/LICENSE")
17sha256sums=('4ac604419ce2b5b74580d56820a86e8ab3e62e653050ffb109c7f9e875d9340a'
18 'f1cc598518defe9a1bfca1ff1d7b165df7bf181314b417502c06a6aff5b4bcb9')
19noextract=("exit-gate-$pkgver.deb")
20
21prepare() {
22 mkdir -p "$srcdir/x"
23 ar p "$srcdir/exit-gate-$pkgver.deb" data.tar.xz | tar -xJ -C "$srcdir/x"
24}
25
26package() {
27 local x="$srcdir/x"
28 local res="$x/opt/Exit Gate/resources/daemon"
29
30 # Electron GUI (bundled runtime)
31 install -dm755 "$pkgdir/opt/Exit Gate"
32 cp -a "$x/opt/Exit Gate/." "$pkgdir/opt/Exit Gate/"
33 chmod 4755 "$pkgdir/opt/Exit Gate/chrome-sandbox"
34 install -dm755 "$pkgdir/usr/bin"
35 ln -s "/opt/Exit Gate/exit-gate" "$pkgdir/usr/bin/exit-gate"
36
37 # Desktop entry + icon
38 install -Dm644 "$x/usr/share/applications/exit-gate.desktop" \
39 "$pkgdir/usr/share/applications/exit-gate.desktop"
40 install -Dm644 "$x/usr/share/icons/hicolor/0x0/apps/exit-gate.png" \
41 "$pkgdir/usr/share/icons/hicolor/0x0/apps/exit-gate.png"
42
43 # Daemon, eBPF objects
44 install -Dm755 "$res/exit-gate-daemon" "$pkgdir/usr/bin/exit-gate-daemon"
45 install -Dm644 "$res/bpf/network_monitor.bpf.o" \
46 "$pkgdir/usr/lib/exit-gate/bpf/network_monitor.bpf.o"
47
48 # Default config: point bpf_path at the Arch install location
49 # (user edits preserved across upgrades via backup=)
50 sed 's|/usr/local/lib/exit-gate/bpf|/usr/lib/exit-gate/bpf|' "$res/config.toml" > config.toml
51 install -Dm644 config.toml "$pkgdir/etc/exit-gate/config.toml"
52
53 # systemd unit: point at /usr/bin, create runtime/state dirs at boot
54 sed -e 's|/usr/local/bin/|/usr/bin/|' "$res/exit-gate.service" > exit-gate.service
55 printf '%s\n' 'RuntimeDirectory=exit-gate' 'StateDirectory=exit-gate' >> exit-gate.service
56 install -Dm644 exit-gate.service "$pkgdir/usr/lib/systemd/system/exit-gate.service"
57
58 install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
59}
60

Scan history

Scanned at (UTC)SeverityRules
2026-10-18 11:22:05 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