halcogen
maintainer gpol
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a source file from a legitimate Texas Instruments (ti.com) domain, which is the official vendor for HALCoGen; despite the static analyzer flagging the host as non-standard, the domain is authentic and the download is a verifiable software release, making this a normal and safe AUR package build process.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a source file from a legitimate Texas Instruments (ti.com) domain, which is the official vendor for HALCoGen; despite the static analyzer flagging the host as non-standard, the domain is authentic and the download is a verifiable software release, making this a normal and safe AUR package build process.
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
source=('https://www.ti.com/lit/sw/spnc030g/spnc030g.zip'
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Gabriel-Andrew Pollo-Guilbert <gabrielpolloguilbert@gmail.com>
2
#
3
# You can define $HALCOGEN_WINEPREFIX environment variable to hardcode the $WINEPREFIX
4
# of wine running HALCoGen, the is default '~/.wine-halcogen'.
5
6
pkgname=halcogen
7
pkgver=04.07.01
8
pkgrel=1
9
pkgdesc='Hardware Abstraction Layer Code Generator for Hercules MCUs'
10
arch=('i686' 'x86_64')
11
url='https://www.ti.com/tool/HALCOGEN/'
12
license=('custom')
13
depends=('wine')
14
15
source=('https://www.ti.com/lit/sw/spnc030g/spnc030g.zip'
16
'halcogen.sh')
17
md5sums=('e521ca88416a99717637280417f93350'
18
'44a08dbac4143ed758146bfb59bc00df')
19
20
package() {
21
mkdir -p "${pkgdir}/opt/halcogen/"
22
23
WINEARCH=win32 WINEPREFIX="${srcdir}/prefix" wine "${srcdir}/HALCoGen-${pkgver}-installer.exe" \
24
--mode unattended \
25
--prefix "${pkgdir}/opt/halcogen" \
26
--install_desktop_shortcuts 0
27
WINEARCH=win32 WINEPREFIX="${srcdir}/prefix" wineserver -k
28
29
mkdir -p "${pkgdir}/usr/bin/"
30
install -Dm755 "${srcdir}/halcogen.sh" "${pkgdir}/usr/bin/halcogen"
31
32
if [[ -z "$HALCOGEN_WINEPREFIX" ]]; then
33
sed -i "s#\${REPLACE_WINEPREFIX}#\${PWD}/wine-halcogen#g" "${pkgdir}/usr/bin/halcogen"
34
else
35
sed -i "s#\${REPLACE_WINEPREFIX}#${HALCOGEN_WINEPREFIX}#g" "${pkgdir}/usr/bin/halcogen"
36
fi
37
38
sed -i "s#${pkgdir}##g" "${pkgdir}/opt/halcogen/HCG_updater.ini"
39
}
40
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 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |