vstax

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

LOW AI review downgraded a static finding 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)
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:20 source=("https://sftp.vs.ch/${pkgname}/${_year}/${pkgname}${_year}_${_upstream_version}-${_upstream_release}_amd64.deb"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Fabien Dubosson <fabien.dubosson@gmail.com>
2
3# Contributors:
4# Pierre-Yves Savioz <savioz.py@net-c.com>
5# Stéphane Donnet <donnet.stephane@gmail.com>
6
7pkgname="vstax"
8_year="2025"
9_upstream_version="1.0.10"
10_upstream_release="147"
11pkgver="${_year}_${_upstream_version}_${_upstream_release}"
12pkgrel="1"
13pkgdesc="Software to fill the tax forms of the canton of Valais, Switzerland"
14url="http://www.vs.ch/vstax"
15license=('unknown')
16arch=('x86_64')
17depends=('java-runtime' 'shared-mime-info' 'desktop-file-utils' 'libxrender' 'libxtst' 'fontconfig')
18install="vstax.install"
19changelog="ChangeLog"
20source=("https://sftp.vs.ch/${pkgname}/${_year}/${pkgname}${_year}_${_upstream_version}-${_upstream_release}_amd64.deb"
21 "archlinux.patch")
22sha256sums=('69fc4fa1813a7a746e4aa1d311b2ad803d985c7e40be0f4ab2f18f0976071418'
23 '1270078c26ed43bf6a8afbe1d8d6287f5e95043c4a507130d8721895189ab94c')
24
25prepare() {
26 cd "${srcdir}/"
27
28 # Extract the data contained in the `deb` file
29 tar -xf data.tar.zst
30
31 # Patch for archlinux
32 patch -p2 < archlinux.patch
33}
34
35package() {
36 cd "${srcdir}/usr/share/"
37
38 # Store application name in a variable
39 _appname="${pkgname}${_year}"
40
41 # Copy the application descriptor
42 install -D "applications/${_appname}.desktop" "${pkgdir}/usr/share/applications/${_appname}.desktop"
43
44 # Copy the application changelog
45 install -D "doc/${_appname}/changelog.Debian.gz" "${pkgdir}/usr/share/doc/${_appname}/changelog.Debian.gz"
46
47 # Copy the mime descriptor
48 install -D "mime/packages/${_appname}.xml" "${pkgdir}/usr/share/mime/packages/${_appname}.xml"
49
50 # Copy the application itself
51 install -d "${pkgdir}/usr/share/java/"
52 cp -R "${_appname}" "${pkgdir}/usr/share/java/${_appname}"
53
54 # Move executable to /usr/bin
55 install -d "${pkgdir}/usr/bin/"
56 mv "${pkgdir}/usr/share/java/${_appname}/${_appname}.sh" "${pkgdir}/usr/bin/${_appname}"
57
58 # Remove the included java environment
59 rm -Rf "${pkgdir}/usr/share/java/${_appname}/jre"
60}
61

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