battery_status_rs_hibernate
battery_status_rs
scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |