heidisql-wine

MEDIUM
maintainer D3SOX 1 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a prebuilt executable (heidisql64.r${heidisqlrelease}.exe) from www.heidisql.com, a non-whitelisted host, which is then used in the build; this creates a supply-chain risk if the host is compromised or untrusted.

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://www.heidisql.com/downloads/builds/heidisql64.r${heidisqlrelease}.exe"
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 90%): The package downloads a prebuilt executable (heidisql64.r${heidisqlrelease}.exe) from www.heidisql.com, a non-whitelisted host, which is then used in the build; this creates a supply-chain risk if the host is compromised or untrusted.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Nico <d3sox at protonmail dot com>
2# Contributor: Liviu Cristian Mirea-Ghiban <liviu dot mirea at wecodepixels dot com>
3heidisqlrelease=7382
4shortpkgver=12.22
5pkgname=heidisql-wine
6pkgver=${shortpkgver}.0.${heidisqlrelease}
7pkgrel=1
8pkgdesc="A lightweight GUI for managing MySQL, PostgreSQL, and Microsoft SQL databases. This package uses the latest nightly build (64bit) on top of the portable version, and uses Wine."
9arch=(any)
10url="http://www.heidisql.com/"
11license=('GPL')
12depends=(bash wine)
13makedepends=(unzip)
14source=("https://github.com/HeidiSQL/HeidiSQL/releases/download/v${shortpkgver}/HeidiSQL_${shortpkgver}_64_Portable.zip"
15 "https://www.heidisql.com/downloads/builds/heidisql64.r${heidisqlrelease}.exe"
16 "${pkgname}.png"
17 "${pkgname}.desktop"
18 "${pkgname}.sh")
19sha256sums=('7b36821fa3e16cc37b511d41747efa4c8b980d1e3fa937e52c5931bcc4ee79b4'
20 '8a5e3407e5607d5df5e59eb521591b096e9b53c2421a87886b3b4405edeb16e0'
21 'd0f6c19b7aa4b7a6daa00b658a852f97d35dd98d2c31a2f4ea267527bf5cda15'
22 '07abdaeab2b5c30ed7b053cce5e42942cc32c56503439eff69fb21b57c522122'
23 '840acb31ca1de8d029e725fded1ac09df0314dea41da53f15f4cd3848e34bb00')
24noextract=("HeidiSQL_${shortpkgver}_64_Portable.zip")
25
26
27package() {
28 # Unzip files from the .zip file
29 install -d -m755 ${pkgdir}/usr/share/$pkgname
30 unzip "$srcdir/HeidiSQL_${shortpkgver}_64_Portable.zip" -d "$srcdir/unzipped"
31
32 # Overwrite with nightly build file
33 cp "$srcdir/heidisql64.r${heidisqlrelease}.exe" "$srcdir/unzipped/heidisql.exe"
34
35 # Install files
36 cp -ra "$srcdir/unzipped/"* "${pkgdir}/usr/share/${pkgname}"
37
38 # Set proper permissions
39 find "${pkgdir}/usr/share/${pkgname}" -type f -exec chmod 644 "{}" \;
40 find "${pkgdir}/usr/share/${pkgname}" -type d -exec chmod 755 "{}" \;
41
42 # Install the startup script
43 install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
44
45 # Install the icon
46 install -Dm644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
47
48 # Install the .desktop
49 install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
50}
51

Changes since previous scan

--- PKGBUILD @ 2026-10-25 00:20
+++ PKGBUILD @ 2026-11-01 00:21
@@ -1,10 +1,10 @@
# Maintainer: Nico <d3sox at protonmail dot com>
# Contributor: Liviu Cristian Mirea-Ghiban <liviu dot mirea at wecodepixels dot com>
-heidisqlrelease=7344
-shortpkgver=12.21
+heidisqlrelease=7382
+shortpkgver=12.22
pkgname=heidisql-wine
pkgver=${shortpkgver}.0.${heidisqlrelease}
-pkgrel=2
+pkgrel=1
pkgdesc="A lightweight GUI for managing MySQL, PostgreSQL, and Microsoft SQL databases. This package uses the latest nightly build (64bit) on top of the portable version, and uses Wine."
arch=(any)
url="http://www.heidisql.com/"
@@ -12,12 +12,12 @@
depends=(bash wine)
makedepends=(unzip)
source=("https://github.com/HeidiSQL/HeidiSQL/releases/download/v${shortpkgver}/HeidiSQL_${shortpkgver}_64_Portable.zip"
- "https://www.heidisql.com/builds/heidisql64.r${heidisqlrelease}.exe"
+ "https://www.heidisql.com/downloads/builds/heidisql64.r${heidisqlrelease}.exe"
"${pkgname}.png"
"${pkgname}.desktop"
"${pkgname}.sh")
-sha256sums=('fecb76a69e29a53ea05b1d57fc2f7b7aaed5b8f889556c6eca545e2a800df1ab'
- 'd4bc6b81906832aeed79e054ed094f5e15449c8fa91285538173d4a7f90db113'
+sha256sums=('7b36821fa3e16cc37b511d41747efa4c8b980d1e3fa937e52c5931bcc4ee79b4'
+ '8a5e3407e5607d5df5e59eb521591b096e9b53c2421a87886b3b4405edeb16e0'
'd0f6c19b7aa4b7a6daa00b658a852f97d35dd98d2c31a2f4ea267527bf5cda15'
'07abdaeab2b5c30ed7b053cce5e42942cc32c56503439eff69fb21b57c522122'
'840acb31ca1de8d029e725fded1ac09df0314dea41da53f15f4cd3848e34bb00')

Scan history

Scanned at (UTC)SeverityRules
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 15:42:54 Medium 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2

Report a package

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

0 / 4000
Your suggestion