e-dowod
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:11
source=("https://www.gov.pl/pliki/edowod/$pkgname-$pkgver.run")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 75%): The package downloads a prebuilt .run installer binary from www.gov.pl (the official Polish government domain) and executes it inside a fakechroot environment. The source host is the official upstream vendor (Polish Ministry of Interior), not a personal or unofficial mirror, which significantly reduces supply-chain risk compared to a random third-party host. However, the package still executes an opaque prebuilt binary installer rather than building from source, and the fakechroot sandbox provides only weak isolation — the .run file runs arbitrary code during the build phase. The md5sum provides minimal integrity assurance. This is a legitimate but inherently risky packaging pattern (executed binary from an external host), warranting medium severity rather than high, since the host is the official government source and there is no evidence of malicious intent.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Dariusz Dumas <dariusz@dareme.org>
pkgname=e-dowod
pkgver=4.3.0
pkgrel=1
pkgdesc="Helper tools for managing Polish electronic identity documents, enabling secure authentication and digital signing."
arch=('x86_64')
url="https://www.gov.pl/web/mswia/oprogramowanie-do-pobrania"
license=('custom' "MIT")
depends=()
makedepends=('fakeroot' 'fakechroot')
source=("https://www.gov.pl/pliki/edowod/$pkgname-$pkgver.run")
md5sums=('8bf382fa53377e05bd58398b592449e7')
options=(!strip)
build() {
WORKDIR="$srcdir/chroot"
rm -rf $WORKDIR
mkdir -p $WORKDIR
cd $WORKDIR
mkdir tmp bin
ln -sf /bin/sh ./bin
ln -sf /bin/rm ./bin
ln -sf /bin/chmod ./bin
cp $srcdir/$pkgname-$pkgver.run ./bin/$pkgname-$pkgver.run
chmod +x ./bin/$pkgname-$pkgver.run
mkdir -p ./usr/share/applications/
mkdir -p ./etc/xdg/autostart
export PATH="/bin:$PATH"
fakechroot fakeroot chroot . $pkgname-$pkgver.run install --accept-licenses --confirm-command
# remove temporary files for fakechroot
rm -rf bin tmp
# move licenses to proper folder
mkdir -p usr/share/
mv opt/$pkgname/Licenses/ usr/share/licenses
# remove installer files
cd opt/$pkgname && rm -rf uninstall* installerResources installer.dat components.xml InstallationLog.txt
}
package() {
cp -R $srcdir/chroot/* $pkgdir/
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |