termsonic-git
LOW
maintainer pontoporeia
1 votes
scanned 2026-11-01 00:21:48.120785
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-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 |