david

LOW
maintainer donpicoro 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a tarball from a university-hosted personal directory, which is not on a standard code forge but plausibly the original author's official location; the package builds from source without executing untrusted binaries, and the worst case of a swapped source would be code execution during build, but the context suggests this is the legitimate upstream.

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 source is a tarball from a university-hosted personal directory, which is not on a standard code forge but plausibly the original author's official location; the package builds from source without executing untrusted binaries, and the worst case of a swapped source would be code execution during build, but the context suggests this is the legitimate upstream.

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=("http://geant4.kek.jp/~tanaka/src/${pkgname}_${_pkgver}.taz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Luis Sarmiento <lgsarmientop-ala-unal.edu.co>
2
3pkgname=david
4_PKGNAME=David
5pkgver=1.36a
6_pkgver=1_36a
7pkgrel=4
8pkgdesc="DAwn's Visual Intersection Debugger"
9url="http://geant4.kek.jp/~tanaka/DAWN/About_DAVID.html"
10arch=('x86_64' 'i686')
11license=('unknown')
12depends=('dawn')
13source=("http://geant4.kek.jp/~tanaka/src/${pkgname}_${_pkgver}.taz"
14 "make_DESTDIR.patch"
15 )
16sha256sums=('61c77a7290a602e97f6664fbc613e3fb834cb87c525b0bc6dc5b1ea060f733ab'
17 '93ef37f00e7a6a4b43a377e48b69bb600ac26e667ab3c8af3d8eaf7a2afc284e')
18
19prepare() {
20 cd "${srcdir}/${pkgname}_${_pkgver}"
21 patch -Np2 < ${srcdir}/make_DESTDIR.patch
22
23 msg "Fixing: 'error: ISO C++ forbids comparison between pointer and integer'"
24 sed -i "s/'\\\0'/NULL/g" FRString.h
25}
26
27build() {
28 cd "${srcdir}/${pkgname}_${_pkgver}"
29 make
30}
31
32package() {
33 cd "${srcdir}/${pkgname}_${_pkgver}"
34 [ -d $pkgdir/usr/bin/ ] || install -d $pkgdir/usr/bin/
35 make DESTDIR="${pkgdir}" install
36
37 echo "
38 [Desktop Entry]
39 Name=${_PKGNAME}
40 Comment=${pkgdesc}
41 Exec=${pkgname}
42 Icon=xchm-32
43 Terminal=false
44 Type=Application
45 Categories=Utility;Science;
46 StartupNotify=false
47 " > $srcdir/$pkgname.desktop
48 install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
49}
50
51#FRString.h:140:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
52# while( isspace(*p) && p != '\0' ) {p++;}
53# ^~~~
54#FRString.h:143:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
55# while( !isspace(*p) && p != '\0' ) {p++;}
56# ^~~~
57#FRString.h:146:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
58# while( isspace(*p) && p != '\0' ) {p++;}
59
60

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion