cwtch-server

maintainer iamawacko · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from the project's official Git repository hosted on openprivacy.ca, which is the project's own infrastructure; building from this source is normal AUR packaging behavior despite the non-whitelisted host.

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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's official Git repository hosted on openprivacy.ca, which is the project's own infrastructure; building from this source is normal AUR packaging behavior despite the non-whitelisted host.

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:15 "$_pkgname-v$pkgver.tar.gz::https://git.openprivacy.ca/api/v1/repos/cwtch.im/server/archive/v$pkgver.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: iamawacko <iamawacko@protonmail.com>
2# Contributor: Trevor Bergeron <aur@sec.gd>
3
4_pkgname=cwtch-server
5pkgname=$_pkgname
6pkgver=1.7.0
7pkgrel=1
8pkgdesc="Server for Privacy Preserving Infrastructure for Asynchronous, Decentralized and Metadata Resistant Applications"
9arch=('x86_64')
10url="https://cwtch.im/"
11license=('MIT')
12makedepends=('go')
13conflicts=("$_pkgname-git")
14source=(
15 "$_pkgname-v$pkgver.tar.gz::https://git.openprivacy.ca/api/v1/repos/cwtch.im/server/archive/v$pkgver.tar.gz"
16 "cwtch-server.service"
17 "cwtch.sysusers"
18 "cwtch.tmpfiles"
19)
20sha512sums=('9cb04e341fd32a6ab04335c4efb126abb070354811b9da1e0eea63272bebee0df0204eebeb44bd288bc46c8903a7dd1ba4bebd86a3146bc3ad40e755a1657c4f'
21 'a10966b6db3816d983b8d331cc9c67d995aa3d5bce4818415df8c847bb7d1dfa8c968a9f3b65d44cc6c6ca4d196198737cb140951c8edee8304235a11c5d8644'
22 '003fc3a3a3f5261ba72e21b8a093a8d47852c0a15b8712021c9fa4b89732b019218ab0fff80438ad93812ba597188eba5df1920062eee0de57e6dd56bc383f86'
23 '7d7ae7fbf04cc22e7bd4bb939dc51f857a146acc4b3b400d79de561d6451ec45e616e70e4d6a152bbc588d5a020a1d5e9186db3fccdf820cb0d5e2b67503269c')
24
25build() {
26 cd "$srcdir/server/app"
27
28 export GOPATH="$srcdir/go"
29 export CGO_CFLAGS="${CFLAGS}"
30 export CGO_LDFLAGS="${LDFLAGS}"
31 export GOFLAGS="-buildmode=pie -trimpath"
32
33 go build
34}
35
36package() {
37 install -Dm0644 "$srcdir/$_pkgname.service" -t "$pkgdir/usr/lib/systemd/system/"
38 install -Dm0644 "$srcdir/cwtch.sysusers" -t "$pkgdir/usr/lib/sysusers.d/"
39 install -Dm0644 "$srcdir/cwtch.tmpfiles" -t "$pkgdir/usr/lib/tmpfiles.d/"
40
41 install -Dm0755 "$srcdir/server/app/app" "$pkgdir/usr/bin/cwtch-server"
42}
43

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 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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