rake-unstable
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 code execution during build, which is typical for AUR packages building from source, and the checksum is provided.
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 code execution during build, which is typical for AUR packages building from source, and the checksum is provided.
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:13
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
3
pkgname=rake-unstable
4
pkgver=0.7.4
5
pkgrel=1
6
pkgdesc="Configuration-driven build tool that runs Rakefile.toml targets (nightly unstable build)"
7
arch=('x86_64')
8
url="https://github.com/rustyhorde/cargo-rake"
9
license=('MIT' 'Apache-2.0')
10
provides=('rake')
11
conflicts=('rake')
12
makedepends=('cargo')
13
source=("$pkgname-$pkgver.tar.gz::https://git.jasonozias.com/dl/cargo-rake/v${pkgver}/cargo-rake-$pkgver-src.tar.gz")
14
# Checksum is filled in by the release workflow before publishing to the AUR.
15
sha256sums=('1144862f8aaac73f1a5375e3568c3dd2a5d8debb9ab27f910458615fbb868e01')
16
17
prepare() {
18
cd "cargo-rake-$pkgver"
19
# The `unstable` feature is a functional no-op (it only toggles nightly-only
20
# lint gates), so the unstable variant builds on the stable toolchain just
21
# like `rake`.
22
export RUSTUP_TOOLCHAIN=stable
23
cargo fetch --locked --target x86_64-unknown-linux-gnu
24
}
25
26
build() {
27
cd "cargo-rake-$pkgver"
28
export RUSTUP_TOOLCHAIN=stable
29
export CARGO_TARGET_DIR=target
30
export VERGEN_IDEMPOTENT=1
31
cargo build --release --locked --bin rake --features unstable
32
cargo run --release --locked -p xtask -- dist rake
33
}
34
35
package() {
36
cd "cargo-rake-$pkgver"
37
38
install -Dm755 "target/release/rake" "$pkgdir/usr/bin/rake"
39
40
# Man page
41
install -Dm644 "dist/rake/rake.1" "$pkgdir/usr/share/man/man1/rake.1"
42
43
# Shell completions
44
install -Dm644 "dist/rake/rake.bash" \
45
"$pkgdir/usr/share/bash-completion/completions/rake"
46
install -Dm644 "dist/rake/_rake" \
47
"$pkgdir/usr/share/zsh/site-functions/_rake"
48
install -Dm644 "dist/rake/rake.fish" \
49
"$pkgdir/usr/share/fish/vendor_completions.d/rake.fish"
50
51
# Example Rakefile and documentation
52
install -Dm644 "dist/rake/Rakefile.toml.example" \
53
"$pkgdir/usr/share/doc/$pkgname/examples/Rakefile.toml.example"
54
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
55
56
# Licenses
57
install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
58
install -Dm644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
59
}
60
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-unstable-pkgver=0.7.3+pkgver=0.7.4 pkgrel=1 pkgdesc="Configuration-driven build tool that runs Rakefile.toml targets (nightly unstable build)" arch=('x86_64')@@ -12,7 +12,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) | Severity | Rules |
|---|---|---|
| 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 | LOW | 2 |