amazon-ecs-init
Triggered rules
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:12
source=(https://s3.us-east-1.amazonaws.com/amazon-ecs-agent-us-east-1/${pkgname}-${pkgver}-${pkgrel}.amd64.deb)
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The package downloads a prebuilt binary .deb from an AWS S3 bucket (amazon-ecs-agent-us-east-1). This is actually Amazon's official distribution channel for the ECS agent/init package — Amazon publishes these artifacts to their own S3 buckets as part of the official release pipeline, so this is not a personal or unofficial host. However, the package installs prebuilt binaries (ECS agent daemon, volume plugin, systemd services) extracted from a .deb without source compilation, and uses only an MD5 checksum (weak, collision-prone) rather than SHA256. The prepare() step also only extracts data.tar.xz without first extracting the .deb container properly (missing the ar extraction step), which is slightly broken but the deb may already be partially extracted. The core concern is that prebuilt binaries from any host — even an official one — represent a supply-chain risk if the S3 bucket were compromised or the object replaced, and MD5 provides inadequate integrity protection. This is a real medium-severity concern: executed binaries from a non-GitHub/non-source host with weak checksums, even if the host is plausibly official.
PKGBUILD
1 offending line(s) highlighted# Maintainer: nckslvrmn <nckslvrmn@gmail.com>
pkgname=amazon-ecs-init
pkgver=1.82.3
pkgrel=1
pkgdesc="Amazon ECS Init"
arch=('x86_64')
url="https://github.com/aws/amazon-ecs-init"
license=('APACHE')
groups=()
depends=('glibc')
provides=("${pkgname}")
source=(https://s3.us-east-1.amazonaws.com/amazon-ecs-agent-us-east-1/${pkgname}-${pkgver}-${pkgrel}.amd64.deb)
md5sums=('99fb1e1812ff2999af9f2275590641e6')
noextract=()
prepare() {
cd "$srcdir"
tar -xf data.tar.xz
}
package() {
cd "$srcdir"
install -dm755 "$pkgdir"/usr/
cp -R "${srcdir}"/usr/ "${pkgdir}"
install -dm755 "$pkgdir"/etc/ecs/
cp -R "${srcdir}"/etc/ecs/ "${pkgdir}/etc/"
install -dm755 "$pkgdir"/var/
cp -R "${srcdir}"/var/ "${pkgdir}"
install -Dm644 \
"$srcdir"/lib/systemd/system/amazon-ecs-volume-plugin.service \
"$pkgdir"/usr/lib/systemd/system/amazon-ecs-volume-plugin.service
install -Dm644 \
"$srcdir"/lib/systemd/system/amazon-ecs-volume-plugin.socket \
"$pkgdir"/usr/lib/systemd/system/amazon-ecs-volume-plugin.socket
install -Dm644 \
"$srcdir"/lib/systemd/system/ecs.service \
"$pkgdir"/usr/lib/systemd/system/ecs.service
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |