mastergo
The package downloads a prebuilt DMG from the official vendor's static domain (static.mastergo.com), which is plausibly part of their release infrastructure; despite the non-whitelisted host, it is repackaging official binaries for Linux, a common and legitimate AUR practice with low risk.
Triggered rules
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 a prebuilt DMG from the official vendor's static domain (static.mastergo.com), which is plausibly part of their release infrastructure; despite the non-whitelisted host, it is repackaging official binaries for Linux, a common and legitimate AUR practice with low risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:24
"MasterGo-${pkgver}-mac-arm64.dmg::https://static.mastergo.com/plugins/desktop/macos-arm/MasterGo-${pkgver}.dmg"
PKGBUILD
1 offending line(s) highlighted# Maintainer: duanluan <duanluan@outlook.com>
pkgname=mastergo
_pkgname=mastergo
pkgver=1.11.7
pkgrel=1
pkgdesc='MasterGo desktop app repackaged from the official macOS release'
arch=('x86_64')
url='https://mastergo.com/resource'
license=('LicenseRef-Proprietary')
depends=(
'electron31'
'hicolor-icon-theme'
'xdg-utils'
)
makedepends=(
'7zip'
'nodejs'
)
provides=("mastergo-desktop-bin=${pkgver}")
conflicts=('mastergo-uos')
options=('!strip' '!lto')
source=(
"MasterGo-${pkgver}-mac-arm64.dmg::https://static.mastergo.com/plugins/desktop/macos-arm/MasterGo-${pkgver}.dmg"
'mastergo.sh'
'mastergo.desktop'
'patch-linux-runtime.mjs'
)
noextract=("MasterGo-${pkgver}-mac-arm64.dmg")
sha256sums=(
'e856ef5f6fd876a089f79f96d545f0a8a9070aeb8c7c2fbf26d0c969c460da01'
'44fd0d776dc07cbe67827f1725447b7dbbd5b736baa649293a8ec5a6a2e000b4'
'63d97f33c9c1f42c921f748c1567d08402618fbfce6f054fc8e4d307455376b0'
'2e8b31a2ce5d52bafc22d01195d62cb8dd72f8d0e7bf23c638583b46cdcd26ec'
)
prepare() {
cd "${srcdir}"
rm -rf dmg app app-update.yml icon.icns
mkdir dmg
7z x -bd -y "MasterGo-${pkgver}-mac-arm64.dmg" -odmg >/dev/null
local appdir
appdir="$(find dmg -maxdepth 4 -type d -name 'MasterGo.app' ! -path '*/__MACOSX/*' -print -quit)"
[[ -n "${appdir}" ]] || {
echo "Could not find MasterGo.app in upstream dmg"
return 1
}
cp -a "${appdir}/Contents/Resources/app" .
cp -a "${appdir}/Contents/Resources/app-update.yml" .
cp -a "${appdir}/Contents/Resources/icon.icns" .
find app \
\( -name '.DS_Store' -o -name '._*' -o -name '*:com.apple.*' \) \
-delete
node "${srcdir}/patch-linux-runtime.mjs" app
}
package() {
cd "${srcdir}"
install -dm755 \
"${pkgdir}/usr/bin" \
"${pkgdir}/usr/lib/${pkgname}/resources" \
"${pkgdir}/usr/share/applications" \
"${pkgdir}/usr/share/doc/${pkgname}" \
"${pkgdir}/usr/share/icons/hicolor/32x32/apps" \
"${pkgdir}/usr/share/icons/hicolor/512x512/apps" \
"${pkgdir}/usr/share/pixmaps"
install -Dm755 "${srcdir}/mastergo.sh" \
"${pkgdir}/usr/bin/mastergo"
cp -a app \
"${pkgdir}/usr/lib/${pkgname}/resources/"
install -Dm644 app-update.yml \
"${pkgdir}/usr/lib/${pkgname}/resources/app-update.yml"
install -Dm644 app/package.json \
"${pkgdir}/usr/share/doc/${pkgname}/package.json"
install -Dm644 "${srcdir}/mastergo.desktop" \
"${pkgdir}/usr/share/applications/mastergo.desktop"
install -Dm644 app/icons/logo.png \
"${pkgdir}/usr/share/icons/hicolor/512x512/apps/mastergo.png"
install -Dm644 app/img/icons/favicon-32x32.png \
"${pkgdir}/usr/share/icons/hicolor/32x32/apps/mastergo.png"
install -Dm644 app/icons/logo.png \
"${pkgdir}/usr/share/pixmaps/mastergo.png"
if [[ -d "${pkgdir}/usr/lib/${pkgname}/resources/app/local-mcp" ]]; then
find "${pkgdir}/usr/lib/${pkgname}/resources/app/local-mcp" \
-type f -name 'mgmcp*' -delete
fi
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-06 00:13:36 | Low | 2 |
| 2026-10-05 00:08:03 | Low | 2 |
| 2026-10-04 00:18:08 | Low | 2 |
| 2026-10-03 00:23:04 | Low | 2 |
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |
| 2026-09-30 00:20:07 | Low | 2 |
| 2026-09-29 00:07:46 | Low | 2 |
| 2026-09-28 00:28:32 | Low | 2 |
| 2026-09-27 00:07:07 | Low | 2 |
| 2026-09-26 00:12:15 | Low | 2 |
| 2026-09-25 00:03:36 | Low | 2 |
| 2026-09-24 00:24:14 | Low | 2 |
| 2026-09-23 00:28:13 | Low | 2 |
| 2026-09-22 00:15:14 | Low | 2 |
| 2026-09-21 00:26:32 | Low | 2 |
| 2026-09-20 00:25:31 | Low | 2 |
| 2026-09-19 00:25:36 | Low | 2 |
| 2026-09-18 00:17:11 | Low | 2 |
| 2026-09-17 00:27:14 | Low | 2 |