cwtch
The source is a tarball from the project's official Git repository on a non-whitelisted but plausibly project-owned host; building from official project source is normal AUR packaging, even if the host is not on a whitelist.
Triggered rules
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 on a non-whitelisted but plausibly project-owned host; building from official project source is normal AUR packaging, even if the host is not on a whitelist.
1 higher static finding superseded - not the current verdict (shown for transparency)
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
source=("${_pkgname}-v${pkgver}.tar.gz::https://git.openprivacy.ca/api/v1/repos/cwtch.im/${_pkgname}/archive/v${pkgver}.tar.gz")
PKGBUILD
1 offending line(s) highlighted# Maintainer: iamawacko <iamawacko@protonmail.com>
# Contributor: Trevor Bergeron <aur@sec.gd>
_pkgname=cwtch-ui
pkgname=cwtch
pkgver=1.16.3
pkgrel=1
pkgdesc="UI for Privacy Preserving Infrastructure for Asynchronous, Decentralized and Metadata Resistant Applications"
arch=('x86_64')
url="https://cwtch.im/"
license=('MIT')
conflicts=('cwtch-bin' 'cwtch-git')
depends=('cwtch-autobindings')
makedepends=('flutter' 'ninja')
source=("${_pkgname}-v${pkgver}.tar.gz::https://git.openprivacy.ca/api/v1/repos/cwtch.im/${_pkgname}/archive/v${pkgver}.tar.gz")
sha512sums=('447fd26cf5a7f51d6cae94cdde1627a5193639d16761cf2c864af8318333105a35deb8ec08ae078f5d1532567dfa2bec05c55d2d1e8b64ce4c722ef268da36c3')
prepare() {
cd "$srcdir/$_pkgname"
# Remove deprecated isAlwaysShown for compat with newer dart SDKs
sed -re 's/(scrollbarTheme: .*)isAlwaysShown: false(, )?/\1/' -i lib/themes/opaque.dart
# Remove Tor binary and libCwtch.so from package script, since we don't vendor them
sed -re 's/^cp( -r)? linux\/(libCwtch\.so|Tor) /#\0/' -i linux/package-release.sh
}
build() {
cd "$srcdir/$_pkgname"
# If using the AUR 'flutter'/'flutter-beta' packages, we need a group.
if ! id -nG | grep -qw flutterusers ; then
if [ "`which flutter`" == "/usr/bin/flutter" ] ; then
warning "You are not in the 'flutterusers' group. The build may fail."
warning "Run 'sudo usermod -a -G flutterusers $USER' and reboot to fix."
warning "You may need to use the flutter-beta package (any channel)."
fi
fi
flutter="flutter --suppress-analytics"
# no way to local-enable this... let's try to clean up after ourselves
$flutter config | grep -qE '^\s*enable-linux-desktop: true\b' || flutter_set_linux=y
flutter_set_linux="$?"
[ "$flutter_set_linux" == "y" ] || $flutter config --enable-linux-desktop
# See https://git.openprivacy.ca/cwtch.im/cwtch-ui/src/branch/trunk/.drone.yml
$flutter pub get
$flutter build linux \
--dart-define BUILD_VER="${pkgver}-${pkgrel}-ARCH" \
--dart-define BUILD_DATE="`date +%G-%m-%d-%H-%M`"
[ "$flutter_set_linux" == "y" ] || $flutter config --no-enable-linux-desktop
}
package() {
cd "$srcdir/$_pkgname"
linux/package-release.sh
cd build/linux/x64/release/bundle
INSTALL_PREFIX="$pkgdir/usr" DESKTOP_PREFIX="/usr" ./install.sh
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 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 |
| 2026-08-29 00:29:17 | Low | 2 |