whisparr-eros

LOW
maintainer txtsd 2 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The flagged 'yarn install' is part of building the project's own frontend from its official GitHub source, using a locked lockfile; this is normal for AUR packages and does not execute untrusted external code.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 90%): The flagged 'yarn install' is part of building the project's own frontend from its official GitHub source, using a locked lockfile; this is normal for AUR packages and does not execute untrusted external code.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium npm/yarn/pnpm install of an undeclared external package npm_install_external

Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.

  • PKGBUILD:94 yarn install --frozen-lockfile --network-timeout 120000

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: txtsd <aur.archlinux@ihavea.quest>
2# Maintainer: Donald Webster <fryfrog@gmail.com>
3
4pkgname=whisparr-eros
5_pkgname=Whisparr
6__pkgname=Whisparr-Eros
7pkgver=3.6.5.1886
8_pkgver=${pkgver%.*}-release.${pkgver##*.}
9pkgrel=1
10pkgdesc='Adult movie organizer/manager for usenet and torrent users'
11arch=(x86_64 aarch64 armv7h)
12url='https://whisparr.com'
13license=('GPL-3.0-or-later')
14groups=(servarr)
15depends=(
16 aspnet-runtime-10.0
17 gcc-libs
18 glibc
19 sqlite
20 zlib
21)
22makedepends=(dotnet-sdk-10.0 yarn aspnet-targeting-pack-10.0)
23optdepends=(
24 'postgresql: postgresql database'
25 'sabnzbd: usenet downloader'
26 'nzbget: usenet downloader'
27 'qbittorrent: torrent downloader'
28 'deluge: torrent downloader'
29 'rtorrent: torrent downloader'
30 'nodejs-flood: torrent downloader'
31 'vuze: torrent downloader'
32 'aria2: torrent downloader'
33 'transmission-cli: torrent downloader (CLI and daemon)'
34 'transmission-gtk: torrent downloader (GTK+)'
35 'transmission-qt: torrent downloader (Qt)'
36 'jackett: torrent indexer proxy'
37 'nzbhydra2: torznab and usenet indexer proxy'
38 'prowlarr: torrent and usenet indexer proxy'
39 'autobrr: irc, torrent and usenet indexer proxy'
40)
41install=whisparr-eros.install
42source=(
43 "${pkgname}-${pkgver}.tar.gz::https://github.com/Whisparr/Whisparr-Eros/archive/refs/tags/v${_pkgver}.tar.gz"
44 package_info
45 whisparr-eros.service
46 whisparr-eros.sysusers
47 whisparr-eros.tmpfiles
48)
49sha256sums=('e1cf4bae0e4face13d04107c529323486c4a55875cd0b95c1aa717ea3708a498'
50 '928ba49a81e3eeec4385ecf7f23040ad16758bacd4e3abd41d552595e8876cc8'
51 '3964160cb383c88c8d335da2ca37cf800a282b32f68b4093595694f4ac8fe99c'
52 '050f751d01333298bccfa84dbe11550031075f595009c15d37b089eaf453b19c'
53 '98be10c54d9c371e985af5b347a8991942e3d92a67010787f4b5ef8987b1f64a')
54
55case ${CARCH} in
56 x86_64) _CARCH='x64' ;;
57 aarch64) _CARCH='arm64' ;;
58 armv7h) _CARCH='arm' ;;
59esac
60
61_framework='net10.0'
62_runtime="linux-${_CARCH}"
63_output='_output'
64_artifacts="${_output}/${_framework}/${_runtime}/publish"
65_branch='eros'
66
67prepare() {
68 cd "${__pkgname}-${_pkgver}"
69
70 # Fix CVE-2026-41319
71 sed 's/OpenApi" Version="2\.4\.1"/OpenApi" Version="2\.7\.5"/' -i src/**/*.csproj
72
73 # Remove upstream dotnet version
74 rm global.json
75
76 export DOTNET_CLI_TELEMETRY_OPTOUT=1
77 export DOTNET_NOLOGO=1
78 export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
79 # Uncomment after dotnet-sdk reaches 10.0.101
80 dotnet new globaljson --sdk-version 10.0.101 --roll-forward latestFeature
81
82 # Patch vulnerabilities
83 if ! grep -q -i 'System.Security.Cryptography.Pkcs' src/NzbDrone.Core/Whisparr.Core.csproj; then
84 dotnet package add System.Security.Cryptography.Pkcs --version 10.0.13 --project src/NzbDrone.Core/Whisparr.Core.csproj
85 dotnet package add Microsoft.AspNetCore.SignalR.Common --version 10.0.13 --project src/NzbDrone.Core/Whisparr.Core.csproj
86 fi
87
88 # Prepare backend
89 dotnet restore "src/${_pkgname}.sln" \
90 --runtime "${_runtime}" \
91 --locked-mode
92
93 # Prepare frontend
94 yarn install --frozen-lockfile --network-timeout 120000
95}
96
97build() {
98 cd "${__pkgname}-${_pkgver}"
99
100 # Build backend
101 export DOTNET_CLI_TELEMETRY_OPTOUT=1
102 export DOTNET_NOLOGO=1
103 export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
104 dotnet build "src/${_pkgname}.sln" \
105 --framework "${_framework}" \
106 --runtime "${_runtime}" \
107 --no-self-contained \
108 --no-restore \
109 --configuration Release \
110 -p:Platform=Posix \
111 -p:AssemblyVersion=${pkgver} \
112 -p:AssemblyFileVersion=${pkgver} \
113 -p:AssemblyInformationalVersion=${_pkgver} \
114 -p:AssemblyConfiguration=${_branch} \
115 -p:RuntimeIdentifiers="${_runtime}" \
116 -t:PublishAllRids \
117 && dotnet build-server shutdown # Build servers do not terminate automatically
118
119 # Build frontend
120 yarn run build
121}
122
123package() {
124 cd "${__pkgname}-${_pkgver}"
125
126 install -dm755 "${pkgdir}/usr/lib/whisparr-eros/bin/UI"
127
128 # Remove Service Helpers, Update, and Windows files
129 rm "${_artifacts}/ServiceInstall"*
130 rm "${_artifacts}/ServiceUninstall"*
131 rm "${_artifacts}/Whisparr.Windows."*
132 rm -rf "${_output}/Whisparr.Update"
133
134 # Copy backend
135 cp -dr "${_artifacts}/"* "${pkgdir}/usr/lib/whisparr-eros/bin"
136 # Copy frontend
137 cp -dr "${_output}/UI/"* "${pkgdir}/usr/lib/whisparr-eros/bin/UI"
138
139 # Set executable permissions
140 chmod 755 "${pkgdir}/usr/lib/whisparr-eros/bin/ffprobe"
141
142 # License
143 install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"
144
145 # Disable built in updater.
146 cd "${srcdir}"
147 install -Dm644 package_info "${pkgdir}/usr/lib/whisparr-eros"
148 echo "PackageVersion=${pkgver}-${pkgrel}" >> "${pkgdir}/usr/lib/whisparr-eros/package_info"
149
150 # Systemd
151 install -Dm644 whisparr-eros.service "${pkgdir}/usr/lib/systemd/system/whisparr-eros.service"
152 install -Dm644 whisparr-eros.sysusers "${pkgdir}/usr/lib/sysusers.d/whisparr-eros.conf"
153 install -Dm644 whisparr-eros.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/whisparr-eros.conf"
154}
155

Changes since previous scan

--- PKGBUILD @ 2026-10-26 00:12
+++ PKGBUILD @ 2026-11-01 00:21
@@ -4,7 +4,7 @@
pkgname=whisparr-eros
_pkgname=Whisparr
__pkgname=Whisparr-Eros
-pkgver=3.6.2.1727
+pkgver=3.6.5.1886
_pkgver=${pkgver%.*}-release.${pkgver##*.}
pkgrel=1
pkgdesc='Adult movie organizer/manager for usenet and torrent users'
@@ -46,7 +46,7 @@
whisparr-eros.sysusers
whisparr-eros.tmpfiles
)
-sha256sums=('c890159b3ee6c2d212f89b6238a010c25701e3acfcb20bc0b4114c94a5ea1f04'
+sha256sums=('e1cf4bae0e4face13d04107c529323486c4a55875cd0b95c1aa717ea3708a498'
'928ba49a81e3eeec4385ecf7f23040ad16758bacd4e3abd41d552595e8876cc8'
'3964160cb383c88c8d335da2ca37cf800a282b32f68b4093595694f4ac8fe99c'
'050f751d01333298bccfa84dbe11550031075f595009c15d37b089eaf453b19c'
@@ -78,6 +78,12 @@
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
# Uncomment after dotnet-sdk reaches 10.0.101
dotnet new globaljson --sdk-version 10.0.101 --roll-forward latestFeature
+
+ # Patch vulnerabilities
+ if ! grep -q -i 'System.Security.Cryptography.Pkcs' src/NzbDrone.Core/Whisparr.Core.csproj; then
+ dotnet package add System.Security.Cryptography.Pkcs --version 10.0.13 --project src/NzbDrone.Core/Whisparr.Core.csproj
+ dotnet package add Microsoft.AspNetCore.SignalR.Common --version 10.0.13 --project src/NzbDrone.Core/Whisparr.Core.csproj
+ fi
# Prepare backend
dotnet restore "src/${_pkgname}.sln" \
@@ -111,7 +117,7 @@
&& dotnet build-server shutdown # Build servers do not terminate automatically
# Build frontend
- yarn run build --env production
+ yarn run build
}
package() {

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 09:44:33 Medium 1
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 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