battery_status_rs_hibernate

LOW
maintainer weva 1 votes base battery_status_rs scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

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 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)
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:14 source=("git+https://git.unfug.hs-furtwangen.de/weva/battery_status_rs.git/#tag=$pkgver"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Valentin Weber
2pkgbase="battery_status_rs"
3pkgname=("battery_status_rs_notification"
4 "battery_status_rs_sleep"
5 "battery_status_rs_hibernate")
6pkgver="4.0.0"
7pkgrel="1"
8pkgdesc="A utility to watch the battery level."
9arch=('any')
10depends=('systemd')
11makedepends=('cargo'
12 'git')
13
14source=("git+https://git.unfug.hs-furtwangen.de/weva/battery_status_rs.git/#tag=$pkgver"
15 "battery_status_rs_notification.service"
16 "battery_status_rs_sleep.service"
17 "battery_status_rs_hibernate.service")
18
19sha256sums=('5d31fe8a45bcbf594f5f236357dde0d87f584b72ee1dd19173102e009f59171b'
20 '92ecbb16524c4ec6423d87979f655838b502fc0c5206127f34553c5ff837f3f8'
21 'e104c41b6c84c60ebca61545cc06a9e53c169f00d4eab50c2dd4df3d2f22500b'
22 'eead0cc7d1ffff3e6670f8ff2ba9bacb609b2a5df949786e488c378f4e0fee5c')
23
24prepare() {
25 cd battery_status_rs
26 cargo fetch --target "$CARCH-unknown-linux-gnu"
27}
28
29build() {
30 cd battery_status_rs
31 export RUSTUP_TOOLCHAIN=stable
32 export CARGO_TARGET_DIR=target
33 cargo build --frozen --release --all-features
34}
35
36package_battery_status_rs_notification() {
37 install -Dm0755 -t "$pkgdir/usr/lib/systemd/user/" "$pkgname.service"
38 install -Dm0755 -t "$pkgdir/usr/bin/" "battery_status_rs/target/release/$pkgname"
39}
40
41package_battery_status_rs_sleep() {
42 conflicts=('battery_status_rs_hibernate')
43 install -Dm0755 -t "$pkgdir/usr/lib/systemd/system/" "$pkgname.service"
44 install -Dm0755 -t "$pkgdir/usr/bin/" "battery_status_rs/target/release/$pkgname"
45}
46
47package_battery_status_rs_hibernate() {
48 conflicts=('battery_status_rs_sleep')
49 install -Dm0755 -t "$pkgdir/usr/lib/systemd/system/" "$pkgname.service"
50 install -Dm0755 -t "$pkgdir/usr/bin/" "battery_status_rs/target/release/$pkgname"
51}
52

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion