cnats

LOW
maintainer bendork 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads prebuilt binaries from the project's own release infrastructure (project.uhhm.no), which is not a standard host but plausibly official; checksums are provided and match the binaries, reducing supply-chain risk, and the installed files are consistent with the project's declared purpose.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads prebuilt binaries from the project's own release infrastructure (project.uhhm.no), which is not a standard host but plausibly official; checksums are provided and match the binaries, reducing supply-chain risk, and the installed files are consistent with the project's declared purpose.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host 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:18 source_x86_64=("cnats-v${pkgver}-x86_64.tar.gz::https://project.uhhm.no/bl/cnats/releases/download/v${pkgver}/cnats-v${pkgver}-x86_64.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Bendik Aagaard Lynghaug <bendik.lynghaug@gmail.com>
2pkgname=cnats
3pkgver=0.2.6
4pkgrel=1
5pkgdesc="Web chat over NATS subjects with Kanidm SSO (Leptos SSR)"
6arch=('x86_64' 'aarch64')
7options=('!strip')
8url="https://project.uhhm.no/bl/cnats"
9license=('MIT')
10depends=('glibc' 'gcc-libs')
11optdepends=(
12 'nats-server: local message bus'
13 'postgresql: local message history archive'
14)
15provides=('cnats')
16conflicts=('cnats-git' 'cnats-bin')
17backup=('etc/cnats/env')
18source_x86_64=("cnats-v${pkgver}-x86_64.tar.gz::https://project.uhhm.no/bl/cnats/releases/download/v${pkgver}/cnats-v${pkgver}-x86_64.tar.gz")
19source_aarch64=("cnats-v${pkgver}-aarch64.tar.gz::https://project.uhhm.no/bl/cnats/releases/download/v${pkgver}/cnats-v${pkgver}-aarch64.tar.gz")
20sha256sums_x86_64=('f0437980fa296d81c733f47d34c2cb44f31837169d3640907fbc8e72845df091')
21sha256sums_aarch64=('12f905d63b1cf27d53f82fd71bfb83ca32656aad2103e1cea75b75fad0cff5e5')
22
23package() {
24 install -Dm755 cnats "$pkgdir/usr/bin/cnats"
25
26 # Hydration wasm/js + css served by the binary (LEPTOS_SITE_ROOT).
27 install -dm755 "$pkgdir/usr/share/cnats"
28 cp -r site "$pkgdir/usr/share/cnats/site"
29
30 install -Dm644 cnats.service "$pkgdir/usr/lib/systemd/system/cnats.service"
31 install -Dm600 cnats.env "$pkgdir/etc/cnats/env"
32
33 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
34 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
35}
36

Changes since previous scan

--- PKGBUILD @ 2026-09-13 00:19
+++ PKGBUILD @ 2026-09-17 00:27
@@ -1,10 +1,11 @@
# Maintainer: Bendik Aagaard Lynghaug <bendik.lynghaug@gmail.com>
pkgname=cnats
-pkgver=0.2.5
+pkgver=0.2.6
pkgrel=1
pkgdesc="Web chat over NATS subjects with Kanidm SSO (Leptos SSR)"
arch=('x86_64' 'aarch64')
-url="https://prosjekt.klingenbergbygg.no/bl/cnats"
+options=('!strip')
+url="https://project.uhhm.no/bl/cnats"
license=('MIT')
depends=('glibc' 'gcc-libs')
optdepends=(
@@ -14,10 +15,10 @@
provides=('cnats')
conflicts=('cnats-git' 'cnats-bin')
backup=('etc/cnats/env')
-source_x86_64=("cnats-v${pkgver}-x86_64.tar.gz::https://prosjekt.klingenbergbygg.no/bl/cnats/releases/download/v${pkgver}/cnats-v${pkgver}-x86_64.tar.gz")
-source_aarch64=("cnats-v${pkgver}-aarch64.tar.gz::https://prosjekt.klingenbergbygg.no/bl/cnats/releases/download/v${pkgver}/cnats-v${pkgver}-aarch64.tar.gz")
-sha256sums_x86_64=('543f9e4d072f845bdc72a5182686e9b944e0a4e5180d7248d4687cc20b8374cf')
-sha256sums_aarch64=('32b3b8fafc501697f838c6e1fc8f2447fda6594d9c7243a6c2b8fa39ac831f0b')
+source_x86_64=("cnats-v${pkgver}-x86_64.tar.gz::https://project.uhhm.no/bl/cnats/releases/download/v${pkgver}/cnats-v${pkgver}-x86_64.tar.gz")
+source_aarch64=("cnats-v${pkgver}-aarch64.tar.gz::https://project.uhhm.no/bl/cnats/releases/download/v${pkgver}/cnats-v${pkgver}-aarch64.tar.gz")
+sha256sums_x86_64=('f0437980fa296d81c733f47d34c2cb44f31837169d3640907fbc8e72845df091')
+sha256sums_aarch64=('12f905d63b1cf27d53f82fd71bfb83ca32656aad2103e1cea75b75fad0cff5e5')
package() {
install -Dm755 cnats "$pkgdir/usr/bin/cnats"

Scan history

Scanned at (UTC)SeverityRules
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 11:14:35 Medium 1
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion