starnet2-bin
The package downloads a prebuilt binary from a non-standard, non-whitelisted host (download.starnetastro.com), which presents a supply-chain risk if the host were compromised or the download redirected, though the checksum is verified.
Triggered rules
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:17
source=("https://download.starnetastro.com/starnet2_linux_${pkgver}-0241_ORT_x64_cli.zip")
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt binary from a non-standard, non-whitelisted host (download.starnetastro.com), which presents a supply-chain risk if the host were compromised or the download redirected, though the checksum is verified.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Jesco Topp <jesco.topp@gmail.com>
# Maintainer: Adam Mlady <adam.mlady@elevated.ovh>
_pkgname="starnet2"
pkgname="${_pkgname}-bin"
pkgdesc="StarNet2 is the 2nd iteration of a neural network to remove stars from (nonlinear) astronomical images."
pkgver=2.6.2
pkgrel=1
arch=("x86_64")
url="https://starnetastro.com/cli-tools/starnet/"
license=('custom')
provides=('starnet2')
conflicts=('starnet2')
depends=('libcurl-gnutls')
source=("https://download.starnetastro.com/starnet2_linux_${pkgver}-0241_ORT_x64_cli.zip")
sha256sums=('185c72e032eef6ed963ffc73e88767449c1bd6a6ea850b91ed1b757bfd11beef')
package() {
_srcdir="${srcdir}/starnet2_linux_${pkgver}-0241_ORT_x64_cli"
# Install Licenses
install -Dm644 "${_srcdir}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${_pkgname}/STARNET2_LICENSE.txt"
install -Dm644 "${_srcdir}/lib/"*.txt -t "${pkgdir}/usr/share/licenses/${_pkgname}/"
install -Dm644 "${_srcdir}/lib/opencv-licenses/"* -t "${pkgdir}/usr/share/licenses/${_pkgname}/opencv-licenses/"
# Install Readme
install -Dm644 "${_srcdir}/README.txt" -t "${pkgdir}/usr/share/doc/${_pkgname}/"
# Install Application
install -Dm755 "${_srcdir}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 "${_srcdir}/StarNet2_weights.onnx" -t "${pkgdir}/usr/lib/${_pkgname}/"
install -Dm644 "${_srcdir}/lib/"*.so* -t "${pkgdir}/usr/lib/${_pkgname}/"
}
Changes since previous scan
--- PKGBUILD @ 2026-09-16 00:03+++ PKGBUILD @ 2026-09-17 00:27@@ -4,7 +4,7 @@ _pkgname="starnet2" pkgname="${_pkgname}-bin" pkgdesc="StarNet2 is the 2nd iteration of a neural network to remove stars from (nonlinear) astronomical images."-pkgver=2.5.4+pkgver=2.6.2 pkgrel=1 arch=("x86_64")@@ -14,11 +14,11 @@ conflicts=('starnet2') depends=('libcurl-gnutls') -source=("https://download.starnetastro.com/starnet2_linux_${pkgver}-0214_ORT_x64_cli.zip")-sha256sums=('b7a95ae3e1a9745b09536c3686eed338690b8693d5f446092524e7be75d29052')+source=("https://download.starnetastro.com/starnet2_linux_${pkgver}-0241_ORT_x64_cli.zip")+sha256sums=('185c72e032eef6ed963ffc73e88767449c1bd6a6ea850b91ed1b757bfd11beef') package() {- _srcdir="${srcdir}/starnet2_linux_${pkgver}-0214_ORT_x64_cli"+ _srcdir="${srcdir}/starnet2_linux_${pkgver}-0241_ORT_x64_cli" # Install Licenses install -Dm644 "${_srcdir}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${_pkgname}/STARNET2_LICENSE.txt"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 01:20:46 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 23:18:17 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |