easytax-ag-2022
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
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"
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# Maintainer: Jeremy Stucki <dev@jeremystucki.ch>
# Maintainer: Daniel Wilhelm <concat(shield, wed) @ outlook.com>
# Maintainer: soloturn@gmail.com
_yyyy=2022
pkgname=easytax-ag-${_yyyy}
pkgver=1.3
pkgrel=1
pkgdesc="Aargau tax declaration software."
arch=(any)
url="https://www.ag.ch/de/dfr/steuern/natuerliche_personen/steuererklaerung__easytax/steuererklaerung_easytax1.jsp"
license=('custom')
depends=("java-environment")
source=(
"https://msg-easytax.ch/ag/${_yyyy}/EasyTax${_yyyy}AG_unix_$(echo ${pkgver} | sed 's/\./_/').tar.gz"
"https://upload.wikimedia.org/wikipedia/commons/d/d9/Wappen_Aargau.svg"
"$pkgname.desktop"
)
sha256sums=(
'69a3886f12ee445d7e71f3c47b08cce8cf871981ff786453cf6331b34759b5d4'
'253d315b20371cd9add777dc990f96545c60d5d07a3f34cd33720d5148e82486'
'f666973e4142a2be29f19e206027aa89e7e7816021dbcff5f4df022cf6e11bb4'
)
package() {
# package the software, the xdg desktop file so GUI finds it
# and the link in bin so commandline finds it.
mkdir -p "$pkgdir"/usr/lib
mv "$srcdir"/EasyTax${_yyyy}AG/ "$pkgdir"/usr/lib/$pkgname/
mkdir -p "$pkgdir"/usr/share/applications
cp *.desktop "$pkgdir"/usr/share/applications/
mkdir -p "$pkgdir"/usr/share/icons/hicolor/scalable/apps/
cp Wappen_Aargau.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/
mkdir -p "$pkgdir"/usr/bin
binname=$(basename "$pkgdir"/usr/lib/$pkgname/EasyTax*)
ln -sf /usr/lib/${pkgname}/$binname "$pkgdir"/usr/bin/$pkgname
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |