david

LOW
maintainer donpicoro 1 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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