aws-cli-bin

LOW
maintainer nsyntych 19 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads prebuilt AWS CLI binaries and auxiliary scripts from AWS's official domain (awscli.amazonaws.com), which is trustworthy; the non-standard host flag is a false positive as the source is legitimate and checksums are provided.

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 prebuilt AWS CLI binaries and auxiliary scripts from AWS's official domain (awscli.amazonaws.com), which is trustworthy; the non-standard host flag is a false positive as the source is legitimate and checksums are provided.

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
3pkgname=aws-cli-bin
4# https://github.com/aws/aws-cli/raw/v2/CHANGELOG.rst
5pkgver=2.39.2
6pkgrel=1
7epoch=1
8pkgdesc='Unified command line interface for Amazon Web Services (Amazon provided v2 binary release)'
9arch=(x86_64 aarch64)
10url='https://github.com/aws/aws-cli/tree/v2'
11license=('Apache-2.0')
12options=(!strip !debug)
13makedepends=('unzip')
14depends=('less')
15optdepends=()
16provides=(aws-cli)
17conflicts=(aws-cli aws-cli-v2 aws-cli-v2-bin aws-cli-git)
18install=aws-cli-v2-bin.install
19
20source=("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
24sha256sums=('451a681062516a0473c8764a6593b0a65b6e558bf6128899b1d5e19b258f679e'
25 '426e99f1e8cd00cce9263693d29ceac5b4834f6cf1766cd57b985a440eea2e87'
26 '9b3a0d5c384b013bfc56f2f265afdbbe5c2fb674b1d6ee54190d235f284a1af0')
27
28source_x86_64=(${pkgname}-${pkgver}-x86_64.zip::https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${pkgver}.zip)
29source_aarch64=(${pkgname}-${pkgver}-aarch64.zip::https://awscli.amazonaws.com/awscli-exe-linux-aarch64-${pkgver}.zip)
30
31sha256sums_x86_64=('bb3e675d5c9a915121f3f90b380ec041ba52517067d017e4a4ceba40e0213247')
32sha256sums_aarch64=('53e639d3160ecfe7a5c50ad2a922ce8e96fb21f732193001251760d33cd7fd64')
33validpgpkeys=(
34 'FB5DB77FD5C118B80511ADA8A6310ACC4672475C' # the key mentioned on https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
35)
36
37package() {
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-10-30 00:29
+++ PKGBUILD @ 2026-11-01 00:21
@@ -2,7 +2,7 @@
pkgname=aws-cli-bin
# https://github.com/aws/aws-cli/raw/v2/CHANGELOG.rst
-pkgver=2.39.1
+pkgver=2.39.2
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=('5b6c10e0a8ccdcf30c84bd643fea511f103d257a4787a7cef878691d63169804')
-sha256sums_aarch64=('5adf0b5052843e542b55a846d49ba2a2b3f3fb4960f35c11df9ac7c395cffaaf')
+sha256sums_x86_64=('bb3e675d5c9a915121f3f90b380ec041ba52517067d017e4a4ceba40e0213247')
+sha256sums_aarch64=('53e639d3160ecfe7a5c50ad2a922ce8e96fb21f732193001251760d33cd7fd64')
validpgpkeys=(
'FB5DB77FD5C118B80511ADA8A6310ACC4672475C' # the key mentioned on https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
)

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 11:58:11 Medium 1
2026-10-31 00:07:41 Low 2
2026-10-30 13:56:02 Medium 1
2026-10-30 00:29:30 Medium 2
2026-10-29 13:52:19 Medium 2
2026-10-29 00:13:55 Low 2
2026-10-28 13:50:29 Medium 1
2026-10-28 00:06:54 Low 2
2026-10-27 11:47:37 Medium 1
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 11:37:13 Medium 2
2026-10-23 00:02:19 Low 2
2026-10-22 11:34:35 Medium 1
2026-10-22 00:13:10 Medium 2
2026-10-21 11:31:16 Medium 2
2026-10-21 00:12:50 Clean 2

Report a package

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

0 / 4000
Your suggestion