pi-im

maintainer sunglocto · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from the project's own forge, which is plausibly controlled by the maintainer; building from project-owned infrastructure is normal for AUR packages and the worst case of a swapped source is limited to code execution within the build context, but no remote code execution or data exfiltration is present.

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 own forge, which is plausibly controlled by the maintainer; building from project-owned infrastructure is normal for AUR packages and the worst case of a swapped source is limited to code execution within the build context, but no remote code execution or data exfiltration is present.

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:12 source=("https://forge.sunglocto.net/sunglocto/${pkgname}/archive/${pkgver}.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: snit <snit@cock.li>
2
3pkgname="pi-im"
4pkgver=3.1i
5pkgrel=1
6pkgdesc='the XMPP client from hell'
7url="https://forge.sunglocto.net/sunglocto/${pkgname}"
8arch=('x86_64')
9license=('AGPL')
10makedepends=('go')
11
12source=("https://forge.sunglocto.net/sunglocto/${pkgname}/archive/${pkgver}.tar.gz")
13
14prepare() {
15 cd "${pkgname}/"
16 mkdir -p 'build/'
17}
18
19build() {
20 cd "${pkgname}/"
21
22 export CGO_CPPFLAGS="${CPPFLAGS}"
23 export CGO_CFLAGS="${CFLAGS}"
24 export CGO_CXXFLAGS="${CXXFLAGS}"
25 export CGO_LDFLAGS="${LDFLAGS}"
26 export GOFLAGS='-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw'
27
28 go build -o "${pkgname}" .
29}
30
31package() {
32 cd "${pkgname}/"
33 install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
34}
35sha256sums=('902a17cd6f46afb158164253392cf452f712528391f7e78b69d1991496868b02')
36

Scan history

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

Report a package

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

0 / 4000
Your suggestion