heidisql-wine
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
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"
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# Maintainer: Nico <d3sox at protonmail dot com>
# Contributor: Liviu Cristian Mirea-Ghiban <liviu dot mirea at wecodepixels dot com>
heidisqlrelease=7382
shortpkgver=12.22
pkgname=heidisql-wine
pkgver=${shortpkgver}.0.${heidisqlrelease}
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/"
license=('GPL')
depends=(bash wine)
makedepends=(unzip)
source=("https://github.com/HeidiSQL/HeidiSQL/releases/download/v${shortpkgver}/HeidiSQL_${shortpkgver}_64_Portable.zip"
"https://www.heidisql.com/downloads/builds/heidisql64.r${heidisqlrelease}.exe"
"${pkgname}.png"
"${pkgname}.desktop"
"${pkgname}.sh")
sha256sums=('7b36821fa3e16cc37b511d41747efa4c8b980d1e3fa937e52c5931bcc4ee79b4'
'8a5e3407e5607d5df5e59eb521591b096e9b53c2421a87886b3b4405edeb16e0'
'd0f6c19b7aa4b7a6daa00b658a852f97d35dd98d2c31a2f4ea267527bf5cda15'
'07abdaeab2b5c30ed7b053cce5e42942cc32c56503439eff69fb21b57c522122'
'840acb31ca1de8d029e725fded1ac09df0314dea41da53f15f4cd3848e34bb00')
noextract=("HeidiSQL_${shortpkgver}_64_Portable.zip")
package() {
# Unzip files from the .zip file
install -d -m755 ${pkgdir}/usr/share/$pkgname
unzip "$srcdir/HeidiSQL_${shortpkgver}_64_Portable.zip" -d "$srcdir/unzipped"
# Overwrite with nightly build file
cp "$srcdir/heidisql64.r${heidisqlrelease}.exe" "$srcdir/unzipped/heidisql.exe"
# Install files
cp -ra "$srcdir/unzipped/"* "${pkgdir}/usr/share/${pkgname}"
# Set proper permissions
find "${pkgdir}/usr/share/${pkgname}" -type f -exec chmod 644 "{}" \;
find "${pkgdir}/usr/share/${pkgname}" -type d -exec chmod 755 "{}" \;
# Install the startup script
install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
# Install the icon
install -Dm644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
# Install the .desktop
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
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) | 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 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 |