puppet-bolt
Triggered rules
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:13
source=("https://apt.puppetlabs.com/pool/${_ubuntu_release}/puppet/p/puppet-bolt/puppet-bolt_${_pkgver}_amd64.deb")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt binary .deb from apt.puppetlabs.com, which is the official Puppet Labs APT repository — a legitimate vendor host. However, the package installs a prebuilt binary bundle (Puppet Bolt ships with a vendored Ruby runtime and many bundled gems inside /opt/puppetlabs) rather than building from source. The checksum is MD5-only (weak, but present). The core concern is that this is an executed binary from a vendor binary repository rather than source-built, which is a genuine supply-chain consideration: if the upstream .deb were tampered with or the checksum bypassed, arbitrary code would execute. That said, apt.puppetlabs.com is the canonical official distribution channel for Puppet packages, making this equivalent to installing from the vendor's own APT repo. The risk is real but inherent to any binary-only package from a vendor repo, not an unofficial or personal host. This pattern (repackaging official vendor .deb for Arch) is common in AUR and the host is authoritative. The cheaper model's MEDIUM rating is defensible but slightly over-stated given the official vendor origin; however, the binary execution concern and weak MD5-only checksum keep it at medium rather than clean.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Jeroen Hooyberghs <jeroen@hooyberghs.org>
pkgname=puppet-bolt
_ubuntu_release=bionic
_pkgver="4.0.0-1${_ubuntu_release}"
pkgver=4.0.0
pkgrel=1
pkgdesc='Puppet stand alone task runner'
arch=('x86_64')
url='https://github.com/puppetlabs/bolt'
options=(staticlibs !strip)
source=("https://apt.puppetlabs.com/pool/${_ubuntu_release}/puppet/p/puppet-bolt/puppet-bolt_${_pkgver}_amd64.deb")
md5sums=('1875b5bc694649665cc9c8a2f26ac5ff')
depends=('libxcrypt-compat')
package() {
tar xzf data.tar.gz
mv usr "${pkgdir}"
mv opt "${pkgdir}"
cd "${pkgdir}"
mkdir usr/bin
mv usr/local/bin/bolt usr/bin
chmod 755 opt/puppetlabs/bin/bolt
rm -rf usr/local
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |