bento4

LOW
maintainer Martchus 4 votes scanned 2026-09-17 00:27:14.276658
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-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