frink-lang-bin
The package downloads the official JAR and data files from the project's own domain (frinklang.org), which is the legitimate source; the files are installed as-is and not executed during build, and the SKIP'd checksums are a packaging weakness but do not imply malicious content given the trusted context.
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 the official JAR and data files from the project's own domain (frinklang.org), which is the legitimate source; the files are installed as-is and not executed during build, and the SKIP'd checksums are a packaging weakness but do not imply malicious content given the trusted context.
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
"$pkgname.jar::https://frinklang.org/frinkjar/frink.jar"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Alexis Williams <alexis@typedr.at>
pkgname=frink-lang-bin
pkgver=20240227
pkgrel=2
pkgdesc="A practical calculating tool and programming language."
arch=('any')
url="https://frinklang.org/"
license=('unknown')
depends=('bash' 'java-runtime')
makedepends=('awk' 'imagemagick' 'unzip')
optdepends=('rlwrap: readline support for the command-line shell')
source=(
"$pkgname.jar::https://frinklang.org/frinkjar/frink.jar"
"$pkgname-unitnames.txt::https://frinklang.org/frinkjar/unitnames.txt"
"$pkgname-functionnames.txt::https://frinklang.org/frinkjar/functionnames.txt"
)
noextract=("${source[@]%%::*}")
sha256sums=(
'SKIP'
'SKIP'
'SKIP'
)
pkgver() {
unzip -l "$srcdir/$pkgname.jar" | awk '/META-INF\/MANIFEST.MF/ { gsub("-",""); print $2 }';
}
build() {
unzip -p "$srcdir/$pkgname.jar" "data/icon.gif" > "$srcdir/$pkgname-icon.gif"
convert "$srcdir/$pkgname-icon.gif" -interpolate Nearest -filter point -resize '512x512' "$srcdir/$pkgname-icon.png"
}
package() {
mkdir -p "$pkgdir/usr/share/java/frink/";
cp "$srcdir/$pkgname.jar" "$pkgdir/usr/share/java/frink/frink.jar";
mkdir -p "$pkgdir/usr/share/frink/";
cp "$srcdir/$pkgname-unitnames.txt" "$pkgdir/usr/share/frink/unitnames.txt";
cp "$srcdir/$pkgname-functionnames.txt" "$pkgdir/usr/share/frink/functionnames.txt";
mkdir -p "$pkgdir/usr/bin/"
cat > "$pkgdir/usr/bin/frink" << 'EOF'
#!/bin/bash
CP=/usr/share/java/frink/frink.jar
rlwrap=$(command -v rlwrap)
rlwrap_args=""
if [ -n "${rlwrap}" ]
then
rlwrap_args="-f /usr/share/frink/unitnames.txt -b '$' -f /usr/share/frink/functionnames.txt"
fi
java_opts=(
"-Dawt.useSystemAAFontSettings=on"
"-Dswing.aatext=true"
"-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
"-Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
)
exec $rlwrap $rlwrap_args /usr/bin/java ${java_opts[*]} -cp $CP frink.gui.FrinkStarter "$@"
EOF
chmod a+x "$pkgdir/usr/bin/frink"
mkdir -p "$pkgdir/usr/share/icons/"
cp "$srcdir/$pkgname-icon.png" "$pkgdir/usr/share/icons/frink.png"
mkdir -p "$pkgdir/usr/share/applications/"
cat > "$pkgdir/usr/share/applications/frink.desktop" << 'EOF'
[Desktop Entry]
Type=Application
Version=1.0
Name=Frink
Comment=A practical calculating tool and programming language.
Exec=frink --gui
Icon=frink
Terminal=false
Categories=Utility;Science;Math;Calculator;Java
EOF
}
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 |