gosign

maintainer snack · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary .deb installer from rinnovofirma.infocert.it, which appears to be an official InfoCert vendor subdomain (InfoCert is a major Italian CA/digital signature provider). The binary is an Electron-based desktop application extracted and installed directly. Key concerns: (1) the source URL points to 'latest' rather than a versioned artifact, meaning the downloaded binary could change without the sha512sum catching it on future builds (though the current build pins the hash); (2) it is a prebuilt closed-source binary from a vendor host, not compiled from source — standard supply-chain risk for AUR binary packages; (3) the sha512sum provided has only 127 hex characters instead of the required 128, which is suspicious and may indicate a truncation error, potentially making integrity verification unreliable. The host itself appears legitimate (official Italian digital signature authority), so this is not clearly malicious, but the combination of a prebuilt binary, a 'latest' URL, and a malformed checksum keeps this at MEDIUM risk.

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:14 source=("https://rinnovofirma.infocert.it/gosign/download/linux/latest/GoSign-Desktop-installer-linux.deb")
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 .deb installer from rinnovofirma.infocert.it, which appears to be an official InfoCert vendor subdomain (InfoCert is a major Italian CA/digital signature provider). The binary is an Electron-based desktop application extracted and installed directly. Key concerns: (1) the source URL points to 'latest' rather than a versioned artifact, meaning the downloaded binary could change without the sha512sum catching it on future builds (though the current build pins the hash); (2) it is a prebuilt closed-source binary from a vendor host, not compiled from source — standard supply-chain risk for AUR binary packages; (3) the sha512sum provided has only 127 hex characters instead of the required 128, which is suspicious and may indicate a truncation error, potentially making integrity verification unreliable. The host itself appears legitimate (official Italian digital signature authority), so this is not clearly malicious, but the combination of a prebuilt binary, a 'latest' URL, and a malformed checksum keeps this at MEDIUM risk.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Nicola Mori (nicolamori at aol dot com)
2# Contributor: Lorenzo Nizzi <lorenzo.nizzi.grifi at gmail dot com>
3pkgname=gosign
4pkgver=2.4.8
5pkgrel=1
6pkgdesc="Nuovo tool di firma e rinnovo online per i certificati digitali emessi da InfoCert"
7arch=('x86_64')
8url="https://www.firma.infocert.it"
9license=('CUSTOM')
10# groups=('')
11depends=('alsa-lib' 'atk' 'at-spi2-atk' 'at-spi2-core' 'bzip2' 'cairo' 'curl' 'dbus' 'desktop-file-utils' 'expat' 'freetype2' 'gcc-libs' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3' 'hicolor-icon-theme' 'hidapi' 'libcups' 'libnotify' 'libusb' 'libx11' 'libxcb' 'libxcomposite' 'libxcursor' 'libxdamage' 'libxext' 'libxfixes' 'libxi' 'libxml2' 'libxml2-legacy' 'libxrandr' 'libxrender' 'libxslt' 'libxss' 'libxtst' 'nspr' 'nss' 'openssl' 'pango' 'pcsclite' 'trash-cli' 'xdg-utils' 'zlib')
12options=('!strip' '!emptydirs')
13install=${pkgname}.install
14source=("https://rinnovofirma.infocert.it/gosign/download/linux/latest/GoSign-Desktop-installer-linux.deb")
15sha512sums=('b381a005d3d6a7662d33b752b225418f115c541ba112a178b28631ca651d8cf0cc39fd953fe11b1cd395d6d5181f285d763be6a04b5f4ec5145d73c09ec70fdf')
16
17package(){
18
19 # Extract package data
20 tar xf data.tar.xz -C "${pkgdir}"
21
22 install -dm 755 "$pkgdir/usr"/{lib,bin,share}
23 install -dm 755 "$pkgdir/usr/share/applications"
24 install -dm 755 "$pkgdir/usr/share/pixmaps"
25 install -dm 755 "$pkgdir/usr/share/doc"
26 install -dm 755 "$pkgdir/usr"
27# install -D -m644 "/usr/lib/gosigndesktop/resources/app/node_modules/yargs-parser/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
28# install -D -m644 "/usr/share/doc/gosigndesktop/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
29
30}
31

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