medivia
The package downloads a source tarball from the project's official domain for building the client; the host is not whitelisted but is plausibly project-owned, and the payload is not executed remotely or obfuscated.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a source tarball from the project's official domain for building the client; the host is not whitelisted but is plausibly project-owned, and the payload is not executed remotely or obfuscated.
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:13
source=("$pkgname-$pkgver.tar.gz::https://medivia.online/uploads/downloads/medivia-$pkgver-linux-32bits.tar.gz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Igor Deyashkin <igor_deyawka@mail.ru>
pkgname="medivia"
pkgver="2.9.2"
pkgrel=0
pkgdesc="Client for medivia.online mmorpg server."
arch=('i686' 'x86_64')
url="https://medivia.online/download"
# I am not sure what license is used
license=('unknown')
depends_x86_64=('lib32-libglvnd')
depends_i686=('libglvnd')
makedepends=('chrpath')
source=("$pkgname-$pkgver.tar.gz::https://medivia.online/uploads/downloads/medivia-$pkgver-linux-32bits.tar.gz"
"$pkgname.desktop")
# The archive does not containing root folder in it. I unextract it later on build stage into separate subfolder.
noextract=("$pkgname-$pkgver.tar.gz")
# autofill using updpkgsums
md5sums=('a15fe61553e4d26656c393cde0897291'
'2791be26444cdf1b14d8a49736a6bbb9')
prepare() {
mkdir -p "$pkgname-$pkgver"
bsdtar -xzf "$pkgname-$pkgver.tar.gz" -C "$pkgname-$pkgver"
# Rpath of the binary is "RPATH=$ORIGIN:/usr/local/lib:" and I replace it for just "RPATH=$ORIGIN" because we need
# $ORIGIN to search for the libfmod.so.11 included in the package in the executable directory.
# scottmada [explained](https://www.lexaloffle.com/bbs/?pid=29296#p) this:
# > It means the binary looks for lib files in this directory before anywhere else. This is not a huge issue, as
# > ArchLinux do not use this directory normally, but as this directory is meant for system-wide libraries installed
# > by the user, a conflict could occur if the user would install there their own version of glibc (or malicious
# > software there). A simple fix would be to delete the RPATH from the binary using "chrpath" or "patchelf"
# > commands, after the build, but before the release. The /usr/local/lib is insecure and don't
chrpath -r '$ORIGIN' "$pkgname-$pkgver/medivia"
}
package() {
mkdir -p "$pkgdir/opt"
mkdir -p "$pkgdir/usr/bin"
cp -Rv "$srcdir/$pkgname-$pkgver" "$pkgdir/opt/$pkgname"
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
# I am not sure this is a good way
ln -s "/opt/$pkgname/medivia" "$pkgdir/usr/bin/$pkgname"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |