puppet-bolt

maintainer macinteuch · 7 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged 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.

Triggered rules

MEDIUM source=() URL on a non-standard host 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")
MEDIUM AI review 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
1# Maintainer: Jeroen Hooyberghs <jeroen@hooyberghs.org>
2
3pkgname=puppet-bolt
4_ubuntu_release=bionic
5_pkgver="4.0.0-1${_ubuntu_release}"
6pkgver=4.0.0
7
8pkgrel=1
9pkgdesc='Puppet stand alone task runner'
10arch=('x86_64')
11url='https://github.com/puppetlabs/bolt'
12options=(staticlibs !strip)
13source=("https://apt.puppetlabs.com/pool/${_ubuntu_release}/puppet/p/puppet-bolt/puppet-bolt_${_pkgver}_amd64.deb")
14md5sums=('1875b5bc694649665cc9c8a2f26ac5ff')
15depends=('libxcrypt-compat')
16
17package() {
18 tar xzf data.tar.gz
19
20 mv usr "${pkgdir}"
21 mv opt "${pkgdir}"
22
23 cd "${pkgdir}"
24 mkdir usr/bin
25 mv usr/local/bin/bolt usr/bin
26 chmod 755 opt/puppetlabs/bin/bolt
27 rm -rf usr/local
28}
29
30

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion