ppsearch

maintainer vicencb · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a source archive from a non-whitelisted but project-related host and builds from source; the worst case of a swapped source is limited to code execution during build, but the project appears legitimate and the build process is transparent.

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 source archive from a non-whitelisted but project-related host and builds from source; the worst case of a swapped source is limited to code execution during build, but the project appears legitimate and the build process is transparent.

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 http://notabs.org/primitivepolynomials/version2/2.6/2.6.7z

PKGBUILD

1 offending line(s) highlighted
1pkgname=ppsearch
2pkgver=2.6
3pkgrel=1
4pkgdesc="A Primitive Polynomial Search Program"
5url="http://notabs.org/primitivepolynomials/version2/revisionHistory.htm"
6makedepends=(p7zip)
7arch=('i686' 'x86_64')
8license=('GPL')
9source=(
10 http://notabs.org/primitivepolynomials/version2/2.6/2.6.7z
11 ppsearch.patch
12)
13md5sums=(
14 'd63dd8bb0fc25165113711aa7830d2d6'
15 '57eac37e3be0da88601458a38810608e'
16)
17
18prepare(){
19 7z x -y "2.6.7z"
20 chmod 00755 "2.6/factor2n-1"
21 cd "2.6/source/2.4"
22 for i in * ; do tr -d '\r' < $i > tmp ; mv tmp $i ; done
23 patch < "${srcdir}/ppsearch.patch"
24}
25
26build(){
27 cd "2.6/source/2.4"
28
29 gcc -c -Wall -Wno-unused-function main.c cpudetect.c
30 gcc -c -Wall -Wno-unused-function -O3 -mabm ppsearch.c -o ppsearch-sse.o -march=corei7
31 gcc -c -Wall -Wno-unused-function -O3 -mabm ppsearch.c -o ppsearch-avx.o -march=corei7-avx -DAVX_BUILD
32 gcc -lm main.o ppsearch-avx.o ppsearch-sse.o cpudetect.o -o ppsearch
33}
34
35package(){
36 install -m755 -D "2.6/source/2.4/ppsearch" "${pkgdir}/usr/bin/ppsearch"
37 mkdir -p "${pkgdir}/usr/share/ppsearch"
38 cp -a "2.6/factor2n-1" "${pkgdir}/usr/share/ppsearch/"
39}
40

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