ethos-lang

maintainer AmanCode22 · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The PKGBUILD pulls Nuitka from PyPI via pip --user during build, which is non-standard packaging practice (makedepends should list python-nuitka or use a proper source). However, Nuitka is a well-known, widely-used Python compiler available on PyPI with a strong upstream identity, not an obscure or personal package. The actual installed artifact is a compiled binary from the tagged GitHub source of ethos-lang itself, not from the pip-installed tool. The supply-chain concern is real but minor: pip install without a pinned version/hash is sloppy and could theoretically pull a compromised Nuitka release, but this is a standard ecosystem tool with high visibility. The source uses a git tag (though sha256sums is SKIP, which is acceptable for VCS sources). Overall this is a packaging quality issue rather than a genuine medium-severity supply-chain threat.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed the full PKGBUILD and judged it LOW (confidence 82%): The PKGBUILD pulls Nuitka from PyPI via pip --user during build, which is non-standard packaging practice (makedepends should list python-nuitka or use a proper source). However, Nuitka is a well-known, widely-used Python compiler available on PyPI with a strong upstream identity, not an obscure or personal package. The actual installed artifact is a compiled binary from the tagged GitHub source of ethos-lang itself, not from the pip-installed tool. The supply-chain concern is real but minor: pip install without a pinned version/hash is sloppy and could theoretically pull a compromised Nuitka release, but this is a standard ecosystem tool with high visibility. The source uses a git tag (though sha256sums is SKIP, which is acceptable for VCS sources). Overall this is a packaging quality issue rather than a genuine medium-severity supply-chain threat.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:19 python3 -m pip install --user --break-system-packages nuitka

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Aman Adlakha <amanady125@gmail.com>
2pkgname=ethos-lang
3pkgver=0.5.0
4pkgrel=1
5pkgdesc="The Ethos Programming Language Compiler"
6arch=('x86_64' 'aarch64')
7url="https://github.com/AmanCode22/ethos-lang"
8license=('Apache-2.0')
9depends=('python' 'python-zstandard' 'gcc' 'patchelf')
10optdepends=('ethos-forge: for managing Ethos packages and projects')
11makedepends=('git' 'python-pip')
12source=("git+https://github.com/AmanCode22/ethos-lang.git#tag=v${pkgver}")
13sha256sums=('SKIP')
14options=('!strip')
15
16build() {
17 cd "${pkgname}"
18 # Install Nuitka locally for build
19 python3 -m pip install --user --break-system-packages nuitka
20 # Compile Ethos using memory-safe flags
21 python3 -m nuitka --assume-yes-for-downloads --jobs=1 --lto=no --low-memory --onefile main.py --output-filename=ethos
22}
23
24package() {
25 cd "${pkgname}"
26 install -Dm755 ethos "${pkgdir}/usr/bin/ethos"
27}
28

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