sensu-go-agent
sensu-go
scanned 2026-11-01 00:21:48.120785
The package downloads source code and configuration files from legitimate project domains (github.com and docs.sensu.io); building from source is standard practice, and the configuration files are non-executable data with no code execution risk.
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 and configuration files from legitimate project domains (github.com and docs.sensu.io); building from source is standard practice, and the configuration files are non-executable data with no code execution risk.
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.15.0
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=('6addbc58f243239f06e590a34c150621a9c26672dbd6b14add282f16cb09a322'
'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"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-15 00:28+++ PKGBUILD @ 2026-11-01 00:21@@ -3,7 +3,7 @@ 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+pkgver=6.15.0 pkgrel=1 arch=('x86_64') url='https://sensu.io'@@ -18,7 +18,7 @@ "${pkgbase}-backend-${pkgver%.*}.yml.example::https://docs.sensu.io/sensu-go/${pkgver%.*}/files/backend.yml" "${pkgbase/-go/}.sysusers" "${pkgbase/-go/}.tmpfiles")-sha256sums=('ae81e579426194aa70357292d489833e50d4fe0d5ece411e3402972c379d99f7'+sha256sums=('6addbc58f243239f06e590a34c150621a9c26672dbd6b14add282f16cb09a322' '2e512118a12f6e716c9279efd7d48eaa4e5e927a8a80444868808f34223e3c99' '57c4e7835da2d58186e8e36518dc9e0b7cee93bd018619ec2a7210bf212d0d27' '435ecda655594810f02181fe1b8e5e25a4a90f8cf992a9c6859226fbbad3300c'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 11:11:38 | Medium | 1 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |