idris2
The source is a tarball from the project's official domain (idris-lang.org), which is plausibly the project's own release infrastructure; building from this source is normal AUR packaging practice, even if the host is not on a whitelist.
Triggered rules
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 (idris-lang.org), which is plausibly the project's own release infrastructure; building from this source is normal AUR packaging practice, even if the host is not on a whitelist.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:16
source=("https://www.idris-lang.org/releases/idris2-${pkgver}.tgz")
PKGBUILD
1 offending line(s) highlighted#
# Maintainer: Mark Barbone <mark.l.barbone at gmail>
# Co-maintainer: Thomas Hansen <thomas-e-hansen at teh6 dot eu>
#
pkgname=idris2
pkgver=0.8.0
pkgrel=1
pkgdesc="Functional Programming Language with Dependent Types"
url="https://idris-lang.github.io/"
license=('BSD-3-Clause')
arch=('x86_64')
depends=('chez-scheme' 'gmp')
optdepends=('nodejs: for the node backend'
'racket: for the racket backend')
source=("https://www.idris-lang.org/releases/idris2-${pkgver}.tgz")
sha256sums=('940a283cb66b0097cab0d24fe10341274fab75cb3af58dc715944d6ca7230665')
_srcname="Idris2-$pkgver"
build() {
cd "$srcdir/$_srcname"
unset MAKEFLAGS # Parallel builds cause problems
export SCHEME=chez
mkdir -p "$srcdir/bootstrap"
PREFIX="$srcdir/bootstrap" make bootstrap
PREFIX="$srcdir/bootstrap" make install
make distclean
PATH="$srcdir/bootstrap/bin:$PATH" \
PREFIX=/usr/lib \
make all
}
check() {
cd "$srcdir/$_srcname"
unset MAKEFLAGS
export SCHEME=chez
# The refc backend tests contains a bunch of unused variables, presumably
# they're actually used for FFI things and this is just impossible to
# statically spot.
export CFLAGS="-Wno-error=unused-variable ${CFLAGS}"
PATH="$srcdir/$_srcname/build/exec:$PATH" \
LC_ALL=C make test INTERACTIVE=""
}
package() {
cd "$srcdir/$_srcname"
unset MAKEFLAGS
export SCHEME=chez
# Install compiler and runtime
PREFIX="$pkgdir/usr/lib" make install-idris2
PREFIX="$pkgdir/usr/lib" make install-support
IDRIS2_BINARY="$srcdir/$_srcname/build/exec/idris2"
# Install libraries
install_lib() {
IDRIS2_PREFIX="$pkgdir/usr/lib" \
"$IDRIS2_BINARY" --install-with-src $1.ipkg
}
for lib in prelude base contrib linear network test ; do
( cd libs/$lib ; install_lib $lib )
done
install_lib idris2api
# Fix permissions
find "$pkgdir" -type d -exec chmod 755 {} \;
install -Dm644 <("$IDRIS2_BINARY" --bash-completion-script idris2) \
"$pkgdir/usr/share/bash-completion/completions/idris2"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# Put a symlink to executable in the expected place
# (see: man 7 file-hierarchy)
mkdir "$pkgdir/usr/bin"
ln -s "/usr/lib/bin/idris2" "$pkgdir/usr/bin/idris2"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |