aws-cli-bin
maintainer nsyntych
· 19 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads official AWS CLI binaries and scripts from awscli.amazonaws.com and raw.githubusercontent.com; while the hosts are not universally whitelisted, they are legitimate sources for AWS's own releases, and the binaries are verified via checksums.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads official AWS CLI binaries and scripts from awscli.amazonaws.com and raw.githubusercontent.com; while the hosts are not universally whitelisted, they are legitimate sources for AWS's own releases, and the binaries are verified via checksums.
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:28
source_x86_64=(${pkgname}-${pkgver}-x86_64.zip::https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${pkgver}.zip)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Nick Syntychakis <nsyntych@punkops.dev>
2
3
pkgname=aws-cli-bin
4
# https://github.com/aws/aws-cli/raw/v2/CHANGELOG.rst
5
pkgver=2.36.14
6
pkgrel=1
7
epoch=1
8
pkgdesc='Unified command line interface for Amazon Web Services (Amazon provided v2 binary release)'
9
arch=(x86_64 aarch64)
10
url='https://github.com/aws/aws-cli/tree/v2'
11
license=('Apache-2.0')
12
options=(!strip !debug)
13
makedepends=('unzip')
14
depends=('less')
15
optdepends=()
16
provides=(aws-cli)
17
conflicts=(aws-cli aws-cli-v2 aws-cli-v2-bin aws-cli-git)
18
install=aws-cli-v2-bin.install
19
20
source=("aws_bash_completer::https://raw.githubusercontent.com/aws/aws-cli/${pkgver}/bin/aws_bash_completer"
21
"aws_zsh_completer.sh::https://raw.githubusercontent.com/aws/aws-cli/${pkgver}/bin/aws_zsh_completer.sh"
22
"LICENSE.txt::https://raw.githubusercontent.com/aws/aws-cli/${pkgver}/LICENSE.txt")
23
24
sha256sums=('451a681062516a0473c8764a6593b0a65b6e558bf6128899b1d5e19b258f679e'
25
'426e99f1e8cd00cce9263693d29ceac5b4834f6cf1766cd57b985a440eea2e87'
26
'9b3a0d5c384b013bfc56f2f265afdbbe5c2fb674b1d6ee54190d235f284a1af0')
27
28
source_x86_64=(${pkgname}-${pkgver}-x86_64.zip::https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${pkgver}.zip)
29
source_aarch64=(${pkgname}-${pkgver}-aarch64.zip::https://awscli.amazonaws.com/awscli-exe-linux-aarch64-${pkgver}.zip)
30
31
sha256sums_x86_64=('43b34875482244039716cc3725d1f60e7d47ef3cfb2a19e114759a46db24dc30')
32
sha256sums_aarch64=('61e2fb72b36dc0ad98912b3a7b7469c886b90ea703f1096428a152ab09babd8a')
33
validpgpkeys=(
34
'FB5DB77FD5C118B80511ADA8A6310ACC4672475C' # the key mentioned on https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
35
)
36
37
package() {
38
# Create the install dir and move the binary files there
39
mkdir -p $pkgdir/usr/local/aws-cli
40
mv aws/dist $pkgdir/usr/local/aws-cli/v2
41
42
# Install completions scripts
43
install -Dm644 aws_bash_completer $pkgdir/usr/share/bash-completion/completions/aws
44
install -Dm644 aws_zsh_completer.sh $pkgdir/usr/bin/aws_zsh_completer.sh
45
46
# Install license
47
install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
48
49
# aws and aws_completer symlinks to /usr/bin
50
ln -sf /usr/local/aws-cli/v2/aws $pkgdir/usr/bin/aws
51
ln -sf /usr/local/aws-cli/v2/aws_completer $pkgdir/usr/bin/aws_completer
52
}
53
Changes since previous scan
--- PKGBUILD @ 2026-08-01 00:11+++ PKGBUILD @ 2026-08-03 00:08@@ -2,7 +2,7 @@ pkgname=aws-cli-bin # https://github.com/aws/aws-cli/raw/v2/CHANGELOG.rst-pkgver=2.36.13+pkgver=2.36.14 pkgrel=1 epoch=1 pkgdesc='Unified command line interface for Amazon Web Services (Amazon provided v2 binary release)'@@ -28,8 +28,8 @@ source_x86_64=(${pkgname}-${pkgver}-x86_64.zip::https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${pkgver}.zip) source_aarch64=(${pkgname}-${pkgver}-aarch64.zip::https://awscli.amazonaws.com/awscli-exe-linux-aarch64-${pkgver}.zip) -sha256sums_x86_64=('a9ac6e52bbdf0bba62e410f7f62aa1a5f5615edb90b126c04cb5e4e3b2984bfc')-sha256sums_aarch64=('422843769149f90b28df93750a86df1bb85018667102015f35078d8507cc49a5')+sha256sums_x86_64=('43b34875482244039716cc3725d1f60e7d47ef3cfb2a19e114759a46db24dc30')+sha256sums_aarch64=('61e2fb72b36dc0ad98912b3a7b7469c886b90ea703f1096428a152ab09babd8a') validpgpkeys=( 'FB5DB77FD5C118B80511ADA8A6310ACC4672475C' # the key mentioned on https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html )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 09:20:18 | MEDIUM | 1 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 09:17:30 | MEDIUM | 1 |
| 2026-07-31 00:14:10 | CLEAN | 2 |
| 2026-07-30 09:14:07 | MEDIUM | 1 |
| 2026-07-30 00:17:23 | CLEAN | 2 |
| 2026-07-29 09:11:06 | MEDIUM | 1 |
| 2026-07-29 00:25:53 | CLEAN | 2 |
| 2026-07-28 09:37:42 | MEDIUM | 1 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 13:35:00 | MEDIUM | 2 |
| 2026-07-27 09:34:56 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 09:32:02 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 15:29:50 | MEDIUM | 1 |
| 2026-07-25 09:29:42 | MEDIUM | 1 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |