podpisgov
maintainer Kamilcuk
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a Polish government domain (pz.gov.pl) hosting the official application; despite being a non-whitelisted host, it is plausibly the project's official source, and the package builds from official upstream files without executing remote code or introducing untrusted binaries.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from a Polish government domain (pz.gov.pl) hosting the official application; despite being a non-whitelisted host, it is plausibly the project's official source, and the package builds from official upstream files without executing remote code or introducing untrusted binaries.
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:12
source=("${pkgname}.tar.gz::https://pz.gov.pl/PodpisGOV/linux/PodpisGOV.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Kamil cukrowski <kmilcukrowski@gmail.com>
2
# Contributor: TechniKris <technikrisdev at gmail dot com>
3
pkgname=podpisgov
4
pkgver=1.5.5.4
5
pkgrel=1
6
pkgdesc="An application for digital signatures by Poland government."
7
arch=('any')
8
url="https://podpis.gov.pl/ui/wp/podpis-gov"
9
license=('CC-BY-NC-4.0' 'LGPL-3.0-only' 'GPL-3.0-only')
10
depends=('java8-openjfx' # or 'java-openjfx<21', since JavaFX 21 dropped GTK2
11
'libappindicator-gtk2')
12
source=("${pkgname}.tar.gz::https://pz.gov.pl/PodpisGOV/linux/PodpisGOV.tar.gz")
13
sha256sums=('0a6f5aa745b12c64be33c62822bd0efed355444c08accf60d2d28ce1a1ee8d1e')
14
15
prepare() {
16
# Remove bundled Java
17
rm -rf "${srcdir}/PodpisGOV/jre"
18
# Use system Java
19
sed --in-place \
20
-e 's/"$SCRIPTPATH\/jre\/bin\/java"/"\/usr\/lib\/jvm\/default-runtime\/bin\/java"/g' \
21
"${srcdir}/PodpisGOV/PodpisGOV"
22
}
23
24
mkdir_link() {
25
echo "$2 -> $1"
26
install -d "$(dirname "$2")"
27
ln -s "$opt/$1" "$2"
28
}
29
30
package() {
31
# This path is hardocded in the desktop link.
32
local opt=/opt/PodpisGOV
33
local mydir="${pkgdir}$opt"
34
# Create the installation directory
35
install -d "${mydir}"
36
# Move the extracted content to the target directory
37
mv "${srcdir}/PodpisGOV/"* "${mydir}/"
38
# Install executable.
39
mkdir_link "PodpisGOV" "${pkgdir}/usr/bin/PodpisGOV"
40
# Install the desktop file
41
mkdir_link "PodpisGOV.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
42
# Install the license file
43
mkdir_link "Licenses/License-pl.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
44
}
45
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |