phast

maintainer vejnar · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

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 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)
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=("http://www.netlib.org/clapack/clapack.tgz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Charles Vejnar <first name [dot] last name [at] gmail [dot] com>
2
3pkgname=phast
4pkgver=1.7
5pkgrel=1
6pkgdesc="Phylogenetic analysis with space/time models"
7arch=("x86_64")
8url="http://compgen.bscb.cornell.edu/phast"
9license=("BSD")
10source=("http://www.netlib.org/clapack/clapack.tgz"
11 "$pkgname-$pkgver.tar.gz::https://github.com/CshlSiepelLab/phast/archive/refs/tags/v${pkgver}.tar.gz"
12 "stdio.patch"
13 "stdio_blas.patch"
14 "tstiee.patch")
15sha256sums=('6dc4c382164beec8aaed8fd2acc36ad24232c406eda6db462bd4c41d5e455fac'
16 '710e71f201cfb6c263ccb9ab38f4e63bc50f2fe16405c1e4562f6d737c7ca9eb'
17 'cd9817d19b6d4824ba1e72c55ada20a43c677a22d086b7ab0f014968a17eb758'
18 'ff6d3e320044079426d323589ce36feb1c52213a011e4fb0ecf72daf68c115a9'
19 'daeb183a38b15e8428ec5007718c867fbbaa7731f9b5dbe12025d299298d017f')
20
21prepare() {
22 # Apply patches
23 cd "${srcdir}/CLAPACK-3.2.1"
24 patch -p1 -i "${srcdir}/stdio.patch"
25 patch -p1 -i "${srcdir}/stdio_blas.patch"
26 patch -p1 -i "${srcdir}/tstiee.patch"
27}
28
29build() {
30 # Build CLAPACK
31 cd "$srcdir/CLAPACK-3.2.1"
32 cp make.inc.example make.inc
33 make f2clib
34 make blaslib
35 make lib
36
37 # Build Phast
38 cd "$srcdir/phast-${pkgver}/src"
39 make CLAPACKPATH="$srcdir/CLAPACK-3.2.1"
40}
41
42package() {
43 cd "$srcdir/phast-${pkgver}/bin"
44 for fname in $(ls -1); do
45 install -Dm755 $fname "$pkgdir/usr/bin/$fname"
46 done
47 cd "$srcdir/phast-${pkgver}/doc/man"
48 for fname in $(ls -1); do
49 install -Dm644 $fname "$pkgdir/usr/share/man/man1/$fname"
50 done
51}
52

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