aws-session-manager-plugin

MEDIUM
maintainer ChrisLane 22 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a prebuilt .deb from an AWS S3 bucket, which is an unverifiable executable artifact; while the host is plausible for AWS, the use of a non-standard domain pattern and unreviewable binary distribution creates a supply-chain risk.

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:15 source_x86_64=("${pkgname}-${pkgver}.deb"::https://s3.amazonaws.com/session-manager-downloads/plugin/${pkgver}/ubuntu_64bit/session-manager-plugin.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 AWS S3 bucket, which is an unverifiable executable artifact; while the host is plausible for AWS, the use of a non-standard domain pattern and unreviewable binary distribution creates a supply-chain risk.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Chris Lane <aur at chrislane dot com>
2# Contributor: Rene Benner <renebenner + arch at gmail dot com>
3# Contributor: Troy Engel <troyengel + arch at gmail dot com>
4# Contributor: Callum Denby <me@callumdenby.com>
5pkgname=aws-session-manager-plugin
6pkgver=1.2.896.0
7pkgrel=1
8pkgdesc="AWS Session Manager Plugin for aws-cli."
9arch=('x86_64' 'aarch64')
10url="https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html"
11license=('Apache-2.0')
12depends=('aws-cli')
13backup=('usr/lib/systemd/system/session-manager-plugin.service' 'usr/sessionmanagerplugin/LICENSE' 'usr/sessionmanagerplugin/seelog.xml' 'usr/sessionmanagerplugin/VERSION')
14options=('!strip' '!emptydirs')
15source_x86_64=("${pkgname}-${pkgver}.deb"::https://s3.amazonaws.com/session-manager-downloads/plugin/${pkgver}/ubuntu_64bit/session-manager-plugin.deb)
16source_aarch64=("${pkgname}-${pkgver}-aarch64.deb"::https://s3.amazonaws.com/session-manager-downloads/plugin/${pkgver}/ubuntu_arm64/session-manager-plugin.deb)
17sha512sums_x86_64=('23f3a4d9b0d3e8fc96f66ffd2e8d34b2d9978db2acff393792d92bdd1b673f0d36c26185eeb54329ef3bd96839bf3ff1175bb968ceb2f8c002e3ca734e0a0897')
18sha512sums_aarch64=('82eceb7e50fa075ddeedac1bd0eee0a54a53774e4dc359696456fee4b554ccaea5f405947edff9ab956456c922c2f9750f3907fc26f5b497582ff8d1718be619')
19
20# Version history with new versions is here.
21# https://docs.aws.amazon.com/systems-manager/latest/userguide/plugin-version-history.html
22
23package(){
24
25 # Extract package data
26 tar xzf data.tar.gz -C "${pkgdir}"
27
28 # Fix directories structure differencies
29 cd "${pkgdir}"
30 mkdir -p usr/bin
31 mkdir -p usr/lib 2> /dev/null; mv lib/* usr/lib; rm -rf lib
32 rm -rf etc/
33 sed -i 's/usr\/local/usr/' usr/lib/systemd/system/session-manager-plugin.service
34 mv usr/local/* usr; rm -rf usr/local
35 ln -sf /usr/sessionmanagerplugin/bin/session-manager-plugin usr/bin/session-manager-plugin
36 cd ..
37}
38

Changes since previous scan

--- PKGBUILD @ 2026-10-16 00:12
+++ PKGBUILD @ 2026-11-01 00:21
@@ -3,7 +3,7 @@
# Contributor: Troy Engel <troyengel + arch at gmail dot com>
# Contributor: Callum Denby <me@callumdenby.com>
pkgname=aws-session-manager-plugin
-pkgver=1.2.835.0
+pkgver=1.2.896.0
pkgrel=1
pkgdesc="AWS Session Manager Plugin for aws-cli."
arch=('x86_64' 'aarch64')
@@ -14,8 +14,8 @@
options=('!strip' '!emptydirs')
source_x86_64=("${pkgname}-${pkgver}.deb"::https://s3.amazonaws.com/session-manager-downloads/plugin/${pkgver}/ubuntu_64bit/session-manager-plugin.deb)
source_aarch64=("${pkgname}-${pkgver}-aarch64.deb"::https://s3.amazonaws.com/session-manager-downloads/plugin/${pkgver}/ubuntu_arm64/session-manager-plugin.deb)
-sha512sums_x86_64=('971613d4d937d356493b8469d8e442860a903c6c50313f308c5c87b6140d3873b8c345f6757636180ea18e3ae061b9df9cf19cd4541db8e238c527953d80addd')
-sha512sums_aarch64=('eb7fa40a71e17094d750151154486871381668402b5f2f2415052d9a21382f03d752127eee979dff1daafeeaec95086b4a03af666b5c800914bae9c2c1e8834d')
+sha512sums_x86_64=('23f3a4d9b0d3e8fc96f66ffd2e8d34b2d9978db2acff393792d92bdd1b673f0d36c26185eeb54329ef3bd96839bf3ff1175bb968ceb2f8c002e3ca734e0a0897')
+sha512sums_aarch64=('82eceb7e50fa075ddeedac1bd0eee0a54a53774e4dc359696456fee4b554ccaea5f405947edff9ab956456c922c2f9750f3907fc26f5b497582ff8d1718be619')
# Version history with new versions is here.
# https://docs.aws.amazon.com/systems-manager/latest/userguide/plugin-version-history.html

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
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 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 19:16:12 Medium 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 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