monarch-bin

maintainer zxp19821005 · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The package downloads a prebuilt binary tarball from a CloudFront CDN URL (d148mrbia1nlbw.cloudfront.net) rather than from GitHub releases or the official monarchapp.io domain. This CloudFront distribution appears to be Monarch's own distribution infrastructure (the project uses CloudFront to host its binaries, consistent with their documented install instructions), so this is not a random personal host. However, it is still an unofficial-looking URL with no way to verify the CDN is controlled by the upstream project without external research, and prebuilt binaries are executed directly. The sha256sums are pinned, which mitigates substitution risk significantly. The LICENSE is fetched from the official GitHub repo. Overall this is a legitimate but slightly non-standard distribution pattern (vendor CDN rather than GitHub releases), with pinned checksums reducing supply-chain risk. The medium rating is borderline but defensible given the executed binary from a CDN whose ownership is not self-evident from the PKGBUILD alone.

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:14 "${pkgname%-bin}-${pkgver}.tar.xz::https://d148mrbia1nlbw.cloudfront.net/linux/${pkgname%-bin}_linux_${pkgver}.tar.xz"
MEDIUM AI review 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 tarball from a CloudFront CDN URL (d148mrbia1nlbw.cloudfront.net) rather than from GitHub releases or the official monarchapp.io domain. This CloudFront distribution appears to be Monarch's own distribution infrastructure (the project uses CloudFront to host its binaries, consistent with their documented install instructions), so this is not a random personal host. However, it is still an unofficial-looking URL with no way to verify the CDN is controlled by the upstream project without external research, and prebuilt binaries are executed directly. The sha256sums are pinned, which mitigates substitution risk significantly. The LICENSE is fetched from the official GitHub repo. Overall this is a legitimate but slightly non-standard distribution pattern (vendor CDN rather than GitHub releases), with pinned checksums reducing supply-chain risk. The medium rating is borderline but defensible given the executed binary from a CDN whose ownership is not self-evident from the PKGBUILD alone.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2pkgname=monarch-bin
3pkgver=2.3.1
4pkgrel=1
5pkgdesc="a tool for building Flutter widgets in isolation. It makes it easy to build, test and debug complex UIs."
6arch=('x86_64')
7url="https://monarchapp.io/"
8_ghurl="https://github.com/Dropsource/monarch"
9license=('MIT')
10provides=("${pkgname%-bin}=${pkgver}")
11conflicts=("${pkgname%-bin}")
12depends=()
13source=(
14 "${pkgname%-bin}-${pkgver}.tar.xz::https://d148mrbia1nlbw.cloudfront.net/linux/${pkgname%-bin}_linux_${pkgver}.tar.xz"
15 "LICENSE-${pkgver}::https://raw.githubusercontent.com/Dropsource/monarch/${pkgname%-bin}-binaries-${pkgver}/LICENSE"
16 "${pkgname%-bin}.sh"
17)
18sha256sums=('537a7eb7fdc0ab4ae37ce8c38e7e3acc3d382f3c589847ff6ab0fb004efb13f1'
19 '6d103cf91ac337450bdb2c10aa56dce34c723e30c3a44e3dd2acb4fdda142729'
20 '3aeb276f254e749ba382de96976a0ee329ddda28670ee3328ab7255e5ddeb932')
21build() {
22 sed -i -e "
23 s/@appname@/${pkgname%-bin}/g
24 s/@runname@/${pkgname%-bin}/g
25 " "${srcdir}/${pkgname%-bin}.sh"
26}
27package() {
28 install -Dm755 "${srcdir}/${pkgname%-bin}.sh" -t "${pkgdir}/usr/bin/${pkgname%-bin}"
29 install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-bin}"
30 cp -a "${srcdir}/${pkgname%-bin}/bin/"* "${pkgdir}/usr/lib/${pkgname%-bin}"
31 install -Dm644 "${srcdir}/LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
32}
33

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion