aacgain-cvs
The package downloads source code from archived or standard developer hosts (Google Code archive, SourceForge, GitHub) to build a legitimate audio utility; no remote code execution or malicious payload is present, and the software is compiled from its own declared sources.
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 source code from archived or standard developer hosts (Google Code archive, SourceForge, GitHub) to build a legitimate audio utility; no remote code execution or malicious payload is present, and the software is compiled from its own declared sources.
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:15
source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mp4v2/mp4v2-1.9.1.tar.bz2
PKGBUILD
1 offending line(s) highlighted# Maintainer: Evilandi666 <evilandi.aur(at)googlemail.com>
# Contributor: Chase <sky[no_spam]<AT>[no_spam]skystrife<DOT>com>
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'armv8h' 'armv6l' 'armv7l' 'armv8l')
pkgname=aacgain-cvs
pkgver=20130814
pkgrel=7
conflicts=('aacgain')
provides=('aacgain')
makedepends=('git')
depends=('gcc-libs')
pkgdesc="Adjusts the volume of music files (mp4/m4a/QT/mp3) using ReplayGain algorithm."
url="http://altosdesign.com/aacgain"
license=('GPL')
source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mp4v2/mp4v2-1.9.1.tar.bz2
http://downloads.sourceforge.net/sourceforge/faac/faad2-2.7.tar.bz2
git+https://github.com/elfchief/mp3gain
git+https://aur.archlinux.org/aacgain-cvs.git)
sha256sums=('5c381caeab2326fc48cfda0fe202bdb8ba0ae624d9c97ad7680a2b07e2c2e3b4'
'14561b5d6bc457e825bfd3921ae50a6648f377a9396eaf16d4b057b39a3f63b5'
'SKIP'
'SKIP')
build() {
msg "Starting builds..."
cd $srcdir
rm -rf mp4v2 faad2
mv mp4v2-1.9.1 mp4v2
mv faad2-2.7 faad2
mv mp3gain mp3gain-tree
mv mp3gain-tree/aacgain ./
mv mp3gain-tree/mp3gain ./
cd aacgain
msg "Building mp4v2..."
patch -d ../ -p1 <mp4v2.patch
cd ../mp4v2
patch -p0 <$srcdir/aacgain-cvs/fix_missing_ptr_deref.patch
sed -i 's/CXXFLAGS = .*/& -Wno-narrowing/' GNUmakefile.in
sed -i 's/CXXFLAGS = .*/& -Wno-format-security/' GNUmakefile.in
./configure
make libmp4v2.la
msg "Building faad2..."
cd ../faad2
./configure
cd libfaad
make
msg "Building aacgain..."
cd ../../aacgain/linux
sed "s/patch -p0 -N <mp3gain.patch/patch -d ..\/..\/ -p2 -N <mp3gain.patch/" -i prepare.sh
chmod +x prepare.sh
./prepare.sh
rm -rf build
mkdir build
cd build
../../../configure --prefix=/usr
make || return 1
}
package() {
cd "${srcdir}/aacgain/linux/build/"
make prefix="$pkgdir/usr" install aacgain || return 1
}
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 |