halcogen

LOW
maintainer gpol 0 votes scanned 2026-09-17 00:27:14.276658
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
6pkgname=halcogen
7pkgver=04.07.01
8pkgrel=1
9pkgdesc='Hardware Abstraction Layer Code Generator for Hercules MCUs'
10arch=('i686' 'x86_64')
11url='https://www.ti.com/tool/HALCOGEN/'
12license=('custom')
13depends=('wine')
14
15source=('https://www.ti.com/lit/sw/spnc030g/spnc030g.zip'
16 'halcogen.sh')
17md5sums=('e521ca88416a99717637280417f93350'
18 '44a08dbac4143ed758146bfb59bc00df')
19
20package() {
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)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 2

Report a package

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

0 / 4000
Your suggestion