capsimage
The PKGBUILD downloads two sources: (1) a source archive from kryoflux.com (the official KryoFlux/SPS vendor site) and (2) a pre-built binary tarball from softpres.org (the Software Preservation Society, which is the organization behind the IPF format and directly affiliated with KryoFlux). softpres.org is the legitimate upstream for the CAPS/IPF library. The pre-built binary from softpres.org (ipflib42) is only used for compatibility header files (*.h) copied in the package() function — it is not executed during build or installed as an executable/library. The actual library is built from source (the kryoflux.com zip). Both sources have pinned sha256sums. The concern is that softpres.org is a lesser-known host, but it is the legitimate upstream organization, and the binary content from it is only used for header files (pure data), not executed code. This is low risk: slightly non-standard sourcing but not a genuine supply-chain execution threat.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed the full PKGBUILD and judged it LOW (confidence 75%): The PKGBUILD downloads two sources: (1) a source archive from kryoflux.com (the official KryoFlux/SPS vendor site) and (2) a pre-built binary tarball from softpres.org (the Software Preservation Society, which is the organization behind the IPF format and directly affiliated with KryoFlux). softpres.org is the legitimate upstream for the CAPS/IPF library. The pre-built binary from softpres.org (ipflib42) is only used for compatibility header files (*.h) copied in the package() function — it is not executed during build or installed as an executable/library. The actual library is built from source (the kryoflux.com zip). Both sources have pinned sha256sums. The concern is that softpres.org is a lesser-known host, but it is the legitimate upstream organization, and the binary content from it is only used for header files (pure data), not executed code. This is low risk: slightly non-standard sourcing but not a genuine supply-chain execution threat.
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
source=("https://www.kryoflux.com/download/spsdeclib_${pkgver}_source.zip" -
PKGBUILD:14
'ipflib42_linux-x86_64.tar.gz::http://www.softpres.org/_media/files:ipflib42_linux-x86_64.tar.gz')
PKGBUILD
2 offending line(s) highlighted# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Oliver Jaksch <arch-aur@com-in.de>
pkgname=capsimage
pkgver=5.1
pkgrel=2
pkgdesc="Library to access IPF and CTR files"
arch=('x86_64')
url="https://www.kryoflux.com/"
license=('custom:SPS License')
depends=('gcc-libs')
provides=('libcapsimage.so=5-64')
source=("https://www.kryoflux.com/download/spsdeclib_${pkgver}_source.zip"
'ipflib42_linux-x86_64.tar.gz::http://www.softpres.org/_media/files:ipflib42_linux-x86_64.tar.gz')
sha256sums=('e60b756fa68c5fe073a28c618a0ec06220ef185e2a3c59e4a8d001c930f693d1'
'ea139673e29a36dc3be7ba916628b5c8a03353bd68be4d346daed803d472ddf3')
prepare() {
bsdtar -xf capsimg_source_linux_macosx.zip
}
build() {
cd capsimg_source_linux_macosx/CAPSImg
chmod +x configure
./configure --prefix=/usr
make
}
package() {
cd capsimg_source_linux_macosx/CAPSImg
# some applications expect the object files in /usr/lib/caps ...
install -Dm644 "libcapsimage.so.5.1" "${pkgdir}/usr/lib/caps/libcapsimage.so"
ln -s "libcapsimage.so" "${pkgdir}/usr/lib/caps/libcapsimage.so.5"
ln -s "libcapsimage.so" "${pkgdir}/usr/lib/caps/libcapsimage.so.5.1"
# ... but some others in /usr/lib
ln -s "caps/libcapsimage.so" "${pkgdir}/usr/lib/libcapsimage.so"
ln -s "caps/libcapsimage.so" "${pkgdir}/usr/lib/libcapsimage.so.5"
ln -s "caps/libcapsimage.so" "${pkgdir}/usr/lib/libcapsimage.so.5.1"
install -Dm644 "../Core/CommonTypes.h" "${pkgdir}/usr/include/caps/CommonTypes.h"
cp ../LibIPF/*.h "${pkgdir}/usr/include/caps/"
# some header files from 4.2 for compatibilty
cp --no-preserve=mode ${srcdir}/x86_64-linux-gnu-capsimage/include/caps/*.h "${pkgdir}/usr/include/caps/"
}
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 |