chef-workstation
maintainer tmoore
· 10 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
The package downloads a prebuilt .deb from an official but non-whitelisted host (packages.chef.io), which is a supply-chain risk if the source is unverifiable or silently swapped, though it uses a fixed version and checksum.
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:21
source=("https://packages.chef.io/repos/apt/stable/ubuntu/22.04/chef-workstation_$pkgver-1_amd64.deb")
MEDIUM
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt .deb from an official but non-whitelisted host (packages.chef.io), which is a supply-chain risk if the source is unverifiable or silently swapped, though it uses a fixed version and checksum.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Tom Moore <middleagedman@users.noreply.github.com>
2
3
# Contributor: Paweł Otlewski <pawel@idkcloud.com>
4
# Contributor: Томас <70m4c@70m4c.su>
5
# Contributor: Marc Paradise <marc.paradise@gmail.com>
6
7
# shellcheck disable=SC2148 # Ignore lack of shebang
8
# shellcheck disable=SC2034 # Ignore "unused" PKGBUILD variables
9
# shellcheck disable=SC2154 # Ignore "unassigned" references to $srcdir and $pkgdir
10
11
pkgname=chef-workstation
12
pkgver=25.14.2
13
pkgrel=1
14
pkgdesc="Chef's developer toolkit that includes Infra, InSpec, Habitat, and tools like knife."
15
arch=('x86_64')
16
url="https://www.chef.io/downloads/tools/workstation"
17
license=('custom:Chef EULA')
18
depends=()
19
conflicts=(chef-dk chef chef-solo cinc)
20
replaces=('chef-dk')
21
source=("https://packages.chef.io/repos/apt/stable/ubuntu/22.04/chef-workstation_$pkgver-1_amd64.deb")
22
sha256sums=('34344a6ed3ec71151b0a4b5774cc05d81f0f3792a4d4d659afda2f5a728d6417')
23
24
package() {
25
depends=('libxcrypt-compat')
26
27
cd "$srcdir" || exit 1
28
bsdtar -xf data.tar.xz -C "$pkgdir"
29
30
install -Dm644 "$pkgdir/opt/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
31
32
mkdir -p "$pkgdir/usr/bin"
33
binaries="berks chef chef-analyze chef-apply chef-cli chef-client chef-resource-inspector chef-run chef-service-manager chef-shell chef-solo chef-vault chef-windows-service chef-zero cookstyle delivery fauxhai foodcritic hab inspec kitchen knife mixlib-install ohai stove"
34
for binary in $binaries; do
35
ln -s "/opt/$pkgname/bin/$binary" "$pkgdir/usr/bin/" || error_exit "Cannot link $binary to /usr/bin"
36
done
37
38
chown -Rh 0:0 "$pkgdir"
39
chmod -R 755 "$pkgdir/opt"
40
}
41
Changes since previous scan
--- PKGBUILD @ 2026-06-20 16:03+++ PKGBUILD @ 2026-08-03 00:08@@ -9,7 +9,7 @@ # shellcheck disable=SC2154 # Ignore "unassigned" references to $srcdir and $pkgdir pkgname=chef-workstation-pkgver=25.13.7+pkgver=25.14.2 pkgrel=1 pkgdesc="Chef's developer toolkit that includes Infra, InSpec, Habitat, and tools like knife." arch=('x86_64')@@ -19,7 +19,7 @@ conflicts=(chef-dk chef chef-solo cinc) replaces=('chef-dk') source=("https://packages.chef.io/repos/apt/stable/ubuntu/22.04/chef-workstation_$pkgver-1_amd64.deb")-sha256sums=('d4609acda0a5f1a19b1c4eda5a6b39a4af96ba150264bd8a471ebfd1bea4b627')+sha256sums=('34344a6ed3ec71151b0a4b5774cc05d81f0f3792a4d4d659afda2f5a728d6417') package() { depends=('libxcrypt-compat')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 01:19:40 | MEDIUM | 2 |
| 2026-06-20 16:03:41 | CLEAN | 2 |
| 2026-06-20 00:50:07 | MEDIUM | 2 |
| 2026-06-20 00:18:46 | MEDIUM | 1 |
| 2026-06-19 23:51:18 | MEDIUM | 2 |
| 2026-06-19 19:07:35 | LOW | 2 |
| 2026-06-18 16:11:54 | MEDIUM | 1 |