topdrawer
maintainer orphaned
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a university-hosted project wiki (plausibly official), used to build the software from source; the host is non-standard but not inherently untrustworthy, and the package installs only a compiled binary from the project's own code.
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 project wiki (plausibly official), used to build the software from source; the host is non-standard but not inherently untrustworthy, and the package installs only a compiled binary from the project's own code.
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:12
source=("https://cp3.irmp.ucl.ac.be/projects/madgraph/raw-attachment/wiki/TopDrawer/td.tgz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: JP-Ellis <josh@jpellis.me>
2
3
pkgname=topdrawer
4
pkgver=0.0.0
5
pkgrel=1
6
pkgdesc="."
7
url="https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/TopDrawer"
8
arch=('i686' 'x86_64')
9
license=('MIT')
10
depends=()
11
makedepends=('gcc-fortran' 'gcc-libs')
12
source=("https://cp3.irmp.ucl.ac.be/projects/madgraph/raw-attachment/wiki/TopDrawer/td.tgz"
13
"hollerith.patch")
14
sha256sums=('e6d82b179b8d89297855f3548e8cea64d51b35e04c1bb635fa2a81280040ac58'
15
'2c7b2431af43101f4ce1dc66e7a8fc3302a2ab129dca755385b5992ec2c4b6da')
16
17
prepare () {
18
sed -i "s/^FF = g77 -fno-backslash$/FF = gfortran -std=legacy -fno-backslash/" Makefile.Linux
19
20
echo "Patching Hollerith variables"
21
patch -s -p1 < hollerith.patch
22
}
23
24
build () {
25
cd "${srcdir}"
26
make
27
make clean
28
}
29
30
package () {
31
install -Dm755 "${srcdir}/td" "${pkgdir}/usr/bin/td"
32
}
33
34
# Local Variables:
35
# mode: sh
36
# End:
37
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |