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}/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |