porter-bin

LOW
maintainer orphaned 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt binary from the project's own CDN (cdn.porter.sh), which is plausibly official infrastructure; the binary is not obfuscated and is used to install mixins/plugins from known sources, posing low supply-chain risk despite the non-whitelisted host.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt binary from the project's own CDN (cdn.porter.sh), which is plausibly official infrastructure; the binary is not obfuscated and is used to install mixins/plugins from known sources, posing low supply-chain risk despite the non-whitelisted host.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:20 source=("$pkgname-$pkgver::https://cdn.porter.sh/v${pkgver}/porter-linux-amd64")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: alex4ip <alex4ip@gmail.com>
2
3pkgname=porter-bin
4pkgver=0.29.1
5pkgrel=3
6epoch=1
7pkgdesc='A utility to help make your application + etc (env/tool) as a versioned bundle that you can distribute, and then install with a single command'
8arch=(x86_64)
9url='https://github.com/deislabs/porter'
10license=(MIT)
11#depends=('docker')
12optdepends=('kubernetes-bin'
13 'helm'
14 'terraform'
15 'azure-cli: Command-line tools for Azure'
16 'aws-cli: cli for Amazon Web Services'
17 'google-cloud-sdk: gcloud - command-line tools for the Google Cloud Platform')
18provides=('porter')
19#makedepends=('go')
20source=("$pkgname-$pkgver::https://cdn.porter.sh/v${pkgver}/porter-linux-amd64")
21sha512sums=('d8c73629cbe3a2021b44c405956aa14d4b6ec5b6132676e1cc3dacb0874697ceae5621356bf5f69e6cbee86cc7814b570e262a2bac2e0ef956316304b0d37ae2')
22
23package() {
24 #mkdir -p "${pkgdir}/opt"
25 install -Dm 755 "$srcdir/$pkgname-$pkgver" "${pkgdir}/opt/${pkgname}/porter"
26
27 PORTER_HOME="${pkgdir}"/opt/"${pkgname}"
28
29 mkdir -p "${pkgdir}/usr/bin"
30 ln -nfs /opt/${pkgname}/porter "${pkgdir}"/usr/bin/porter
31
32 # Add command completion
33 # install -dm 755 "$pkgdir/usr/share/bash-completion/completions"
34 # install -dm 755 "$pkgdir/usr/share/zsh/site-functions"
35 # "$pkgdir/usr/bin/provides" completion bash > "$pkgdir/usr/share/bash-completion/completions/provides"
36 # "$pkgdir/usr/bin/provides" completion zsh > "$pkgdir/usr/share/zsh/site-functions/_provides"
37
38# Add mixin
39
40 PKG_PERMALINK=${PKG_PERMALINK:-latest}
41
42 cd "${pkgdir}"/opt/"${pkgname}"
43 ./porter mixin install exec --version $PKG_PERMALINK
44 ./porter mixin install kubernetes
45 ./porter mixin install helm --version $PKG_PERMALINK
46 ./porter mixin install arm --version $PKG_PERMALINK
47 ./porter mixin install terraform
48 ./porter mixin install az --version $PKG_PERMALINK
49 ./porter mixin install aws --version $PKG_PERMALINK
50 ./porter mixin install gcloud --version $PKG_PERMALINK
51
52 ./porter plugin install azure --version $PKG_PERMALINK
53}
54
55# vim:set ts=2 sw=2 et:
56

Scan history

Scanned at (UTC)SeverityRules
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 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
2026-08-29 00:29:17 Low 2

Report a package

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

0 / 4000
Your suggestion