david

maintainer donpicoro · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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