caffviewer
Triggered rules
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=("${pkgname}-${pkgver}.jar::https://caff.de/projects/caffviewer/caffviewer.jar"
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt JAR file directly from caff.de (the upstream project's own domain, matching the url= field) and installs it as an executable Java program. Two concerns: (1) All checksums are SKIP, meaning there is no integrity verification whatsoever — not even a hash to detect accidental or malicious tampering. (2) The JAR is a prebuilt binary executed at runtime via java -jar, so any compromise of the upstream host or a MITM would result in arbitrary code execution on the user's machine. The host caff.de appears to be the legitimate upstream vendor site for this viewer, so this is not an obviously unofficial/personal host, but the complete absence of checksums for an executed binary is a genuine supply-chain concern. This is a real medium-severity issue: executed binary from a host with no integrity verification, not a false positive.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=caffviewer
pkgver=latest
pkgrel=1
pkgdesc="The de·caff Viewer version 3.x is a pure Java program for viewing AutoCAD® DWG, DXF and SHX files"
arch=('any')
url='https://caff.de/projects/caffviewer/'
license=('Apache' "custom:${pkgname}")
depends=('java-runtime>=8' 'bash')
makedepends=('gendesk')
noextract=("${pkgname}-${pkgver}.jar")
source=("${pkgname}-${pkgver}.jar::https://caff.de/projects/caffviewer/caffviewer.jar"
'LICENSE'
'caffviewer.png')
sha256sums=('SKIP'
'SKIP'
'SKIP')
package() {
install -Dm644 ${pkgname}-${pkgver}.jar -t "${pkgdir}/usr/share/java/${pkgname}"
echo "#!/usr/bin/env bash
exec /usr/bin/java -jar '/usr/share/java/${pkgname}/${pkgname}-${pkgver}.jar' "\$\@"" > caffviewer.sh
install -Dm755 caffviewer.sh "${pkgdir}/usr/bin/caffviewer"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
gendesk -f -n --pkgname "${pkgname}" \
--pkgdesc "$pkgdesc" \
--name "de·caff Viewer" \
--comment "$pkgdesc" \
--exec "${pkgname}" \
--categories 'Graphics;Application;' \
--icon "${pkgname}"
install -Dm644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
install -Dm644 caffviewer.png -t "${pkgdir}/usr/share/pixmaps"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |