rake
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
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)
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# Maintainer: Jason Ozias <jason.g.ozias@gmail.com>
pkgname=rake
pkgver=0.7.4
pkgrel=1
pkgdesc="Configuration-driven build tool that runs Rakefile.toml targets"
arch=('x86_64')
url="https://github.com/rustyhorde/cargo-rake"
license=('MIT' 'Apache-2.0')
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=('1144862f8aaac73f1a5375e3568c3dd2a5d8debb9ab27f910458615fbb868e01')
prepare() {
cd "cargo-rake-$pkgver"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target x86_64-unknown-linux-gnu
}
build() {
cd "cargo-rake-$pkgver"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
export VERGEN_IDEMPOTENT=1
cargo build --release --locked --bin rake
cargo run --release --locked -p xtask -- dist rake
}
package() {
cd "cargo-rake-$pkgver"
install -Dm755 "target/release/rake" "$pkgdir/usr/bin/rake"
# Man page
install -Dm644 "dist/rake/rake.1" "$pkgdir/usr/share/man/man1/rake.1"
# Shell completions
install -Dm644 "dist/rake/rake.bash" \
"$pkgdir/usr/share/bash-completion/completions/rake"
install -Dm644 "dist/rake/_rake" \
"$pkgdir/usr/share/zsh/site-functions/_rake"
install -Dm644 "dist/rake/rake.fish" \
"$pkgdir/usr/share/fish/vendor_completions.d/rake.fish"
# Example Rakefile and documentation
install -Dm644 "dist/rake/Rakefile.toml.example" \
"$pkgdir/usr/share/doc/$pkgname/examples/Rakefile.toml.example"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
# Licenses
install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
install -Dm644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
}
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 |