exact-audio-copy

MEDIUM
maintainer HMK 2 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

Two concerns: (1) The main EAC installer is downloaded from the official vendor domain (exactaudiocopy.de), which is legitimate. The sha512sum is present and pins the file, mitigating supply-chain risk for that component. (2) However, a cygwin1.dll is fetched at build time from web.archive.org (a Wayback Machine snapshot of a cygwin.com snapshot) using curl without any integrity check — no checksum, no verification. This DLL is then placed into the CDRDAO directory and ultimately installed into /opt/exact-audio-copy. A DLL executed under Wine from an unverified source with no integrity check is a genuine supply-chain concern: if the archive.org snapshot URL is ever altered or the snapshot tampered with, a malicious DLL could be silently substituted. This is a real medium-severity issue: an executed binary (Windows DLL run via Wine) pulled from a non-primary host with no integrity verification.

Triggered rules

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:8 source=('eac.exe::https://www.exactaudiocopy.de/eac-1.8.exe')
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): Two concerns: (1) The main EAC installer is downloaded from the official vendor domain (exactaudiocopy.de), which is legitimate. The sha512sum is present and pins the file, mitigating supply-chain risk for that component. (2) However, a cygwin1.dll is fetched at build time from web.archive.org (a Wayback Machine snapshot of a cygwin.com snapshot) using curl without any integrity check — no checksum, no verification. This DLL is then placed into the CDRDAO directory and ultimately installed into /opt/exact-audio-copy. A DLL executed under Wine from an unverified source with no integrity check is a genuine supply-chain concern: if the archive.org snapshot URL is ever altered or the snapshot tampered with, a malicious DLL could be silently substituted. This is a real medium-severity issue: an executed binary (Windows DLL run via Wine) pulled from a non-primary host with no integrity verification.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Herbert Knapp Name <herbert.knapp edu.uni-graz.at>
2pkgname=exact-audio-copy
3pkgver=1.8
4pkgrel=3
5pkgdesc='A precise CD audio grabber for creating perfect quality rips using CD and DVD drives'
6arch=('any')
7url='https://www.exactaudiocopy.de/en/'
8source=('eac.exe::https://www.exactaudiocopy.de/eac-1.8.exe')
9sha512sums=('89822966d57f5f89d40cb8b4bf5c1e1e169983d5b4dfdfa4559dd2b69a49dc6234e3e336452ec9220530e5ed228f656a58c346950cd2ce84d8edc200e38bad4b')
10license=('unknown')
11depends=('wine')
12makedepends=('imagemagick' 'p7zip')
13
14prepare() {
15 _tmp=$(mktemp -d)
16 cd ${_tmp}
17 mkdir eac "$srcdir/eac/"
18 cd eac
19 7z x -aoa "$srcdir/eac.exe"
20 chmod -R 755 .
21 CYG_LATEST='https://web.archive.org/web/20240925225100if_/https://cygwin.com/snapshots/x86/cygwin1-20220301.dll.xz'
22 curl -s ${CYG_LATEST} > cygwin1.dll.xz
23 xz --decompress cygwin1.dll.xz
24 mv cygwin1.dll CDRDAO/
25 cp -r * "$srcdir/eac/"
26 7z x EAC.exe
27 convert .rsrc/1033/ICON/29.ico -thumbnail 128x128 -alpha on -background none -flatten "$srcdir/eac/eac.ico.128.png"
28 rm -r ${_tmp}
29}
30
31package() {
32 mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/share/applications" "$pkgdir/opt"
33 mv "$srcdir/eac" "$pkgdir/opt/exact-audio-copy"
34
35 _launcher="$pkgdir/usr/bin/eac"
36 {
37 echo '#!/bin/sh'
38 echo 'mkdir -p ~/.exact-audio-copy'
39 echo '[[ -d ~/.exact-audio-copy/eac ]] || cp -r /opt/exact-audio-copy ~/.exact-audio-copy/eac'
40 echo 'cd ~/.exact-audio-copy/eac'
41 echo 'if [[ ! -f ~/.exact-audio-copy/dotnet48_installed ]]; then date > ~/.exact-audio-copy/dotnet48_installed && WINEDLLOVERRIDES="mscoree=" WINEDEBUG=-all WINEPREFIX=~/.exact-audio-copy winetricks -q dotnet48 & fi'
42 echo 'WINEDLLOVERRIDES="mscoree=" WINEDEBUG=-all WINEPREFIX=~/.exact-audio-copy wine EAC.exe; wait'
43 } > "${_launcher}"
44 chmod +x "${_launcher}"
45 ln -s "/usr/bin/eac" "$pkgdir/usr/bin/exact-audio-copy"
46
47 _desktop="${pkgdir}/usr/share/applications/eac.desktop"
48 {
49 echo '[Desktop Entry]'
50 echo 'Type=Application'
51 echo "Name=Exact Audio Copy ${pkgver}"
52 echo "Comment=${pkgdesc}"
53 echo 'Path=/opt/exact-audio-copy'
54 echo 'Exec=/usr/bin/eac'
55 echo 'Icon=/opt/exact-audio-copy/eac.ico.128.png'
56 echo 'Terminal=false'
57 echo 'Categories=AudioVideo;Audio;'
58 } > ${_desktop}
59}
60
61

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 Medium 2

Report a package

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

0 / 4000
Your suggestion