energia

maintainer mpento · 23 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from the project's official domain (energia.nu) used to build the package; it is not an untrusted prebuilt executable or remote code execution, and the host, while not on a standard whitelist, is plausibly the project's own.

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 source is a tarball from the project's official domain (energia.nu) used to build the package; it is not an untrusted prebuilt executable or remote code execution, and the host, while not on a standard whitelist, is plausibly the project's own.

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:20 "${pkgname}-${pkgver}.tar.xz::http://energia.nu/downloads/downloadv4.php?file=energia-${pkgver}-linux64.tar.xz")

PKGBUILD

1 offending line(s) highlighted
1# Michael J. Pento <mjpento@verizon.net>
2# Maintainer: Will Price <willprice94+arch@gmail.com>
3# Contributor: Andrew67 (.desktop file, icon, 64bit compatibility)
4
5pkgname=energia
6pkgver=1.8.10E23
7pkgrel=1
8pkgdesc="Energia is a Arduino IDE clone for use with the MSP430 launchpad"
9arch=('x86_64')
10url="http://energia.nu/"
11license=('GPL')
12depends=('java-environment' 'java-rxtx' 'libusb-compat' 'gcc-libs-multilib')
13provides=('energia')
14# staticlibs keeps all *.a files which are necessary since we bundle a toolchain
15# !strip disable stripping of debug symbols which are useful
16options=(!strip staticlibs)
17install='energia.install'
18source=('energia.desktop'
19 '71-ti-permissions.rules'
20 "${pkgname}-${pkgver}.tar.xz::http://energia.nu/downloads/downloadv4.php?file=energia-${pkgver}-linux64.tar.xz")
21md5sums=('a7ce061d9fc0f9530e058204e532b40b'
22 '8633ff7228aed033d9c9befb82581af9'
23 'ae84c41c9087a49007ca31842e1638e3')
24
25# Don't compress, takes too long
26PKGEXT='.pkg.tar'
27
28package() {
29 _copy_src
30 _link_binary_to_bin
31 _patch_package_for_lock_issues
32 _add_menu_entry_and_icon
33 (_support_fhs)
34}
35
36
37_copy_src() {
38 mkdir -p "$pkgdir"{/etc/{tmpfiles.d,udev/rules.d},/opt/energia,/usr/{bin,share/{applications,pixmaps,doc}}}
39
40 # --archive copies recursively, preserves permissions and links
41 cp --archive "${srcdir}/${pkgname}-${pkgver}/." \
42 "$pkgdir/opt/energia"
43}
44
45_patch_package_for_lock_issues() {
46 ln -sf /usr/lib/librxtxSerial.so \
47 "$pkgdir/opt/energia/lib/librxtxSerial.so"
48 ln -sf /usr/share/java/rxtx/RXTXcomm.jar \
49 "$pkgdir/opt/energia/lib/RXTXcomm.jar"
50 install -m755 "$srcdir/71-ti-permissions.rules" \
51 "$pkgdir/etc/udev/rules.d/"
52}
53
54_link_binary_to_bin() {
55 ln -s /opt/energia/energia \
56 "$pkgdir/usr/bin/"
57}
58
59_add_menu_entry_and_icon() {
60 install -m755 "$srcdir/energia.desktop" \
61 "$pkgdir/usr/share/applications/"
62 install -m755 "$pkgdir/opt/energia/lib/arduino.png" \
63 "$pkgdir/usr/share/pixmaps/energia.png"
64}
65
66_support_fhs() {
67 # To some extent ;)
68 cd "$pkgdir/usr/share/doc"
69 ln -s /opt/energia/reference energia
70}
71

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion