mediamonkey

maintainer DocMAX · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt Windows executable installer from the official mediamonkey.com domain and executes it via Wine during the build process. The use of sha256sums=('SKIP') means there is no integrity verification of the downloaded binary, so any compromise or substitution of the file at the source URL would go undetected. Additionally, the installer is run with wine during package() which executes arbitrary Windows code in the build environment. The source host is the official vendor domain, which reduces (but does not eliminate) supply-chain risk. The missing checksum is a genuine concern for a binary that gets executed. This is a legitimate medium-risk pattern: executed prebuilt binary from an official host but with no integrity check. There is also a likely broken aspect: the icon install references '${srcdir}/../mediamonkey.png' which almost certainly does not exist, but this is a minor packaging defect rather than a security issue.

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:10 source=("https://www.mediamonkey.com/MediaMonkey-5_Setup.exe")
MEDIUM AI review 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 Windows executable installer from the official mediamonkey.com domain and executes it via Wine during the build process. The use of sha256sums=('SKIP') means there is no integrity verification of the downloaded binary, so any compromise or substitution of the file at the source URL would go undetected. Additionally, the installer is run with wine during package() which executes arbitrary Windows code in the build environment. The source host is the official vendor domain, which reduces (but does not eliminate) supply-chain risk. The missing checksum is a genuine concern for a binary that gets executed. This is a legitimate medium-risk pattern: executed prebuilt binary from an official host but with no integrity check. There is also a likely broken aspect: the icon install references '${srcdir}/../mediamonkey.png' which almost certainly does not exist, but this is a minor packaging defect rather than a security issue.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Your Name <your.email@example.com>
2pkgname=mediamonkey
3pkgver=5.0.5.2695
4pkgrel=1
5pkgdesc="MediaMonkey is a music manager and media jukebox for serious music collectors and iPod users."
6arch=('x86_64')
7url="https://www.mediamonkey.com/"
8license=('proprietary')
9depends=('wine' 'winetricks')
10source=("https://www.mediamonkey.com/MediaMonkey-5_Setup.exe")
11sha256sums=('SKIP') # Update with the actual sha256sum of the downloaded installer
12
13prepare() {
14 # Create a directory for Wine's prefix
15 WINEPREFIX="${srcdir}/wineprefix"
16 mkdir -p "$WINEPREFIX"
17 export WINEPREFIX
18
19 # Install necessary dependencies in the Wine prefix
20 winetricks -q dotnet48
21}
22
23package() {
24 cd "$srcdir"
25
26 # Set up Wine environment variables
27 WINEPREFIX="${srcdir}/wineprefix"
28 export WINEPREFIX
29
30 # Install MediaMonkey
31 wine "MediaMonkey-5_Setup.exe" /silent /dir="${pkgdir}/opt/mediamonkey"
32
33 # Create a launcher script
34 install -Dm755 /dev/stdin "${pkgdir}/usr/bin/mediamonkey" << EOF
35#!/bin/bash
36WINEPREFIX="\$HOME/.local/share/wineprefixes/mediamonkey"
37[ ! -e "\$WINEPREFIX" ] && mkdir -p "\$WINEPREFIX"
38wine "/opt/mediamonkey/MediaMonkey.exe" "\$@"
39EOF
40
41 # Install desktop entry
42 install -Dm644 /dev/stdin "${pkgdir}/usr/share/applications/mediamonkey.desktop" << EOF
43[Desktop Entry]
44Name=MediaMonkey
45Comment=MediaMonkey Music Manager
46Exec=mediamonkey
47Icon=mediamonkey
48Terminal=false
49Type=Application
50Categories=AudioVideo;Player;Audio;
51EOF
52
53 # Install icon (assuming you have an icon file, otherwise skip this part)
54 install -Dm644 "${srcdir}/../mediamonkey.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/mediamonkey.png"
55}
56
57# vim:set ts=2 sw=2 et:
58

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