heidisql
The package downloads locale files from an untrusted host during prepare(), but these are non-executable translation files; the worst-case impact of a malicious swap is limited to data tampering, not code execution.
Triggered rules
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 locale files from an untrusted host during prepare(), but these are non-executable translation files; the worst-case impact of a malicious swap is limited to data tampering, not code execution.
1 higher static finding superseded - not the current verdict (shown for transparency)
external_download_not_in_source
curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.
-
PKGBUILD:30
curl -fsSL "https://www.heidisql.com/downloads/locale/${locale_zip}" -o "/tmp/${locale_zip}" || exit 1
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>
pkgname=heidisql
epoch=1
pkgver=12.21
pkgrel=1
pkgdesc="HeidiSQL Shared files: wrapper script, locale/ini files, documentation (install a provider of your choice for heidisql-client to use it)"
arch=(x86_64)
url="http://www.heidisql.com/"
license=('GPL-2.0-or-later')
optdepends=('heidisql-qt6: Qt6 variant'
'heidisql-gtk2: GTK2 variant')
makedepends=(curl unzip)
install=heidisql.install
source=(
"https://github.com/HeidiSQL/HeidiSQL/archive/v${pkgver}.tar.gz"
heidisql
)
sha256sums=('8e58f6f1ee9b631990f2e44cd4e24a9d56802c1c4a4d06fe040614607e7ec802'
'cb084209a5ce3270a2888bf93c8a5adb6f714eda487ad13a50512ac538b3fc87')
prepare() {
cd "${srcdir}/HeidiSQL-${pkgver}"
# Fetch compiled translations from the daily Transifex snapshots served by heidisql.com
local locale_zip="HeidiSQL-locale.zip"
local locale_dir="${srcdir}/HeidiSQL-${pkgver}/extra/locale"
mkdir -p "${locale_dir}"
curl -fsSL "https://www.heidisql.com/downloads/locale/${locale_zip}" -o "/tmp/${locale_zip}" || exit 1
unzip -o -j "/tmp/${locale_zip}" -d "${locale_dir}"
rm -f "/tmp/${locale_zip}"
}
package() {
cd "${srcdir}/HeidiSQL-${pkgver}"
# Install shared locale files
if [ -d "extra/locale" ]; then
mkdir -p "${pkgdir}/usr/share/heidisql/locale"
for mo_file in extra/locale/*.mo; do
[ -f "$mo_file" ] && install -Dm644 "$mo_file" "${pkgdir}/usr/share/heidisql/locale/$(basename "$mo_file")"
done
fi
# Install shared ini files
mkdir -p "${pkgdir}/usr/share/heidisql"
install -Dm644 extra/ini/*.ini "${pkgdir}/usr/share/heidisql/"
# Install icon
install -Dm644 res/deb-package-icon.png "${pkgdir}/usr/share/pixmaps/heidisql.png"
# Install documentation
mkdir -p "${pkgdir}/usr/share/doc/heidisql"
install -Dm644 README.md "${pkgdir}/usr/share/doc/heidisql/"
install -Dm644 LICENSE "${pkgdir}/usr/share/doc/heidisql/"
install -Dm644 package-skeleton/usr/share/doc/heidisql/copyright "${pkgdir}/usr/share/doc/heidisql/"
# Install wrapper script that selects the appropriate variant
install -Dm755 "${srcdir}/heidisql" "${pkgdir}/usr/bin/heidisql"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-25 00:20+++ PKGBUILD @ 2026-11-01 00:21@@ -2,7 +2,7 @@ # Contributor: Liviu Cristian Mirea-Ghiban <liviu dot mirea at wecodepixels dot com> pkgname=heidisql epoch=1-pkgver=12.20+pkgver=12.21 pkgrel=1 pkgdesc="HeidiSQL Shared files: wrapper script, locale/ini files, documentation (install a provider of your choice for heidisql-client to use it)" arch=(x86_64)@@ -17,7 +17,7 @@ "https://github.com/HeidiSQL/HeidiSQL/archive/v${pkgver}.tar.gz" heidisql )-sha256sums=('04e82a09aedb60647406c435cf355d9f1539ea1ee2f045b6b51d70fd4c038753'+sha256sums=('8e58f6f1ee9b631990f2e44cd4e24a9d56802c1c4a4d06fe040614607e7ec802' 'cb084209a5ce3270a2888bf93c8a5adb6f714eda487ad13a50512ac538b3fc87') prepare() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 15:42:54 | Medium | 1 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |