openvpn-auth-oauth2
The source is downloaded from GitHub's official codeload domain, which is a standard and trusted host for GitHub repositories, despite the non-whitelisted appearance; the package builds from verifiable source code with a valid checksum, posing no inherent 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 source is downloaded from GitHub's official codeload domain, which is a standard and trusted host for GitHub repositories, despite the non-whitelisted appearance; the package builds from verifiable source code with a valid checksum, posing no inherent 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:14
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/${pkgname}/tar.gz/refs/tags/v${pkgver}")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Shalygin Konstantin <k0ste@k0ste.ru>
# Contributor: Shalygin Konstantin <k0ste@k0ste.ru>
pkgname='openvpn-auth-oauth2'
pkgver='2.2.0'
pkgrel='1'
pkgdesc='A Plugin/management interface client for OpenVPN server to handle an OIDC based single sign-on (SSO) auth flows'
arch=('x86_64' 'aarch64')
_uri="github.com/jkroepke"
url="https://${_uri}/${pkgname}"
license=('MIT')
makedepends=('go' 'git')
depends=('openvpn>=2.6.2')
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/${pkgname}/tar.gz/refs/tags/v${pkgver}")
sha256sums=('9da34494c90fedcf257de922d9fa334a1d5d26bbf3fb65ac54005103b4bace82')
backup=("etc/conf.d/${pkgname}"
"etc/${pkgname}/config.yaml")
prepare() {
export GOPATH="${srcdir}/gopath"
export GOBIN="${GOPATH}/bin"
export GOTMPDIR="${GOPATH}/tmp"
export GOCACHE="${srcdir}/cache/go-cache"
export GOMODCACHE="${srcdir}/cache/go"
mkdir -p "${GOPATH}/src/${_uri}"
mkdir -p "${GOTMPDIR}"
eval "$(go env | grep -e "GOHOSTOS" -e "GOHOSTARCH")"
ln -snf "${srcdir}/${pkgname}-${pkgver}" "${GOPATH}/src/${_uri}/${pkgname}"
sed -i \
-e 's|/etc/sysconfig|/etc/conf.d|g' \
-e 's|CapabilityBoundingSet=|CapabilityBoundingSet=CAP_NET_BIND_SERVICE|g' \
-e 's|AmbientCapabilities=|AmbientCapabilities=CAP_NET_BIND_SERVICE|g' \
-e '/PrivateUsers=true/d' \
"${pkgname}-${pkgver}/packaging/usr/lib/systemd/system/${pkgname}.service"
}
build() {
cd "${GOPATH}/src/${_uri}/${pkgname}"
GOOS="${GOHOSTOS}" GOARCH="${GOHOSTARCH}" BUILDTAGS="no_otel"
for e in "cmd" "lib"
do
if [[ "${e}" == "lib" ]]
then
mode="c-shared"
outname="${pkgname}.so"
else
mode="pie"
outname="${pkgname}"
fi
go build \
-buildmode="${mode}" \
-trimpath \
-mod="readonly" \
-modcacherw \
-ldflags "-linkmode external -extldflags '${LDFLAGS}' \
-X ${_uri}/${pkgname}/internal/version.Version=${pkgver} \
-X ${_uri}/${pkgname}/internal/version.Commit=$(git rev-parse HEAD) \
-X ${_uri}/${pkgname}/internal/version.Date=$(date -u '+%Y%m%d-%H:%M:%S' --date=@${SOURCE_DATE_EPOCH})" \
-o "${outname}" \
"./${e}/${pkgname}"
done
}
check() {
cd "${GOPATH}/src/${_uri}/${pkgname}"
TMPDIR="${GOPATH}/tmp" go test -modcacherw -race ./...
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm0644 "LICENSE.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm0755 "${pkgname}" -t "${pkgdir}/usr/bin"
install -Dm0755 "${pkgname}.so" -t "${pkgdir}/usr/lib/openvpn/plugins"
install -Dm0644 "${pkgname}.h" -t "${pkgdir}/usr/include"
pushd "packaging"
install -Dm0644 "etc/${pkgname}/config.yaml" -t "${pkgdir}/etc/${pkgname}"
install -Dm0644 "etc/sysconfig/${pkgname}" -t "${pkgdir}/etc/conf.d"
install -Dm0644 "usr/lib/systemd/system/${pkgname}.service" -t "${pkgdir}/usr/lib/systemd/system"
install -Dm0644 "usr/lib/sysusers.d/${pkgname}.conf" -t "${pkgdir}/usr/lib/sysusers.d"
}
Changes since previous scan
--- PKGBUILD @ 2026-09-07 00:30+++ PKGBUILD @ 2026-09-17 00:27@@ -2,7 +2,7 @@ # Contributor: Shalygin Konstantin <k0ste@k0ste.ru> pkgname='openvpn-auth-oauth2'-pkgver='2.1.0'+pkgver='2.2.0' pkgrel='1' pkgdesc='A Plugin/management interface client for OpenVPN server to handle an OIDC based single sign-on (SSO) auth flows' arch=('x86_64' 'aarch64')@@ -12,7 +12,7 @@ makedepends=('go' 'git') depends=('openvpn>=2.6.2') source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/${pkgname}/tar.gz/refs/tags/v${pkgver}")-sha256sums=('62b83b4abd179fed22e9215ebec731ca3cca971c2fb23706470866fd9f78e9fd')+sha256sums=('9da34494c90fedcf257de922d9fa334a1d5d26bbf3fb65ac54005103b4bace82') backup=("etc/conf.d/${pkgname}" "etc/${pkgname}/config.yaml") 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 09:14:05 | Medium | 1 |
| 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 |