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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |