battery_status_rs_notification
battery_status_rs
scanned 2026-11-01 00:21:48.120785
The source is a git repository from a university-hosted domain, which is plausibly the maintainer's own project; building from source is standard practice and the checksums are provided, reducing risk.
Triggered rules
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 source is a git repository from a university-hosted domain, which is plausibly the maintainer's own project; building from source is standard practice and the checksums are provided, reducing risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:14
source=("git+https://git.unfug.hs-furtwangen.de/weva/battery_status_rs.git/#tag=$pkgver"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Valentin Weber
pkgbase="battery_status_rs"
pkgname=("battery_status_rs_notification"
"battery_status_rs_sleep"
"battery_status_rs_hibernate")
pkgver="4.0.0"
pkgrel="1"
pkgdesc="A utility to watch the battery level."
arch=('any')
depends=('systemd')
makedepends=('cargo'
'git')
source=("git+https://git.unfug.hs-furtwangen.de/weva/battery_status_rs.git/#tag=$pkgver"
"battery_status_rs_notification.service"
"battery_status_rs_sleep.service"
"battery_status_rs_hibernate.service")
sha256sums=('5d31fe8a45bcbf594f5f236357dde0d87f584b72ee1dd19173102e009f59171b'
'92ecbb16524c4ec6423d87979f655838b502fc0c5206127f34553c5ff837f3f8'
'e104c41b6c84c60ebca61545cc06a9e53c169f00d4eab50c2dd4df3d2f22500b'
'eead0cc7d1ffff3e6670f8ff2ba9bacb609b2a5df949786e488c378f4e0fee5c')
prepare() {
cd battery_status_rs
cargo fetch --target "$CARCH-unknown-linux-gnu"
}
build() {
cd battery_status_rs
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
cargo build --frozen --release --all-features
}
package_battery_status_rs_notification() {
install -Dm0755 -t "$pkgdir/usr/lib/systemd/user/" "$pkgname.service"
install -Dm0755 -t "$pkgdir/usr/bin/" "battery_status_rs/target/release/$pkgname"
}
package_battery_status_rs_sleep() {
conflicts=('battery_status_rs_hibernate')
install -Dm0755 -t "$pkgdir/usr/lib/systemd/system/" "$pkgname.service"
install -Dm0755 -t "$pkgdir/usr/bin/" "battery_status_rs/target/release/$pkgname"
}
package_battery_status_rs_hibernate() {
conflicts=('battery_status_rs_sleep')
install -Dm0755 -t "$pkgdir/usr/lib/systemd/system/" "$pkgname.service"
install -Dm0755 -t "$pkgdir/usr/bin/" "battery_status_rs/target/release/$pkgname"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |