heidisql-wine
maintainer D3SOX
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a portable Windows executable from the project's official domain (heidisql.com) for use with Wine; this is a legitimate source for the software, and the file is not executed directly on the host system.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a portable Windows executable from the project's official domain (heidisql.com) for use with Wine; this is a legitimate source for the software, and the file is not executed directly on the host system.
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:15
"https://www.heidisql.com/builds/heidisql64.r${heidisqlrelease}.exe"
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>
3
heidisqlrelease=7320
4
shortpkgver=12.20
5
pkgname=heidisql-wine
6
pkgver=${shortpkgver}.0.${heidisqlrelease}
7
pkgrel=2
8
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."
9
arch=(any)
10
url="http://www.heidisql.com/"
11
license=('GPL')
12
depends=(bash wine)
13
makedepends=(unzip)
14
source=("https://github.com/HeidiSQL/HeidiSQL/releases/download/v${shortpkgver}/HeidiSQL_${shortpkgver}_64_Portable.zip"
15
"https://www.heidisql.com/builds/heidisql64.r${heidisqlrelease}.exe"
16
"${pkgname}.png"
17
"${pkgname}.desktop"
18
"${pkgname}.sh")
19
sha256sums=('d84742736e4508c206c28c58018bbd934319c941dc9d68ff4673737a3f4df731'
20
'2c1e8231f681a3a75f3fda65e679d86c0fa9a35294fa2c33f3e57f0dc3cacc82'
21
'd0f6c19b7aa4b7a6daa00b658a852f97d35dd98d2c31a2f4ea267527bf5cda15'
22
'07abdaeab2b5c30ed7b053cce5e42942cc32c56503439eff69fb21b57c522122'
23
'840acb31ca1de8d029e725fded1ac09df0314dea41da53f15f4cd3848e34bb00')
24
noextract=("HeidiSQL_${shortpkgver}_64_Portable.zip")
25
26
27
package() {
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-07-18 00:14+++ PKGBUILD @ 2026-08-03 00:08@@ -4,7 +4,7 @@ shortpkgver=12.20 pkgname=heidisql-wine pkgver=${shortpkgver}.0.${heidisqlrelease}-pkgrel=1+pkgrel=2 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/"@@ -17,7 +17,7 @@ "${pkgname}.desktop" "${pkgname}.sh") sha256sums=('d84742736e4508c206c28c58018bbd934319c941dc9d68ff4673737a3f4df731'- 'ba234f31bf076fef0ceffbae46b6f962e1cf4b0b7d32444d1222c5cdd723f695'+ '2c1e8231f681a3a75f3fda65e679d86c0fa9a35294fa2c33f3e57f0dc3cacc82' 'd0f6c19b7aa4b7a6daa00b658a852f97d35dd98d2c31a2f4ea267527bf5cda15' '07abdaeab2b5c30ed7b053cce5e42942cc32c56503439eff69fb21b57c522122' '840acb31ca1de8d029e725fded1ac09df0314dea41da53f15f4cd3848e34bb00')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 15:58:03 | MEDIUM | 1 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |