molden
The source is a tarball from a university-hosted FTP server that plausibly belongs to the project; building from project-owned infrastructure is normal for AUR packages, even if the host is not whitelisted.
Triggered rules
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 FTP server that plausibly belongs to the project; building from project-owned infrastructure is normal for AUR packages, even if the host is not whitelisted.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:31
"https://ftp.science.ru.nl/Molden/${pkgname}${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: banana-bred <j.forer@posteo.net>
pkgname="molden"
pkgver=7.3
pkgrel=7
pkgdesc="A program for molecular and electronic structure visualization"
arch=('i686' 'x86_64')
url="https://www.theochem.ru.nl/molden/"
license=('custom')
groups=()
depends=('mesa' 'glu')
makedepends=(
'vi'
'gcc-fortran'
'xorgproto'
'libx11'
'makedepend'
'libxmu'
)
optdepends=(
'openbabel: to create 2D images of the molecules in a .sdf file'
'wget: to fetch PDB from rcsb.org'
)
provides=('molden')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(
"https://ftp.science.ru.nl/Molden/${pkgname}${pkgver}.tar.gz"
)
noextract=()
sha256sums=('870f4fa6635229791bb09bbbd07f51456b2c90101d73564dc47ed7769b8c07a1')
prepare() {
cd "molden${pkgver}"
# Patch to compile with gfortran 10+
# Original contribution by Panadestein on 5/31/2020
sed -i 's/FFLAGS += -g ${AFLAG}/& -fallow-argument-mismatch/g' makefile
sed -i 's/FFLAGS = -g ${AFLAG}/& -fallow-argument-mismatch/g' docker/makefile
# -- use mkstemp instead of mktemp
sed -i 's/mktemp/mkstemp/g' src/xwin.c
# -- ensure Wno-implicit-function-declaration is used to suppress this warning that becomes an error
sed -i "106s/^/# /; 109s/^/# /" makefile
sed -i "68s/^/# /; 71s/^/# /" docker/makefile
# -- get the path to the current gcc version to add as an include directory for 'surf'
_gccInclude="$(echo "$(dirname "$(gcc -print-prog-name=cc1)")/include" | sed 's/\//\\\//g')"
# -- update include directories for surf
sed -i "s/\(^INCLUDE\s*=\).*/\1 -I .\/ -I ${_gccInclude}/" src/surf/Makefile
}
build() {
cd "molden${pkgver}"
make -k -j CC="gcc -std=gnu17"
}
package() {
cd "molden${pkgver}"
install -t "$pkgdir/usr/bin/" -Dm755 bin/{molden,gmolden,ambfor,ambmd,surf}
install -t "$pkgdir/usr/share/doc/$pkgname" -Dm755 doc/figures.ps.Z doc/manual.ps.Z doc/manual.txt.Z
install -t "$pkgdir/usr/share/licenses/$pkgname/" -Dm755 CopyRight MOLDEN_COMMERCIAL_LICENSE REGISTER
}
# vim: ts=2 sw=2 et :
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |