outline-manager-appimage
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:17
source=("${_app_image}::https://s3.amazonaws.com/outline-releases/manager/linux/${pkgver}/${_build_version}/Outline-Manager.AppImage")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt AppImage binary from an AWS S3 bucket (s3.amazonaws.com/outline-releases) controlled by Jigsaw-Code (Google), which is the legitimate upstream vendor for Outline Manager. The sha256sum is pinned, providing integrity verification. However, the source is a prebuilt binary AppImage rather than source code, and it is executed during prepare() via --appimage-extract. The S3 bucket is the official release channel referenced in the upstream GitHub repo (Jigsaw-Code/outline-releases), making this more of a 'binary blob from vendor' pattern than a truly unofficial host. The risk is real but typical for AppImage packaging: if the S3 bucket or the sha256 were compromised, arbitrary code would execute. The sha256 pin mitigates substitution attacks. This is a standard medium-risk pattern for prebuilt binary packaging, not a clear attack.
PKGBUILD
1 offending line(s) highlighted# Maintainer: DuckSoft <realducksoft at gmail dot com>
_name=outline-manager
pkgname=${_name}-appimage
pkgver=1.19.0
pkgrel=1
pkgdesc="Creates and manages Outline servers, powered by Shadowsocks."
arch=('x86_64')
url="https://github.com/Jigsaw-Code/outline-server"
license=('Apache')
makedepends=('git')
options=(!strip)
provides=(${_name})
conficts=(${_name})
# See https://github.com/Jigsaw-Code/outline-releases/blob/master/manager/latest-linux.yml
_app_image="Outline-Manager-v${pkgver}.AppImage"
_build_version=1
source=("${_app_image}::https://s3.amazonaws.com/outline-releases/manager/linux/${pkgver}/${_build_version}/Outline-Manager.AppImage")
sha256sums=(46f6e2c5be6e05f286405c9436c1592b2bed9337a4ad8fe59756cc2ac6a19eda)
#######################################
# To get all available download links #
#######################################
# usage: bash -c '. PKGBUILD; get_version_links'
get_version_links() {
docker run -i --entrypoint=python public.ecr.aws/lambda/python:3.12 <<EOF
from pprint import pprint
from boto3 import client
from botocore import UNSIGNED
from botocore.client import Config
s3c = client('s3',config=Config(signature_version=UNSIGNED))
pprint([o['Key'] for o in s3c.list_objects_v2(Bucket='outline-releases', Prefix='manager/linux')['Contents'] if o['Key'].endswith('.AppImage')])
EOF
}
#######################################
prepare() {
chmod +x ${_app_image}
./${_app_image} --appimage-extract usr/share/icons/hicolor > /dev/null
./${_app_image} --appimage-extract '@outlineserver_manager.desktop' > /dev/null
mv 'squashfs-root/@outlineserver_manager.desktop' "squashfs-root/${_name}.desktop"
sed -i -E "s|Exec=AppRun|Exec=env DESKTOPINTEGRATION=false /usr/bin/${_name}|"\
"squashfs-root/${_name}.desktop"
}
package() {
cd squashfs-root
find "usr/share/icons/hicolor" -type f -exec install -Dm644 "{}" "${pkgdir}/{}" \;
install -Dm644 "${_name}.desktop" "${pkgdir}/usr/share/applications/${_name}.desktop"
cd ${srcdir}
install -Dm755 -t "$pkgdir/opt/${_name}/" "$srcdir/${_app_image}"
mkdir -p "$pkgdir/usr/bin"
ln -sf "/opt/${_name}/${_app_image}" "$pkgdir/usr/bin/${_name}"
}
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 |