nightlight-bin
The PKGBUILD downloads a prebuilt Electron application binary (.deb) from assets.night-light.cz, which is a subdomain of the project's own domain (nightlightapp.net is the official URL, night-light.cz appears to be the same project's asset CDN). The sha256sum is pinned, which mitigates substitution attacks at download time. However, this is still a prebuilt binary from a relatively obscure/small project hosted on what appears to be a personal/project CDN rather than a major distribution channel (GitHub releases, etc.). The Electron app is installed wholesale via 'cp -r ./* $pkgdir' with no further verification. The risk is real but not elevated beyond a standard medium: a pinned hash prevents silent substitution, but the host is not a well-known official release infrastructure and the binary is executed code. The cheaper model's assessment is correct at medium severity.
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:26
source=("$pkgname-$pkgver.deb::https://assets.night-light.cz/nightlight_${pkgver}_amd64.deb")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt Electron application binary (.deb) from assets.night-light.cz, which is a subdomain of the project's own domain (nightlightapp.net is the official URL, night-light.cz appears to be the same project's asset CDN). The sha256sum is pinned, which mitigates substitution attacks at download time. However, this is still a prebuilt binary from a relatively obscure/small project hosted on what appears to be a personal/project CDN rather than a major distribution channel (GitHub releases, etc.). The Electron app is installed wholesale via 'cp -r ./* $pkgdir' with no further verification. The risk is real but not elevated beyond a standard medium: a pinned hash prevents silent substitution, but the host is not a well-known official release infrastructure and the binary is executed code. The cheaper model's assessment is correct at medium severity.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Tulpenkiste <tulpenkiste at the amogus email domain which is .cloud>
pkgname=nightlight-bin
pkgver=1.0.1
pkgrel=1
pkgdesc="Experience a new way of connecting with like-minded people on Nightlight, a free social media platform that values inclusivity, customization, and an ad-free environment."
provides=(nightlight)
conflicts=(nightlight)
arch=('x86_64')
url="https://nightlightapp.net/"
# Electron's dependencies, as Nightlight ships with a vendored
depends=(
c-ares
gcc-libs # libgcc_s.so
glibc # libc.so libm.so
gtk3 libgtk-3.so
libevent
libffi libffi.so
nss # libnss3.so
zlib libz.so
)
source=("$pkgname-$pkgver.deb::https://assets.night-light.cz/nightlight_${pkgver}_amd64.deb")
sha256sums=('9121387bc2709c88c8a1fc3b09d9ef1b60426e0b5ca251c21700c2c8316bca06')
noextract=("$pkgname-$pkgver.deb")
prepare() {
if [[ -d tmp ]]; then
rm -rf tmp
fi
mkdir tmp
mkdir -p "$pkgname-$pkgver"
ar x --output tmp "./$pkgname-$pkgver.deb"
tar -xf tmp/data.tar.xz -C "$srcdir/$pkgname-$pkgver/"
}
package() {
cd "$pkgname-$pkgver/"
cp -r ./* "$pkgdir"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | 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 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |