cwtch-bin
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
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")
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# Maintainer: fr0stb1rd <fr0stb1rd@proton.me>
# Old Maintainer: iamawacko <iamawacko@protonmail.com>
# Contributor: Trevor Bergeron <mal@sec.gd>
# Upstream: https://git.openprivacy.ca/cwtch.im/cwtch-ui/releases
_pkgname=cwtch
pkgname=$_pkgname-bin
pkgver=1.17.2
pkgrel=1
pkgdesc="Decentralized, privacy-preserving, multi-party messaging protocol client (binary distribution)"
arch=('x86_64')
url='https://cwtch.im'
license=('MIT')
provides=('cwtch')
conflicts=('cwtch' 'cwtch-git' 'libcwtch-go')
depends=('gtk3' 'hicolor-icon-theme' 'tor')
optdepends=('tor: use system tor instead of bundled (required by upstream deb)')
options=('!strip')
source_x86_64=("https://git.openprivacy.ca/$_pkgname.im/$_pkgname-ui/releases/download/v$pkgver/cwtch-${pkgver}_amd64.deb")
sha256sums_x86_64=('fc696cf2880738bab2ab9aaa0c871b1f134ed337d0f50c51da7cfb94be19daaf')
package() {
# .deb is an ar archive: debian-binary + control.tar.xz + data.tar.xz.
# Only data.tar.xz (the /usr tree) is needed.
cd "$srcdir"
bsdtar -xf "cwtch-${pkgver}_amd64.deb" data.tar.xz
bsdtar -xf data.tar.xz -C "$pkgdir"
# Upstream templates expand PREFIX=/usr/ with trailing slash -> "/usr//bin".
# Harmless, but normalize to single slash.
sed -i 's|/usr//|/usr/|g' "$pkgdir/usr/bin/cwtch" "$pkgdir/usr/share/applications/cwtch.desktop"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |