cnats

maintainer bendork · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads prebuilt binaries from a non-whitelisted but project-associated host; however, the source is versioned, checksummed, and the worst case is supply-chain compromise of a legitimate project, not active code execution or exfiltration.

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 a non-whitelisted but project-associated host; however, the source is versioned, checksummed, and the worst case is supply-chain compromise of a legitimate project, not active code execution or exfiltration.

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:17 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")

PKGBUILD

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

Changes since previous scan

--- PKGBUILD @ 2026-07-30 00:17
+++ PKGBUILD @ 2026-08-03 00:08
@@ -1,6 +1,6 @@
# Maintainer: Bendik Aagaard Lynghaug <bendik.lynghaug@gmail.com>
pkgname=cnats
-pkgver=0.2.3
+pkgver=0.2.4
pkgrel=1
pkgdesc="Web chat over NATS subjects with Kanidm SSO (Leptos SSR)"
arch=('x86_64' 'aarch64')
@@ -16,8 +16,8 @@
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=('60f2a2bcc522c25c9bf1bdbe72ac2db19fe591a317b4bbf24cfb17e1dcd42a4b')
-sha256sums_aarch64=('736abc9e611aae3a295f469117f5a5a0d05e9bade0b4cf4724e3f02bd2fca5a7')
+sha256sums_x86_64=('a09b11df123d8659293c9d5481e9ad1692ef999be9cca926d7a95c8779c83259')
+sha256sums_aarch64=('e5c369490ccd242ef13894bab46e39603065ea435cb83ed5af5c546b0788cafe')
package() {
install -Dm755 cnats "$pkgdir/usr/bin/cnats"

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 15:15:12 MEDIUM 1
2026-07-30 00:17:23 LOW 2
2026-07-29 09:11:06 MEDIUM 1
2026-07-29 00:25:53 LOW 2
2026-07-28 13:38:59 MEDIUM 1
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 3
2026-07-22 00:29:32 MEDIUM 3
2026-07-21 00:24:15 MEDIUM 3
2026-07-20 00:19:49 MEDIUM 3
2026-07-19 00:17:08 MEDIUM 3
2026-07-18 00:14:48 MEDIUM 3

Report a package

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

0 / 4000
Your suggestion