lanshare-bin
maintainer gensui-fuga
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The downloaded executable is from the project's official GitHub release page, which is a trusted source for the software; the build process is standard for a binary package and does not involve untrusted or obfuscated code execution.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this HIGH, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The downloaded executable is from the project's official GitHub release page, which is a trusted source for the software; the build process is standard for a binary package and does not involve untrusted or obfuscated code execution.
1 higher static finding superseded - not the current verdict (shown for transparency)
HIGH
Downloaded file is executed
download_then_exec
A file fetched with curl/wget (not part of source=(), so never checksum-verified) is later made executable or run — a fetch-and-execute pattern split across statements.
-
PKGBUILD:21
chmod +x lanshare
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: gensui-fuga <gensui-fuga@users.noreply.github.com>
2
3
pkgname=lanshare-bin
4
pkgver=1.1.0
5
pkgrel=1
6
pkgdesc="Cross-Platform LAN File Sharing — frosted glass web UI, dual upload/download dirs, adaptive theme"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/gensui-fuga/lanshare"
9
license=('GPL3')
10
depends=('glibc')
11
12
build() {
13
case "$CARCH" in
14
x86_64) _arch="amd64" ;;
15
aarch64) _arch="arm64" ;;
16
*) error "Unsupported: $CARCH" ;;
17
esac
18
msg "Downloading lanshare-linux-$_arch v$pkgver..."
19
curl -sSL -o lanshare \
20
"https://github.com/gensui-fuga/lanshare/releases/download/v$pkgver/lanshare-linux-$_arch"
21
chmod +x lanshare
22
}
23
24
package() {
25
install -Dm755 "$srcdir/lanshare" "$pkgdir/usr/bin/lanshare"
26
install -Dm644 "$srcdir/../../lanshare-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 2>/dev/null || true
27
}
28
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 3 |
| 2026-07-15 00:09:25 | LOW | 3 |