capsimage
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-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 |