sdds
The package downloads source files from the official Argonne National Laboratory host, which is the legitimate project maintainer; despite the static analyzer flagging non-standard hosts, these are official project URLs, and the build process compiles source code normally without executing untrusted binaries or exfiltrating data.
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 package downloads source files from the official Argonne National Laboratory host, which is the legitimate project maintainer; despite the static analyzer flagging non-standard hosts, these are official project URLs, and the build process compiles source code normally without executing untrusted binaries or exfiltrating data.
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:13
"http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/downloads/SDDS.${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted# $Id$
# Maintainer: Grey Christoforo <first name at last name dot net>
pkgname=sdds
pkgver=3.5
pkgrel=1
pkgdesc="Toolkit for the Self Describing Data Set file format developed at Argonne Nat'l lab"
arch=("any")
makedepends=('perl')
url="http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/manuals/SDDStoolkit/SDDStoolkit.html"
license=('custom')
source=(
"http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/downloads/SDDS.${pkgver}.tar.gz"
"http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/downloads/epics.base.configure.tar.gz"
"http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/downloads/defns.rpn"
"http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/downloads/epics.extensions.configure.tar.gz"
)
md5sums=('735b4e9adb18c3277b757c46563de5b4'
'4db0cac7a918424b2fc2a588c95a29d9'
'7b5e17cdbcdeff1e3381fd1618f0a40d'
'0c2b5e593aecc70edb6c86bca57452c6')
prepare() {
sed -i 's,\$,#\$,g' "${srcdir}/epics/base/configure/os/CONFIG_SITE.linux-x86_64.UnixCommon"
#sed -i "s,#INSTALL_LOCATION=<fullpathname>,INSTALL_LOCATION=${pkgdir},g" "${srcdir}/epics/extensions/configure/CONFIG_SITE"
#sed -i 's,SHARED_LIBRARIES = NO,SHARED_LIBRARIES = YES,g' "${srcdir}/epics/extensions/configure/CONFIG_SITE"
#sed -i 's,SHARED_LIBRARIES=NO,SHARED_LIBRARIES=YES,g' "${srcdir}/epics/extensions/configure/CONFIG"
# fixes for python
sed -i 's,PYTHON_PREFIX = \$(shell python -c "import sys; print sys.prefix"),PYTHON_PREFIX = \$(shell python2 -c "import sys; print sys.prefix"),g' "${srcdir}/epics/extensions/src/SDDS/python/Makefile"
sed -i 's,PYTHON_EXEC_PREFIX = \$(shell python -c "import sys; print sys.exec_prefix"),PYTHON_EXEC_PREFIX = \$(shell python2 -c "import sys; print sys.exec_prefix"),g' "${srcdir}/epics/extensions/src/SDDS/python/Makefile"
sed -i 's,PYTHON_VERSION = \$(shell python -c "import sys; print sys.version\[:3\]"),PYTHON_VERSION = \$(shell python2 -c "import sys; print sys.version\[:3\]"),g' "${srcdir}/epics/extensions/src/SDDS/python/Makefile"
cd "${srcdir}/epics/base"
make clean
cd "${srcdir}/epics/extensions/configure"
make clean
}
build() {
cd "${srcdir}/epics/base"
export RPN_DEFNS="${srcdir}/defns.rpn"
export HOST_ARCH=linux-x86_64
export EPICS_HOST_ARCH=linux-x86_64
make
cd "${srcdir}/epics/extensions/configure"
make
cd "${srcdir}/epics/extensions/src/SDDS"
make
cd "${srcdir}/epics/extensions/src/SDDS/python"
make
}
package() {
mkdir -p "${pkgdir}/opt"
cp -a "${srcdir}/epics/extensions" "${pkgdir}/opt/sdds"
cd "${pkgdir}/opt/sdds"
rm -rf CVS configure config
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |