splitfs-git
maintainer EtiennePerot
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from source hosted on a non-whitelisted but plausibly project-owned domain (perot.me), which is normal for AUR packages; the source is not a prebuilt executable, and the worst case of a swapped host is limited to supply-chain risk of unreviewed code, not automatic remote code execution.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from source hosted on a non-whitelisted but plausibly project-owned domain (perot.me), which is normal for AUR packages; the source is not a prebuilt executable, and the worst case of a swapped host is limited to supply-chain risk of unreviewed code, not automatic remote code execution.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
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:13
"git://perot.me/$_gitname#branch=$_gitbranch"
PKGBUILD
1 offending line(s) highlighted
1
_gitname='splitfs'
2
pkgname="$_gitname-git"
3
_gitbranch='master'
4
pkgver=r4.248a79c
5
pkgrel=2
6
pkgdesc='FUSE filesystem that chunks files up.'
7
arch=('any')
8
url="https://github.com/EtiennePerot/$_gitname"
9
license=('BSD')
10
depends=('fuse')
11
makedepends=('git' 'go')
12
source=(
13
"git://perot.me/$_gitname#branch=$_gitbranch"
14
"fuse::git+https://github.com/bazil/fuse"
15
"net::git+https://github.com/golang/net"
16
)
17
sha512sums=('SKIP' 'SKIP' 'SKIP')
18
_self_package="perot.me/$_gitname"
19
_vendor_git_submodules=(
20
'fuse:bazil.org/fuse'
21
'net:golang.org/x/net'
22
)
23
_go_binaries=(
24
'splitfs:splitfs.go'
25
)
26
27
pkgver() {
28
cd "$srcdir/$_gitname"
29
(
30
set -o pipefail
31
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
32
)
33
}
34
35
build() {
36
# Emulate a GOPATH so we can build in peace.
37
mkdir -p "$(dirname "$srcdir/gopath/src/$_self_package")"
38
ln -s "$srcdir/$_gitname" "$srcdir/gopath/src/$_self_package"
39
cd "$srcdir/gopath/src/$_self_package"
40
# Take care of submodules.
41
local _vendor_git_submodule _srcdir_subdir _package_name
42
for _vendor_git_submodule in "${_vendor_git_submodules[@]}"; do
43
_srcdir_subdir="$(echo "$_vendor_git_submodule" | cut -d: -f1)"
44
_package_name="$(echo "$_vendor_git_submodule" | cut -d: -f2-)"
45
git config "submodule.vendor/$_package_name.url" "$srcdir/$_srcdir_subdir"
46
git submodule update "vendor/$_package_name"
47
done
48
# Actually build.
49
mkdir -p "$srcdir/bin"
50
local _go_binary _binary_name _go_binary_file
51
for _go_binary in "${_go_binaries[@]}"; do
52
_binary_name="$(echo "$_go_binary" | cut -d: -f1)"
53
_go_binary_file="$(echo "$_go_binary" | cut -d: -f2-)"
54
GOPATH="$srcdir/gopath" go build -o "$srcdir/bin/$_binary_name" "$_go_binary_file"
55
done
56
}
57
58
package() {
59
cd "$srcdir/$_gitname"
60
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
61
local _go_binary _binary_name
62
for _go_binary in "${_go_binaries[@]}"; do
63
_binary_name="$(echo "$_go_binary" | cut -d: -f1)"
64
install -D -m755 "$srcdir/bin/$_binary_name" "$pkgdir/usr/bin/$_binary_name"
65
done
66
}
67
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 | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |