phpcov

maintainer sanduhrs · 2 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a PHAR file and license from trusted project-related domains (phar.phpunit.de and raw.githubusercontent.com); while the host is not whitelisted, it is plausibly official infrastructure for the project, and the PHAR is a standard distribution format for PHP tools.

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 license from trusted project-related domains (phar.phpunit.de and raw.githubusercontent.com); while the host is not whitelisted, it is plausibly official infrastructure for the project, and the PHAR is a standard distribution format for PHP tools.

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=("https://phar.phpunit.de/${pkgname}-${pkgver}.phar"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Stefan Auditor <stefan.auditor@erdfisch.de>
2# Please report issues at https://github.com/sanduhrs/arch-aur-phpcov
3
4pkgname=phpcov
5pkgver=9.0.0
6pkgrel=1
7pkgdesc="A command-line frontend for the PHP_CodeCoverage library."
8url="https://github.com/sebastianbergmann/phpcov"
9arch=("any")
10license=("BSD")
11depends=("php")
12install="${pkgname}.install"
13source=("https://phar.phpunit.de/${pkgname}-${pkgver}.phar"
14 "https://raw.githubusercontent.com/sebastianbergmann/${pkgname}/${pkgver}/LICENSE")
15sha512sums=('5cbef729c67750b157f5f5b24adc866db6dc3f9aa8cfe4558f1af05ac7360b8762e0bc70a8832d49d86d2cb76366bd23687449bf58db733a4832e34cd3e71433'
16 'b3c801f6adea0632663b37411f5a7b37ac0ff0a55bc7d993b14eb884c55c4665d660e0e20127a5be070a1e6bbad98453378008f0138ee40f2577c7a4332b2e67')
17
18package() {
19 install -D -m 644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
20 install -D -m 755 "${srcdir}/${pkgname}-${pkgver}.phar" "${pkgdir}/usr/share/webapps/bin/${pkgname}.phar"
21 install -d "${pkgdir}/usr/bin"
22 ln -s "/usr/share/webapps/bin/${pkgname}.phar" "${pkgdir}/usr/bin/${pkgname}"
23}
24

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 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

Report a package

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

0 / 4000
Your suggestion