capsimage

maintainer Solskogen · 4 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

LOW AI review downgraded a static finding 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)
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: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
1# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
2# Contributor: Oliver Jaksch <arch-aur@com-in.de>
3
4pkgname=capsimage
5pkgver=5.1
6pkgrel=2
7pkgdesc="Library to access IPF and CTR files"
8arch=('x86_64')
9url="https://www.kryoflux.com/"
10license=('custom:SPS License')
11depends=('gcc-libs')
12provides=('libcapsimage.so=5-64')
13source=("https://www.kryoflux.com/download/spsdeclib_${pkgver}_source.zip"
14 'ipflib42_linux-x86_64.tar.gz::http://www.softpres.org/_media/files:ipflib42_linux-x86_64.tar.gz')
15sha256sums=('e60b756fa68c5fe073a28c618a0ec06220ef185e2a3c59e4a8d001c930f693d1'
16 'ea139673e29a36dc3be7ba916628b5c8a03353bd68be4d346daed803d472ddf3')
17
18prepare() {
19 bsdtar -xf capsimg_source_linux_macosx.zip
20}
21
22build() {
23 cd capsimg_source_linux_macosx/CAPSImg
24 chmod +x configure
25 ./configure --prefix=/usr
26 make
27}
28
29package() {
30 cd capsimg_source_linux_macosx/CAPSImg
31 # some applications expect the object files in /usr/lib/caps ...
32 install -Dm644 "libcapsimage.so.5.1" "${pkgdir}/usr/lib/caps/libcapsimage.so"
33 ln -s "libcapsimage.so" "${pkgdir}/usr/lib/caps/libcapsimage.so.5"
34 ln -s "libcapsimage.so" "${pkgdir}/usr/lib/caps/libcapsimage.so.5.1"
35 # ... but some others in /usr/lib
36 ln -s "caps/libcapsimage.so" "${pkgdir}/usr/lib/libcapsimage.so"
37 ln -s "caps/libcapsimage.so" "${pkgdir}/usr/lib/libcapsimage.so.5"
38 ln -s "caps/libcapsimage.so" "${pkgdir}/usr/lib/libcapsimage.so.5.1"
39
40 install -Dm644 "../Core/CommonTypes.h" "${pkgdir}/usr/include/caps/CommonTypes.h"
41 cp ../LibIPF/*.h "${pkgdir}/usr/include/caps/"
42
43 # some header files from 4.2 for compatibilty
44 cp --no-preserve=mode ${srcdir}/x86_64-linux-gnu-capsimage/include/caps/*.h "${pkgdir}/usr/include/caps/"
45}
46

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion