cwtch-bin

MEDIUM
maintainer fr0stb1rd 3 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a prebuilt .deb binary from a non-whitelisted host (git.openprivacy.ca), which is not a standard release domain; if compromised, this could deliver a malicious payload, though the project is plausibly official.

Triggered rules

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:19 source_x86_64=("https://git.openprivacy.ca/$_pkgname.im/$_pkgname-ui/releases/download/v$pkgver/cwtch-${pkgver}_amd64.deb")
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt .deb binary from a non-whitelisted host (git.openprivacy.ca), which is not a standard release domain; if compromised, this could deliver a malicious payload, though the project is plausibly official.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: fr0stb1rd <fr0stb1rd@proton.me>
2# Old Maintainer: iamawacko <iamawacko@protonmail.com>
3# Contributor: Trevor Bergeron <mal@sec.gd>
4# Upstream: https://git.openprivacy.ca/cwtch.im/cwtch-ui/releases
5
6_pkgname=cwtch
7pkgname=$_pkgname-bin
8pkgver=1.17.2
9pkgrel=1
10pkgdesc="Decentralized, privacy-preserving, multi-party messaging protocol client (binary distribution)"
11arch=('x86_64')
12url='https://cwtch.im'
13license=('MIT')
14provides=('cwtch')
15conflicts=('cwtch' 'cwtch-git' 'libcwtch-go')
16depends=('gtk3' 'hicolor-icon-theme' 'tor')
17optdepends=('tor: use system tor instead of bundled (required by upstream deb)')
18options=('!strip')
19source_x86_64=("https://git.openprivacy.ca/$_pkgname.im/$_pkgname-ui/releases/download/v$pkgver/cwtch-${pkgver}_amd64.deb")
20sha256sums_x86_64=('fc696cf2880738bab2ab9aaa0c871b1f134ed337d0f50c51da7cfb94be19daaf')
21
22package() {
23 # .deb is an ar archive: debian-binary + control.tar.xz + data.tar.xz.
24 # Only data.tar.xz (the /usr tree) is needed.
25 cd "$srcdir"
26 bsdtar -xf "cwtch-${pkgver}_amd64.deb" data.tar.xz
27 bsdtar -xf data.tar.xz -C "$pkgdir"
28
29 # Upstream templates expand PREFIX=/usr/ with trailing slash -> "/usr//bin".
30 # Harmless, but normalize to single slash.
31 sed -i 's|/usr//|/usr/|g' "$pkgdir/usr/bin/cwtch" "$pkgdir/usr/share/applications/cwtch.desktop"
32}
33

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion