mill-global
maintainer Rogach
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a shell script from Maven Central and a bash completion file from GitHub; both sources are legitimate and verifiable, with fixed versions and checksums, posing minimal risk despite the non-whitelisted host.
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 95%): The package downloads a shell script from Maven Central and a bash completion file from GitHub; both sources are legitimate and verifiable, with fixed versions and checksums, posing minimal risk despite the non-whitelisted host.
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:10
source=("https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/${pkgver/_/-}/mill-dist-${pkgver/_/-}-mill.sh"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Platon Pronko < platon7pronko at gmail dot com >
2
pkgname=mill-global
3
pkgver=1.1.7
4
pkgrel=1
5
pkgdesc="Mill Build Tool, global installation"
6
arch=("any")
7
url="https://github.com/com-lihaoyi/mill"
8
license=("MIT")
9
10
source=("https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/${pkgver/_/-}/mill-dist-${pkgver/_/-}-mill.sh"
11
"https://raw.githubusercontent.com/lefou/mill-bash-completion/dfd5ac9b8b0d08b0a22596e88f0f4b1d15abcfd4/mill.complete.sh")
12
sha256sums=('5044a3d858085e9720ad43228b8fccc65167649e96172a145f9d567029a94f8b'
13
'bf293fbc521cc0c8108cbbc3580adc81cbf470380b4f5cd160af075a5f1214e0')
14
15
prepare() {
16
cd "${srcdir}"
17
# bash-completion renamed _split_longopt in version 2.12.0 (2024-02-21)
18
sed -i 's/_split_longopt/_comp__split_longopt/' mill.complete.sh
19
}
20
21
package() {
22
cd "${srcdir}"
23
install -Dm755 "${srcdir}/mill-dist-${pkgver/_/-}-mill.sh" "${pkgdir}/usr/bin/mill"
24
install -Dm644 "${srcdir}/mill.complete.sh" "${pkgdir}/usr/share/bash-completion/completions/mill"
25
}
26
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 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 |