rake

maintainer jozias · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from the maintainer's personal domain, but it contains the project's own source code which is then compiled normally; the realistic worst case of a swapped source is limited to supply-chain risk in the build, but this is mitigated by pinned checksums and standard Rust crate practices, making it low 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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the maintainer's personal domain, but it contains the project's own source code which is then compiled normally; the realistic worst case of a swapped source is limited to supply-chain risk in the build, but this is mitigated by pinned checksums and standard Rust crate practices, making it low 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:11 source=("$pkgname-$pkgver.tar.gz::https://git.jasonozias.com/dl/cargo-rake/v${pkgver}/cargo-rake-$pkgver-src.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jason Ozias <jason.g.ozias@gmail.com>
2
3pkgname=rake
4pkgver=0.7.4
5pkgrel=1
6pkgdesc="Configuration-driven build tool that runs Rakefile.toml targets"
7arch=('x86_64')
8url="https://github.com/rustyhorde/cargo-rake"
9license=('MIT' 'Apache-2.0')
10makedepends=('cargo')
11source=("$pkgname-$pkgver.tar.gz::https://git.jasonozias.com/dl/cargo-rake/v${pkgver}/cargo-rake-$pkgver-src.tar.gz")
12# Checksum is filled in by the release workflow before publishing to the AUR.
13sha256sums=('1144862f8aaac73f1a5375e3568c3dd2a5d8debb9ab27f910458615fbb868e01')
14
15prepare() {
16 cd "cargo-rake-$pkgver"
17 export RUSTUP_TOOLCHAIN=stable
18 cargo fetch --locked --target x86_64-unknown-linux-gnu
19}
20
21build() {
22 cd "cargo-rake-$pkgver"
23 export RUSTUP_TOOLCHAIN=stable
24 export CARGO_TARGET_DIR=target
25 export VERGEN_IDEMPOTENT=1
26 cargo build --release --locked --bin rake
27 cargo run --release --locked -p xtask -- dist rake
28}
29
30package() {
31 cd "cargo-rake-$pkgver"
32
33 install -Dm755 "target/release/rake" "$pkgdir/usr/bin/rake"
34
35 # Man page
36 install -Dm644 "dist/rake/rake.1" "$pkgdir/usr/share/man/man1/rake.1"
37
38 # Shell completions
39 install -Dm644 "dist/rake/rake.bash" \
40 "$pkgdir/usr/share/bash-completion/completions/rake"
41 install -Dm644 "dist/rake/_rake" \
42 "$pkgdir/usr/share/zsh/site-functions/_rake"
43 install -Dm644 "dist/rake/rake.fish" \
44 "$pkgdir/usr/share/fish/vendor_completions.d/rake.fish"
45
46 # Example Rakefile and documentation
47 install -Dm644 "dist/rake/Rakefile.toml.example" \
48 "$pkgdir/usr/share/doc/$pkgname/examples/Rakefile.toml.example"
49 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
50
51 # Licenses
52 install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
53 install -Dm644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
54}
55

Changes since previous scan

--- PKGBUILD @ 2026-07-30 03:13
+++ PKGBUILD @ 2026-08-03 00:08
@@ -1,7 +1,7 @@
# Maintainer: Jason Ozias <jason.g.ozias@gmail.com>
pkgname=rake
-pkgver=0.7.3
+pkgver=0.7.4
pkgrel=1
pkgdesc="Configuration-driven build tool that runs Rakefile.toml targets"
arch=('x86_64')
@@ -10,7 +10,7 @@
makedepends=('cargo')
source=("$pkgname-$pkgver.tar.gz::https://git.jasonozias.com/dl/cargo-rake/v${pkgver}/cargo-rake-$pkgver-src.tar.gz")
# Checksum is filled in by the release workflow before publishing to the AUR.
-sha256sums=('9e5a8f1fb6a247518178d2c64892436f17f0bcff90203941c162f8370cd2c1e6')
+sha256sums=('1144862f8aaac73f1a5375e3568c3dd2a5d8debb9ab27f910458615fbb868e01')
prepare() {
cd "cargo-rake-$pkgver"

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 07:14:03 MEDIUM 1
2026-07-30 03:13:55 MEDIUM 1
2026-07-30 01:13:52 MEDIUM 1
2026-07-28 13:38:59 CLEAN 0
2026-07-27 01:34:00 CLEAN 0
2026-07-22 15:20:42 CLEAN 0
2026-07-09 01:29:43 CLEAN 0
2026-07-08 21:29:20 CLEAN 0
2026-07-07 00:22:52 CLEAN 2
2026-07-06 21:22:03 LOW 1
2026-07-06 17:21:25 LOW 1
2026-07-05 00:27:08 CLEAN 2
2026-07-04 05:13:51 LOW 1
2026-07-02 14:45:43 CLEAN 2
2026-06-27 04:28:06 CLEAN 2
2026-06-27 02:27:46 CLEAN 2

Report a package

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

0 / 4000
Your suggestion