phpunit-bin
maintainer aragon123
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a PHAR file and signature from the official phar.phpunit.de domain, which is the project's own distribution infrastructure; while not on a standard code host, it is a legitimate source for PHPUnit, and the PHAR is verified via PGP, making the risk low 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 PHAR file and signature from the official phar.phpunit.de domain, which is the project's own distribution infrastructure; while not on a standard code host, it is a legitimate source for PHPUnit, and the PHAR is verified via PGP, making the risk low 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:18
source=("https://phar.phpunit.de/phpunit-${pkgver}.phar"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer Max <max@swk-web.com>
2
# Contributor: Stefan Auditor <stefan.auditor@erdfisch.de>
3
# Contributor: Marc Straube <email@marcstraube.de>
4
# Contributor: Attila Bukor <r1pp3rj4ck [at] w4it [dot] eu>
5
6
_pkgname=phpunit
7
pkgname=${_pkgname}-bin
8
pkgver=13.2.0
9
pkgrel=1
10
pkgdesc="PHPUnit is a programmer-oriented testing framework for PHP."
11
provides=('phpunit')
12
conflicts=('phpunit')
13
url="https://phpunit.de"
14
arch=("any")
15
license=("BSD")
16
depends=("php>=8.1.0")
17
install="${_pkgname}.install"
18
source=("https://phar.phpunit.de/phpunit-${pkgver}.phar"
19
"https://phar.phpunit.de/phpunit-${pkgver}.phar.asc"
20
"LICENSE-${pkgver}::https://raw.githubusercontent.com/sebastianbergmann/phpunit/${pkgver}/LICENSE")
21
# To add the key use gpg
22
# gpg --keyserver pgp.uni-mainz.de --recv-keys 4AA394086372C20A
23
validpgpkeys=('D8406D0D82947747293778314AA394086372C20A')
24
sha256sums=('f6989dea003e44d098ed11f1915bf599642734f136d2882f24bbc4ff1644d3c0'
25
'SKIP'
26
'5aa383bf44a3951bb4a2214c740a96e7795e473e1a0abc8d5812e6a3c1dbfc1e')
27
28
package() {
29
install -D -m 644 "${srcdir}/LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
30
install -D -m 755 "${srcdir}/${_pkgname}-${pkgver}.phar" "${pkgdir}/usr/share/webapps/bin/${_pkgname}.phar"
31
install -d "${pkgdir}/usr/bin"
32
ln -s "/usr/share/webapps/bin/${_pkgname}.phar" "${pkgdir}/usr/bin/${_pkgname}"
33
}
34
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 |