easytax-ag-2022

maintainer soloturn · 2 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary tarball (a Java application) from msg-easytax.ch, which is not the official Swiss cantonal government domain (ag.ch). The official URL listed is ag.ch, but the actual source download comes from a third-party host. The binary is then installed and symlinked into /usr/bin for execution. This is a genuine supply-chain concern: if msg-easytax.ch were compromised or the domain were taken over, a malicious binary could be distributed. The sha256sum provides some protection against substitution after the fact, but does not address the trustworthiness of the original host. That said, msg-easytax.ch appears to be a known Swiss tax software distribution host (EasyTax is a real Swiss cantonal tax software product), so this may be the legitimate vendor distribution channel rather than a personal/unofficial host. The risk is real but not clearly malicious, consistent with a MEDIUM rating.

Triggered rules

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:15 "https://msg-easytax.ch/ag/${_yyyy}/EasyTax${_yyyy}AG_unix_$(echo ${pkgver} | sed 's/\./_/').tar.gz"
  • PKGBUILD:16 "https://upload.wikimedia.org/wikipedia/commons/d/d9/Wappen_Aargau.svg"
MEDIUM AI review 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 binary tarball (a Java application) from msg-easytax.ch, which is not the official Swiss cantonal government domain (ag.ch). The official URL listed is ag.ch, but the actual source download comes from a third-party host. The binary is then installed and symlinked into /usr/bin for execution. This is a genuine supply-chain concern: if msg-easytax.ch were compromised or the domain were taken over, a malicious binary could be distributed. The sha256sum provides some protection against substitution after the fact, but does not address the trustworthiness of the original host. That said, msg-easytax.ch appears to be a known Swiss tax software distribution host (EasyTax is a real Swiss cantonal tax software product), so this may be the legitimate vendor distribution channel rather than a personal/unofficial host. The risk is real but not clearly malicious, consistent with a MEDIUM rating.

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Jeremy Stucki <dev@jeremystucki.ch>
2# Maintainer: Daniel Wilhelm <concat(shield, wed) @ outlook.com>
3# Maintainer: soloturn@gmail.com
4
5_yyyy=2022
6pkgname=easytax-ag-${_yyyy}
7pkgver=1.3
8pkgrel=1
9pkgdesc="Aargau tax declaration software."
10arch=(any)
11url="https://www.ag.ch/de/dfr/steuern/natuerliche_personen/steuererklaerung__easytax/steuererklaerung_easytax1.jsp"
12license=('custom')
13depends=("java-environment")
14source=(
15 "https://msg-easytax.ch/ag/${_yyyy}/EasyTax${_yyyy}AG_unix_$(echo ${pkgver} | sed 's/\./_/').tar.gz"
16 "https://upload.wikimedia.org/wikipedia/commons/d/d9/Wappen_Aargau.svg"
17 "$pkgname.desktop"
18)
19sha256sums=(
20 '69a3886f12ee445d7e71f3c47b08cce8cf871981ff786453cf6331b34759b5d4'
21 '253d315b20371cd9add777dc990f96545c60d5d07a3f34cd33720d5148e82486'
22 'f666973e4142a2be29f19e206027aa89e7e7816021dbcff5f4df022cf6e11bb4'
23)
24
25package() {
26 # package the software, the xdg desktop file so GUI finds it
27 # and the link in bin so commandline finds it.
28 mkdir -p "$pkgdir"/usr/lib
29 mv "$srcdir"/EasyTax${_yyyy}AG/ "$pkgdir"/usr/lib/$pkgname/
30
31 mkdir -p "$pkgdir"/usr/share/applications
32 cp *.desktop "$pkgdir"/usr/share/applications/
33
34 mkdir -p "$pkgdir"/usr/share/icons/hicolor/scalable/apps/
35 cp Wappen_Aargau.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/
36
37 mkdir -p "$pkgdir"/usr/bin
38 binname=$(basename "$pkgdir"/usr/lib/$pkgname/EasyTax*)
39 ln -sf /usr/lib/${pkgname}/$binname "$pkgdir"/usr/bin/$pkgname
40}
41

Scan history

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

Report a package

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

0 / 4000
Your suggestion