matterircd-git
maintainer jokke
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
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-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 |