sensu-go-agent
sensu-go
scanned 2026-09-17 00:27:14.276658
The package downloads source code from GitHub (a project-owned host) and documentation files from the project's official docs domain, both of which are legitimate for building; the non-standard host flag is a false positive as the sources are from official project infrastructure and the built binaries are compiled from verifiable source.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads source code from GitHub (a project-owned host) and documentation files from the project's official docs domain, both of which are legitimate for building; the non-standard host flag is a false positive as the sources are from official project infrastructure and the built binaries are compiled from verifiable source.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:17
"${pkgbase}-agent-${pkgver%.*}.yml.example::https://docs.sensu.io/sensu-go/${pkgver%.*}/files/agent.yml"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Ricardo Band <email@ricardo.band>
pkgbase='sensu-go'
pkgname=('sensu-go-agent' 'sensu-go-backend' 'sensu-go-cli')
pkgdesc="Sensu is an open source monitoring tool for ephemeral infrastructure and distributed applications."
pkgver=6.14.2
pkgrel=1
arch=('x86_64')
url='https://sensu.io'
license=('MIT')
groups=('sensu-go' 'sensu')
makedepends=('go' 'curl' 'jq')
depends=('glibc')
source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/sensu/sensu-go/archive/refs/tags/v${pkgver}.tar.gz"
"${pkgbase/-go/}-agent.service"
"${pkgbase/-go/}-backend.service"
"${pkgbase}-agent-${pkgver%.*}.yml.example::https://docs.sensu.io/sensu-go/${pkgver%.*}/files/agent.yml"
"${pkgbase}-backend-${pkgver%.*}.yml.example::https://docs.sensu.io/sensu-go/${pkgver%.*}/files/backend.yml"
"${pkgbase/-go/}.sysusers"
"${pkgbase/-go/}.tmpfiles")
sha256sums=('ae81e579426194aa70357292d489833e50d4fe0d5ece411e3402972c379d99f7'
'2e512118a12f6e716c9279efd7d48eaa4e5e927a8a80444868808f34223e3c99'
'57c4e7835da2d58186e8e36518dc9e0b7cee93bd018619ec2a7210bf212d0d27'
'435ecda655594810f02181fe1b8e5e25a4a90f8cf992a9c6859226fbbad3300c'
'42cf8fcb1ed8127f4c481485b3decaca8490e1e538e113eab149e09e26c86e36'
'c4560bc809d59d5b4bff5a03c7c0082ae4eb903b82dee1d8d01b431a98eccbb2'
'7e5f0c7d8eb9161d9e9f40fd8ef825cc500156d4575eb3599c2083013bd22407')
prepare() {
cd "${srcdir}/${pkgbase}-${pkgver}"
_pkgtagsha="$(curl -sL https://api.github.com/repos/sensu/sensu-go/git/ref/tags/v${pkgver} | jq -r '.object.sha')"
mkdir -p build/
}
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
go build -buildvcs=false -o build -ldflags="-linkmode=external -X='github.com/sensu/sensu-go/version.Version=${pkgver}' -X='github.com/sensu/sensu-go/version.BuildDate=$(date -I)' -X='github.com/sensu/sensu-go/version.BuildSHA=${_pkgtagsha}'" ./cmd/...
}
package_sensu-go-agent() {
pkgname='sensu-go-agent'
_pkgname=${pkgname/-go-/-}
pkgdesc="Sensu Go Agent"
provides=("${pkgname/-go-/-}")
conflicts=("${pkgname/-go-/-}")
#backup=('etc/sensu/agent.yml')
cd "${srcdir}/${pkgbase}-${pkgver}"
install -Dm755 "build/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm755 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "${srcdir}/${pkgname}-${pkgver%.*}.yml.example" "${pkgdir}/usr/share/doc/${pkgname}/${pkgname/$pkgbase-/}.yml.example"
install -Dm644 "${srcdir}/${_pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${_pkgname}.service"
install -Dm644 "${srcdir}/${pkgbase/-go/}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
install -Dm644 "${srcdir}/${pkgbase/-go/}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
}
package_sensu-go-backend() {
pkgname='sensu-go-backend'
_pkgname=${pkgname/-go-/-}
pkgdesc="Sensu Go Backend"
provides=("${pkgname/-go-/-}")
conflicts=("${pkgname/-go-/-}")
#backup=('etc/sensu/backend.yml')
cd "${srcdir}/${pkgbase}-${pkgver}"
install -Dm755 "build/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm755 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "${srcdir}/${pkgname}-${pkgver%.*}.yml.example" "${pkgdir}/usr/share/doc/${pkgname}/${pkgname/$pkgbase-/}.yml.example"
install -Dm644 "${srcdir}/${_pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${_pkgname}.service"
install -Dm644 "${srcdir}/${pkgbase/-go/}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
install -Dm644 "${srcdir}/${pkgbase/-go/}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
}
package_sensu-go-cli() {
pkgname='sensu-go-cli'
_pkgname=${pkgname/-go-/-}
pkgdesc="Sensu Go CLI"
provides=("${pkgname/-go-/-}")
conflicts=("${pkgname/-go-/-}")
cd "${srcdir}/${pkgbase}-${pkgver}"
install -Dm755 "build/${_pkgname/-cli/ctl}" "${pkgdir}/usr/bin/${_pkgname/-cli/ctl}"
install -Dm755 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
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 |