medivia

LOW
maintainer Ovsyanka 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
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:13 source=("$pkgname-$pkgver.tar.gz::https://medivia.online/uploads/downloads/medivia-$pkgver-linux-32bits.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Igor Deyashkin <igor_deyawka@mail.ru>
2pkgname="medivia"
3pkgver="2.9.2"
4pkgrel=0
5pkgdesc="Client for medivia.online mmorpg server."
6arch=('i686' 'x86_64')
7url="https://medivia.online/download"
8# I am not sure what license is used
9license=('unknown')
10depends_x86_64=('lib32-libglvnd')
11depends_i686=('libglvnd')
12makedepends=('chrpath')
13source=("$pkgname-$pkgver.tar.gz::https://medivia.online/uploads/downloads/medivia-$pkgver-linux-32bits.tar.gz"
14 "$pkgname.desktop")
15
16# The archive does not containing root folder in it. I unextract it later on build stage into separate subfolder.
17noextract=("$pkgname-$pkgver.tar.gz")
18
19# autofill using updpkgsums
20md5sums=('a15fe61553e4d26656c393cde0897291'
21 '2791be26444cdf1b14d8a49736a6bbb9')
22
23prepare() {
24 mkdir -p "$pkgname-$pkgver"
25 bsdtar -xzf "$pkgname-$pkgver.tar.gz" -C "$pkgname-$pkgver"
26
27 # Rpath of the binary is "RPATH=$ORIGIN:/usr/local/lib:" and I replace it for just "RPATH=$ORIGIN" because we need
28 # $ORIGIN to search for the libfmod.so.11 included in the package in the executable directory.
29
30 # scottmada [explained](https://www.lexaloffle.com/bbs/?pid=29296#p) this:
31 # > It means the binary looks for lib files in this directory before anywhere else. This is not a huge issue, as
32 # > ArchLinux do not use this directory normally, but as this directory is meant for system-wide libraries installed
33 # > by the user, a conflict could occur if the user would install there their own version of glibc (or malicious
34 # > software there). A simple fix would be to delete the RPATH from the binary using "chrpath" or "patchelf"
35 # > commands, after the build, but before the release. The /usr/local/lib is insecure and don't
36
37 chrpath -r '$ORIGIN' "$pkgname-$pkgver/medivia"
38}
39
40package() {
41 mkdir -p "$pkgdir/opt"
42 mkdir -p "$pkgdir/usr/bin"
43
44 cp -Rv "$srcdir/$pkgname-$pkgver" "$pkgdir/opt/$pkgname"
45
46 install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
47
48 # I am not sure this is a good way
49 ln -s "/opt/$pkgname/medivia" "$pkgdir/usr/bin/$pkgname"
50}
51

Scan history

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

Report a package

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

0 / 4000
Your suggestion