battery_status_rs_hibernate

maintainer weva · 1 votes · base battery_status_rs · scanned 2026-08-03 00:08:14.047287
LOW
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-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

Report a package

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

0 / 4000
Your suggestion