termsonic-git
maintainer pontoporeia
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a Git repository from a plausible project-owned host, used to build the software from source; this is normal AUR packaging behavior despite the non-whitelisted domain.
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 Git repository from a plausible project-owned host, used to build the software from source; this is normal AUR packaging behavior despite the non-whitelisted domain.
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:13
source=("git+https://git.sixfoisneuf.fr/termsonic")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: chaotic_cilliac <theophile.gm(at)happyngreen.fr>
2
3
pkgname=termsonic-git
4
pkgver=0.2.r2.gf6f61fd
5
pkgrel=1
6
pkgdesc='A terminal-based (TUI) client for any Subsonic-compatible server.'
7
arch=('x86_64')
8
url='https://git.sixfoisneuf.fr/termsonic'
9
license=('GPL-3.0-only')
10
depends=('alsa-lib')
11
makedepends=('git' 'go>=1.19')
12
# source=("${pkgname}::git+https://git.sixfoisneuf.fr/termsonic")
13
source=("git+https://git.sixfoisneuf.fr/termsonic")
14
sha256sums=('SKIP')
15
conflicts=('termsonic')
16
17
pkgver() {
18
cd termsonic
19
# If there are no tags, use commit count and hash
20
local version=$(git describe --long --tags 2>/dev/null || echo "0.0.0-$(git rev-list --count HEAD)-g$(git rev-parse --short HEAD)")
21
printf "%s" "$(echo "$version" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')"
22
}
23
24
prepare() {
25
cd termsonic
26
go mod download
27
}
28
29
build() {
30
cd termsonic
31
export CGO_CPPFLAGS="${CPPFLAGS}"
32
export CGO_CFLAGS="${CFLAGS}"
33
export CGO_CXXFLAGS="${CXXFLAGS}"
34
export CGO_LDFLAGS="${LDFLAGS}"
35
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
36
go build -o termsonic ./cmd/termsonic/
37
}
38
39
package() {
40
cd termsonic
41
install -Dm755 termsonic -t "${pkgdir}/usr/bin/"
42
}
43
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 |