heidisql

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

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

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 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)
Medium External download from an untrusted host, not in source=() 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
1# Maintainer: Nico <d3sox at protonmail dot com>
2# Contributor: Liviu Cristian Mirea-Ghiban <liviu dot mirea at wecodepixels dot com>
3pkgname=heidisql
4epoch=1
5pkgver=12.21
6pkgrel=1
7pkgdesc="HeidiSQL Shared files: wrapper script, locale/ini files, documentation (install a provider of your choice for heidisql-client to use it)"
8arch=(x86_64)
9url="http://www.heidisql.com/"
10license=('GPL-2.0-or-later')
11optdepends=('heidisql-qt6: Qt6 variant'
12 'heidisql-gtk2: GTK2 variant')
13makedepends=(curl unzip)
14install=heidisql.install
15
16source=(
17 "https://github.com/HeidiSQL/HeidiSQL/archive/v${pkgver}.tar.gz"
18 heidisql
19)
20sha256sums=('8e58f6f1ee9b631990f2e44cd4e24a9d56802c1c4a4d06fe040614607e7ec802'
21 'cb084209a5ce3270a2888bf93c8a5adb6f714eda487ad13a50512ac538b3fc87')
22
23prepare() {
24 cd "${srcdir}/HeidiSQL-${pkgver}"
25
26 # Fetch compiled translations from the daily Transifex snapshots served by heidisql.com
27 local locale_zip="HeidiSQL-locale.zip"
28 local locale_dir="${srcdir}/HeidiSQL-${pkgver}/extra/locale"
29 mkdir -p "${locale_dir}"
30 curl -fsSL "https://www.heidisql.com/downloads/locale/${locale_zip}" -o "/tmp/${locale_zip}" || exit 1
31 unzip -o -j "/tmp/${locale_zip}" -d "${locale_dir}"
32 rm -f "/tmp/${locale_zip}"
33}
34
35package() {
36 cd "${srcdir}/HeidiSQL-${pkgver}"
37
38 # Install shared locale files
39 if [ -d "extra/locale" ]; then
40 mkdir -p "${pkgdir}/usr/share/heidisql/locale"
41 for mo_file in extra/locale/*.mo; do
42 [ -f "$mo_file" ] && install -Dm644 "$mo_file" "${pkgdir}/usr/share/heidisql/locale/$(basename "$mo_file")"
43 done
44 fi
45
46 # Install shared ini files
47 mkdir -p "${pkgdir}/usr/share/heidisql"
48 install -Dm644 extra/ini/*.ini "${pkgdir}/usr/share/heidisql/"
49
50 # Install icon
51 install -Dm644 res/deb-package-icon.png "${pkgdir}/usr/share/pixmaps/heidisql.png"
52
53 # Install documentation
54 mkdir -p "${pkgdir}/usr/share/doc/heidisql"
55 install -Dm644 README.md "${pkgdir}/usr/share/doc/heidisql/"
56 install -Dm644 LICENSE "${pkgdir}/usr/share/doc/heidisql/"
57 install -Dm644 package-skeleton/usr/share/doc/heidisql/copyright "${pkgdir}/usr/share/doc/heidisql/"
58
59 # Install wrapper script that selects the appropriate variant
60 install -Dm755 "${srcdir}/heidisql" "${pkgdir}/usr/bin/heidisql"
61}
62

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)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion