spacedrive-git
maintainer cheatsc
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The use of 'bunx tauri build' executes a project-local development tool during build; it runs within the source tree and does not fetch or execute unreviewed remote code, posing minimal risk.
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 use of 'bunx tauri build' executes a project-local development tool during build; it runs within the source tree and does not fetch or execute unreviewed remote code, posing minimal risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
npx/bunx/deno executes a remote package
remote_code_tool
`npx`/`bunx`/`pnpm dlx`/`deno run <url>` downloads AND runs a remote package at build time — the moral equivalent of piping a download into a shell. Severity downgraded: Node.js consumer context.
-
PKGBUILD:39
(cd apps/tauri && bunx tauri build --no-bundle -- --no-default-features)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Shohei Maruyama <cheat.sc.linux@outlook.com>
2
3
pkgname='spacedrive-git'
4
pkgver=r4800.4d87617
5
pkgrel=1
6
pkgdesc='Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.'
7
arch=('x86_64')
8
url='https://spacedrive.com/'
9
license=('AGPL3')
10
source=('spacedrive::git+https://github.com/spacedriveapp/spacedrive.git')
11
depends=('ffmpeg' 'libheif' 'gtk3' 'webkit2gtk-4.1' 'pango' 'gdk-pixbuf2' 'cairo' 'libsoup' 'glib2' 'xdotool')
12
conflicts=('spacedrive')
13
makedepends=('cargo' 'bun' 'git' 'clang' 'mold')
14
sha256sums=('SKIP')
15
options=(!lto)
16
17
pkgver() {
18
cd "${pkgname%-git}"
19
20
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
21
}
22
23
prepare() {
24
cd "${pkgname%-git}"
25
26
cargo fetch --locked --target $(rustc --print host-tuple)
27
bun install
28
}
29
30
build() {
31
cd "${pkgname%-git}"
32
33
export CARGO_TARGET_DIR=target
34
export RUSTFLAGS+=' -Clinker=clang -Clink-arg=-fuse-ld=mold'
35
export CC=clang
36
export LDFLAGS+=' -fuse-ld=mold'
37
38
cargo build --release --package sd-core --bin sd-daemon --no-default-features
39
(cd apps/tauri && bunx tauri build --no-bundle -- --no-default-features)
40
}
41
42
package() {
43
cd "${pkgname%-git}"
44
45
install -Dm0755 "apps/tauri/src-tauri/target/release/Spacedrive" "${pkgdir}/usr/bin/spacedrive"
46
install -Dm0755 -t "${pkgdir}/usr/bin/" target/release/sd-daemon
47
install -Dm0755 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
48
}
49
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 |