todarchy-git
maintainer ryanrusnak
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The npx tauri build command is used to build the project from source and does not execute arbitrary remote code; it is part of the standard build process for Tauri applications.
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 90%): The npx tauri build command is used to build the project from source and does not execute arbitrary remote code; it is part of the standard build process for Tauri applications.
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:34
npx tauri build --no-bundle
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Ryan Rusnak <ryan@airspace.com>
2
pkgname=todarchy-git
3
pkgver=0.2.0.r0
4
pkgrel=1
5
pkgdesc="Keyboard-first, Omarchy-themed task manager"
6
arch=('x86_64')
7
url="https://github.com/ryanrusnak/todarchy-linux"
8
license=('MIT')
9
depends=('webkit2gtk-4.1' 'libayatana-appindicator')
10
makedepends=('rust' 'cargo' 'npm' 'git')
11
provides=('todarchy' 'tod')
12
# Disable makepkg's global LTO for this package. With `lto` enabled, the
13
# -flto=auto C flags compile the `ring` crate's C/asm helpers as LTO bitcode,
14
# which the final Rust link (ld.lld) then can't resolve — you get a wall of
15
# `undefined symbol: ring_core_*`. Rust does its own codegen optimization; the
16
# C-level LTO buys nothing here and only breaks the link.
17
options=('!lto')
18
source=("git+$url.git")
19
sha256sums=('SKIP')
20
21
pkgver() {
22
cd todarchy-linux
23
# Pull the base version out of src-tauri/Cargo.toml so -git installs
24
# reflect the real semver, not a hardcoded string that drifts. Append
25
# commit count + hash the usual -git way.
26
local base
27
base=$(grep -m1 '^version' src-tauri/Cargo.toml | cut -d'"' -f2)
28
printf "%s.r%s.%s" "$base" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
29
}
30
31
build() {
32
cd todarchy-linux
33
npm install
34
npx tauri build --no-bundle
35
cargo build --release -p todarchy-cli -p todarchy-waybar
36
}
37
38
package() {
39
cd todarchy-linux
40
# Tauri GUI (package name todarchy → target/release/todarchy)
41
install -Dm755 target/release/todarchy "$pkgdir/usr/bin/todarchy"
42
# CLI companion (bin name "tod", from crates/todarchy-cli)
43
install -Dm755 target/release/tod "$pkgdir/usr/bin/tod"
44
# Waybar helper
45
install -Dm755 target/release/todarchy-waybar "$pkgdir/usr/bin/todarchy-waybar"
46
# Desktop integration
47
install -Dm644 packaging/omarchy/todarchy.desktop "$pkgdir/usr/share/applications/todarchy.desktop"
48
install -Dm644 src-tauri/icons/128x128.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/todarchy.png"
49
install -Dm644 src-tauri/icons/icon.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/todarchy.png"
50
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
51
}
52
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 |