libcwtch-go
maintainer iamawacko
· 0 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 on a non-whitelisted but plausibly project-owned host; building from official source is normal AUR packaging behavior and does not represent a significant supply-chain risk.
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 on a non-whitelisted but plausibly project-owned host; building from official source is normal AUR packaging behavior and does not represent a significant supply-chain risk.
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:18
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
1
# Maintainer: iamawacko <iamawacko@protonmail.com>
2
# Contributor: Trevor Bergeron <mal@sec.gd>
3
4
_pkgname=libcwtch-go
5
pkgname=$_pkgname
6
7
pkgver=1.10.5
8
pkgrel=2
9
10
pkgdesc="C bindings for the Go Cwtch library"
11
conflicts=('libcwtch-go-git')
12
depends=('tor')
13
makedepends=('go')
14
# Likely works on others, please report your success
15
arch=('x86_64')
16
url='https://cwtch.im'
17
license=('MIT')
18
source=("$_pkgname-v$pkgver.tar.gz::https://git.openprivacy.ca/api/v1/repos/cwtch.im/$_pkgname/archive/v$pkgver.tar.gz")
19
sha512sums=('93180621d160c8c7ca3e6e59083668e59fddc8c462ed94a977358dfd77cb6feae7df8ec133eb494a36332ef83fd92710449451116178ae019c76df03e60bcdc9')
20
21
prepare() {
22
cd "$srcdir/$_pkgname"
23
make clean
24
}
25
26
build() {
27
cd "$srcdir/$_pkgname"
28
29
export GOPATH="$srcdir/go"
30
export CGO_CFLAGS="${CFLAGS}"
31
export CGO_LDFLAGS="${LDFLAGS}"
32
export GOFLAGS="-trimpath"
33
34
make linux
35
}
36
37
package() {
38
cd "$srcdir/$_pkgname"
39
install -Dm0644 libCwtch.so -t "$pkgdir/usr/lib/"
40
}
41
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |