porter-bin
maintainer orphaned
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
3
pkgname=porter-bin
4
pkgver=0.29.1
5
pkgrel=3
6
epoch=1
7
pkgdesc='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'
8
arch=(x86_64)
9
url='https://github.com/deislabs/porter'
10
license=(MIT)
11
#depends=('docker')
12
optdepends=('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')
18
provides=('porter')
19
#makedepends=('go')
20
source=("$pkgname-$pkgver::https://cdn.porter.sh/v${pkgver}/porter-linux-amd64")
21
sha512sums=('d8c73629cbe3a2021b44c405956aa14d4b6ec5b6132676e1cc3dacb0874697ceae5621356bf5f69e6cbee86cc7814b570e262a2bac2e0ef956316304b0d37ae2')
22
23
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |