matterircd-git
LOW
maintainer jokke
0 votes
scanned 2026-09-17 00:27:14.276658
Why flagged
The source is a git checkout from the project's official GitHub repository, which is a normal and safe practice for -git AUR packages, even though the host is not whitelisted.
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 checkout from the project's official GitHub repository, which is a normal and safe practice for -git AUR packages, even though the host is not whitelisted.
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:21
"${_name}::git+https://${_github_path}"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Joakim Reinert <mail+aur@jreinert.com>
2
3
pkgname='matterircd-git'
4
_name='matterircd'
5
_github_path="github.com/42wim/${_name}"
6
_go_pkg_path="src/${_github_path}"
7
pkgver=0.19.4.63.gb0eefb2
8
pkgrel=4
9
pkgdesc='Minimal IRC server which integrates with mattermost and slack'
10
arch=('x86_64' 'armv7h')
11
url='https://github.com/42wim/matterircd'
12
license=('MIT')
13
depends=('glibc')
14
makedepends=('go>=1.8' 'git')
15
provides=('matterircd')
16
conflicts=('matterircd')
17
backup=("etc/${_name}/config.toml")
18
validpgpkeys=('CC7D978417C1AEA1E4CDD7240E41AB4BF4C610B4')
19
20
source=(
21
"${_name}::git+https://${_github_path}"
22
"${_name}.service"
23
"${_name}.sysusers"
24
)
25
26
sha512sums=(
27
'SKIP'
28
'd2ba51e00d7ca3a18fe861c90d39ca0370b7350009051a2787da3365f54deeee506306b4458bace3bce7c8a6be85d9cd1c5414193788af1387fa7ea1f4f447e5'
29
'80db251f5b087ba6bcdd6f266063fb749107a441f794678d645acf32d44aba7b53c2c9ef7a9c3962abfd6e8af20a2d29e93bde1c15358d9f2011ce98b68e56dc'
30
)
31
32
prepare() {
33
export GOPATH="${srcdir}"
34
export PATH="$PATH:$GOPATH/bin"
35
mkdir -p "$(dirname "${_go_pkg_path}")"
36
mv "${_name}" "${_go_pkg_path}"
37
cd "${_go_pkg_path}"
38
go get ./...
39
}
40
41
pkgver() {
42
cd "${_go_pkg_path}"
43
git describe --tags | sed 's/^v//;s/-/./g'
44
}
45
46
47
build() {
48
cd "${_go_pkg_path}"
49
go build -o "${_name}"
50
}
51
52
package() {
53
install -Dm644 "${_name}.service" "${pkgdir}/usr/lib/systemd/system/${_name}.service"
54
install -Dm644 "${_name}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${_name}.conf"
55
56
cd "${_go_pkg_path}"
57
install -Dm755 "${_name}" "${pkgdir}/usr/bin/${_name}"
58
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
59
install -Dm644 matterircd.toml.example "${pkgdir}/etc/${_name}/config.toml"
60
}
61
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |