chef-workstation

MEDIUM
maintainer tmoore 10 votes scanned 2026-09-17 00:27:14.276658
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
11pkgname=chef-workstation
12pkgver=25.14.2
13pkgrel=1
14pkgdesc="Chef's developer toolkit that includes Infra, InSpec, Habitat, and tools like knife."
15arch=('x86_64')
16url="https://www.chef.io/downloads/tools/workstation"
17license=('custom:Chef EULA')
18depends=()
19conflicts=(chef-dk chef chef-solo cinc)
20replaces=('chef-dk')
21source=("https://packages.chef.io/repos/apt/stable/ubuntu/22.04/chef-workstation_$pkgver-1_amd64.deb")
22sha256sums=('34344a6ed3ec71151b0a4b5774cc05d81f0f3792a4d4d659afda2f5a728d6417')
23
24package() {
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

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 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