mgmt
The flagged external installs are development tools (goyacc, stringer, golint, etc.) required for building the Go project, not arbitrary third-party applications, and are fetched directly from official Go module paths as part of the standard build process.
Triggered rules
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 flagged external installs are development tools (goyacc, stringer, golint, etc.) required for building the Go project, not arbitrary third-party applications, and are fetched directly from official Go module paths as part of the standard build process.
1 higher static finding superseded - not the current verdict (shown for transparency)
alt_pkg_manager_install
A non-pip/npm package manager (pipx, uv, poetry, cargo install, go install, gem, conda…) fetches and builds an external package at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:40
go install github.com/blynn/nex@latest -
PKGBUILD:41
go install golang.org/x/tools/cmd/goyacc@latest -
PKGBUILD:42
go install golang.org/x/tools/cmd/stringer@latest -
PKGBUILD:43
go install golang.org/x/lint/golint@latest -
PKGBUILD:44
go install golang.org/x/tools/cmd/goimports@latest -
PKGBUILD:45
go install github.com/dvyukov/go-fuzz/go-fuzz@latest
PKGBUILD
6 offending line(s) highlighted# $Id$
# Maintainer: Philipp Marmet
# Contributor: Joe Julian
pkgname=mgmt
pkgver=1.1.0
pkgrel=0
epoch=1
pkgdesc='Next generation config management.'
arch=('x86_64' 'i686' 'armv6h' 'armv7h')
pkggopath='github.com/purpleidea/mgmt'
url="https://${pkggopath}"
license=('GPL3')
makedepends=('augeas' 'go' 'go-md2man' 'go-tools' 'libpcap' 'libvirt' 'rubygems' 'ragel6')
depends=('augeas' 'libvirt')
conflicts=('mgmt-bin')
# don't strip binaries! A sha1 is used to check binary consistency.
options=('!strip')
backup=("etc/${pkgname}/${pkgname}.conf")
source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/${pkgver}.tar.gz"
"mgmt.service")
sha256sums=('91c18b48e7c73f02bd5a896c155787440aa868ce806a42be0d6df884b0a87494'
'eeb4174a8556161b94f62808b4453ef91574797070ada53ffb90cb013aff9799')
prepare() {
# extract tarball to path expected by go
mkdir -p "${srcdir}/src/${pkggopath}"
cd "${srcdir}/${pkgname}-${pkgver}"
git submodule --quiet update --init --recursive
git archive --prefix="${pkggopath}/" --format="tar" HEAD | tar xf - -C "${srcdir}/src"
git submodule foreach 'git archive --prefix="${path}/" --format="tar" HEAD | tar xvf - -C "'${srcdir}'/src/'${pkggopath}'"'
# fetch dependencies
export GOPATH="${srcdir}"
export PATH=${GOPATH}/bin:${PATH}
cd "${srcdir}/src/${pkggopath}"
msg2 'installing go dependencies'
go install github.com/blynn/nex@latest
go install golang.org/x/tools/cmd/goyacc@latest # formerly `go tool yacc`
go install golang.org/x/tools/cmd/stringer@latest # for automatic stringer-ing
go install golang.org/x/lint/golint@latest # for `golint`-ing
go install golang.org/x/tools/cmd/goimports@latest # for fmt
go install github.com/dvyukov/go-fuzz/go-fuzz@latest # for fuzzing the mcl lang bits
}
build() {
export GOPATH="${srcdir}"
export PATH=${GOPATH}/bin:${PATH}:/usr/lib/go/pkg/tool/linux_amd64
cd "${srcdir}/${pkgname}-${pkgver}"
go mod tidy
make VERSION="${pkgver}" SVERSION="${pkgver}" PROGRAM="${pkgname}"
}
package() {
msg2 'installing files'
install -Dm644 "mgmt.service" "${pkgdir}/usr/lib/systemd/system/mgmt.service"
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "misc/bashrc.sh" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
install -Dm644 "misc/example.conf" "${pkgdir}/etc/${pkgname}/${pkgname}.conf"
}
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 |