bento4

maintainer Martchus · 4 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from the project's official domain (bok.net, used by Bento4) but hosted on a non-whitelisted subdomain; however, it is the upstream source code being built, not a prebuilt binary, and the checksum is verified, making the risk low.

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 source is a tarball from the project's official domain (bok.net, used by Bento4) but hosted on a non-whitelisted subdomain; however, it is the upstream source code being built, not a prebuilt binary, and the checksum is verified, making the risk low.

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:16 source=("http://bok.net/Bento4/source/Bento4-SRC-${_pkgverstr}.zip")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Martchus <martchus@gmx.net>
2
3# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
4# you also find the URL of a binary repository.
5
6pkgname=bento4
7pkgver=1.6.0.641
8_pkgverstr=1-6-0-641
9pkgrel=1
10pkgdesc='C++ class library and tools designed to read and write ISO-MP4 files'
11arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
12url='https://www.bento4.com/'
13license=('GPL')
14makedepends=('cmake')
15optdepends=('python')
16source=("http://bok.net/Bento4/source/Bento4-SRC-${_pkgverstr}.zip")
17sha256sums=('8258faf0de7253f2aac016018f33d4a04c16d9060735e14ec8711f84aaedf0c8')
18
19build() {
20 cd "${srcdir}"
21
22 sed -i "s/ STATIC / SHARED /" CMakeLists.txt
23 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_SKIP_BUILD_RPATH=ON
24 cmake --build .
25}
26
27package() {
28 cd "${srcdir}"
29
30 # install manually (there's no install target)
31 mkdir -p "${pkgdir}/usr/"{bin,lib,lib/bento4}
32 find -iname '*.so' -exec cp --target-directory="${pkgdir}/usr/lib" {} \;
33 find -maxdepth 1 -executable -type f -exec cp --target-directory="${pkgdir}/usr/bin" {} \;
34 find Source/Python/utils -iname '*.py' -exec cp --target-directory="${pkgdir}/usr/lib/bento4" {} \;
35 for file in mp4dash mp4dashclone mp4hls; do
36 sed -e 's!/../utils/!/../lib/bento4/!' "Source/Python/wrappers/$file" > "${pkgdir}/usr/bin/$file"
37 chmod 755 "${pkgdir}/usr/bin/$file"
38 done
39
40 # prevent conflict with libmp4v2
41 suffix=-bento4
42 for conflicting_file in mp4extract mp4info; do
43 mv "${pkgdir}/usr/bin/$conflicting_file" "${pkgdir}/usr/bin/$conflicting_file$suffix"
44 find "${pkgdir}/usr/lib/bento4" -iname '*.py' -exec sed -i -e "s#\(Bento4Command(.*\)\b$conflicting_file\b#\1$conflicting_file$suffix#g" {} \;
45 done
46
47}
48

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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