vstax
The package downloads a prebuilt .deb from a government-hosted SFTP server (sftp.vs.ch) for a Swiss canton's official tax software; while the host is non-standard and checksums are provided, the source is plausibly official and the payload is a self-contained Java application installed locally without remote code execution or obfuscation.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt .deb from a government-hosted SFTP server (sftp.vs.ch) for a Swiss canton's official tax software; while the host is non-standard and checksums are provided, the source is plausibly official and the payload is a self-contained Java application installed locally without remote code execution or obfuscation.
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:20
source=("https://sftp.vs.ch/${pkgname}/${_year}/${pkgname}${_year}_${_upstream_version}-${_upstream_release}_amd64.deb"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Fabien Dubosson <fabien.dubosson@gmail.com>
# Contributors:
# Pierre-Yves Savioz <savioz.py@net-c.com>
# Stéphane Donnet <donnet.stephane@gmail.com>
pkgname="vstax"
_year="2025"
_upstream_version="1.0.10"
_upstream_release="147"
pkgver="${_year}_${_upstream_version}_${_upstream_release}"
pkgrel="1"
pkgdesc="Software to fill the tax forms of the canton of Valais, Switzerland"
url="http://www.vs.ch/vstax"
license=('unknown')
arch=('x86_64')
depends=('java-runtime' 'shared-mime-info' 'desktop-file-utils' 'libxrender' 'libxtst' 'fontconfig')
install="vstax.install"
changelog="ChangeLog"
source=("https://sftp.vs.ch/${pkgname}/${_year}/${pkgname}${_year}_${_upstream_version}-${_upstream_release}_amd64.deb"
"archlinux.patch")
sha256sums=('69fc4fa1813a7a746e4aa1d311b2ad803d985c7e40be0f4ab2f18f0976071418'
'1270078c26ed43bf6a8afbe1d8d6287f5e95043c4a507130d8721895189ab94c')
prepare() {
cd "${srcdir}/"
# Extract the data contained in the `deb` file
tar -xf data.tar.zst
# Patch for archlinux
patch -p2 < archlinux.patch
}
package() {
cd "${srcdir}/usr/share/"
# Store application name in a variable
_appname="${pkgname}${_year}"
# Copy the application descriptor
install -D "applications/${_appname}.desktop" "${pkgdir}/usr/share/applications/${_appname}.desktop"
# Copy the application changelog
install -D "doc/${_appname}/changelog.Debian.gz" "${pkgdir}/usr/share/doc/${_appname}/changelog.Debian.gz"
# Copy the mime descriptor
install -D "mime/packages/${_appname}.xml" "${pkgdir}/usr/share/mime/packages/${_appname}.xml"
# Copy the application itself
install -d "${pkgdir}/usr/share/java/"
cp -R "${_appname}" "${pkgdir}/usr/share/java/${_appname}"
# Move executable to /usr/bin
install -d "${pkgdir}/usr/bin/"
mv "${pkgdir}/usr/share/java/${_appname}/${_appname}.sh" "${pkgdir}/usr/bin/${_appname}"
# Remove the included java environment
rm -Rf "${pkgdir}/usr/share/java/${_appname}/jre"
}
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 |