phast
The non-standard host (netlib.org) hosts CLAPACK, a legitimate scientific computing library, used as a build dependency; the main code is from the project's official GitHub, and no untrusted executables are run.
Triggered rules
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 non-standard host (netlib.org) hosts CLAPACK, a legitimate scientific computing library, used as a build dependency; the main code is from the project's official GitHub, and no untrusted executables are run.
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:10
source=("http://www.netlib.org/clapack/clapack.tgz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Charles Vejnar <first name [dot] last name [at] gmail [dot] com>
pkgname=phast
pkgver=1.7
pkgrel=1
pkgdesc="Phylogenetic analysis with space/time models"
arch=("x86_64")
url="http://compgen.bscb.cornell.edu/phast"
license=("BSD")
source=("http://www.netlib.org/clapack/clapack.tgz"
"$pkgname-$pkgver.tar.gz::https://github.com/CshlSiepelLab/phast/archive/refs/tags/v${pkgver}.tar.gz"
"stdio.patch"
"stdio_blas.patch"
"tstiee.patch")
sha256sums=('6dc4c382164beec8aaed8fd2acc36ad24232c406eda6db462bd4c41d5e455fac'
'710e71f201cfb6c263ccb9ab38f4e63bc50f2fe16405c1e4562f6d737c7ca9eb'
'cd9817d19b6d4824ba1e72c55ada20a43c677a22d086b7ab0f014968a17eb758'
'ff6d3e320044079426d323589ce36feb1c52213a011e4fb0ecf72daf68c115a9'
'daeb183a38b15e8428ec5007718c867fbbaa7731f9b5dbe12025d299298d017f')
prepare() {
# Apply patches
cd "${srcdir}/CLAPACK-3.2.1"
patch -p1 -i "${srcdir}/stdio.patch"
patch -p1 -i "${srcdir}/stdio_blas.patch"
patch -p1 -i "${srcdir}/tstiee.patch"
}
build() {
# Build CLAPACK
cd "$srcdir/CLAPACK-3.2.1"
cp make.inc.example make.inc
make f2clib
make blaslib
make lib
# Build Phast
cd "$srcdir/phast-${pkgver}/src"
make CLAPACKPATH="$srcdir/CLAPACK-3.2.1"
}
package() {
cd "$srcdir/phast-${pkgver}/bin"
for fname in $(ls -1); do
install -Dm755 $fname "$pkgdir/usr/bin/$fname"
done
cd "$srcdir/phast-${pkgver}/doc/man"
for fname in $(ls -1); do
install -Dm644 $fname "$pkgdir/usr/share/man/man1/$fname"
done
}
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 |