radarr
maintainer txtsd
· 7 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The yarn install is part of the project's own build process from its official source, not an undeclared external package install, and poses no supply-chain risk.
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 95%): The yarn install is part of the project's own build process from its official source, not an undeclared external package install, and poses no supply-chain risk.
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:86
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
# Contributor: Devin Buhl <devin.kray@gmail.com>
4
# Helpful URL: https://radarr.servarr.com/v1/update/master?version=0.0.0.0&os=linux&runtime=netcore&arch=x64&includeMajorVersion=true
5
6
pkgname=radarr
7
_pkgname=Radarr
8
pkgver=6.3.0.10514
9
pkgrel=1
10
pkgdesc='Movie organizer/manager for usenet and torrent users'
11
arch=(x86_64 aarch64 armv7h)
12
url='https://radarr.video'
13
license=('GPL-3.0-or-later')
14
groups=(servarr)
15
depends=(
16
aspnet-runtime-8.0
17
gcc-libs
18
glibc
19
sqlite
20
)
21
makedepends=(dotnet-sdk-8.0 yarn)
22
optdepends=(
23
'postgresql: postgresql database'
24
'sabnzbd: usenet downloader'
25
'nzbget: usenet downloader'
26
'qbittorrent: torrent downloader'
27
'deluge: torrent downloader'
28
'rtorrent: torrent downloader'
29
'nodejs-flood: torrent downloader'
30
'vuze: torrent downloader'
31
'aria2: torrent downloader'
32
'transmission-cli: torrent downloader (CLI and daemon)'
33
'transmission-gtk: torrent downloader (GTK+)'
34
'transmission-qt: torrent downloader (Qt)'
35
'jackett: torrent indexer proxy'
36
'nzbhydra2: torznab and usenet indexer proxy'
37
'prowlarr: torrent and usenet indexer proxy'
38
'autobrr: irc, torrent and usenet indexer proxy'
39
)
40
install=radarr.install
41
source=(
42
"${pkgname}-${pkgver}.tar.gz::https://github.com/Radarr/Radarr/archive/refs/tags/v${pkgver}.tar.gz"
43
package_info
44
radarr.service
45
radarr.sysusers
46
radarr.tmpfiles
47
)
48
sha256sums=('cb5f3c7c8aa41112bc4ab9fa8d92c7f2ed1f30942545b2275792d853d66e0eba'
49
'1868e8df575bfda008cc82f92440c2a0465de28b7a032bf46fc2745d760b3fba'
50
'25637c6496aa59673aada6acc6cf41025a5f12a844025ee41d8a6cc66b84b5c0'
51
'bb73e0c55711d7ddbf74140b3beb39cb8674ae92be8387c3dd8109bcd53faca8'
52
'c68efcb3778cb497d7c256dc97df7413ce09f07ea341e4d2683e7fee321cbcbb')
53
54
case ${CARCH} in
55
x86_64) _CARCH='x64' ;;
56
aarch64) _CARCH='arm64' ;;
57
armv7h) _CARCH='arm' ;;
58
esac
59
60
_framework='net8.0'
61
_runtime="linux-${_CARCH}"
62
_output='_output'
63
_artifacts="${_output}/${_framework}/${_runtime}/publish"
64
_branch='master'
65
66
prepare() {
67
cd "${_pkgname}-${pkgver}"
68
69
# Fix CVE-2026-41319
70
sed 's/MailKit" Version="4\.15\.1"/MailKit" Version="4\.16\.0"/' -i src/NzbDrone.Core/Radarr.Core.csproj
71
72
# Remove upstream dotnet version
73
rm global.json
74
75
export DOTNET_CLI_TELEMETRY_OPTOUT=1
76
export DOTNET_NOLOGO=1
77
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
78
dotnet new globaljson --sdk-version 8.0.127 --roll-forward latestFeature
79
80
# Prepare backend
81
dotnet restore "src/${_pkgname}.sln" \
82
--runtime "${_runtime}" \
83
--locked-mode
84
85
# Prepare frontend
86
yarn install --frozen-lockfile --network-timeout 120000
87
}
88
89
build() {
90
cd "${_pkgname}-${pkgver}"
91
92
# Build backend
93
export DOTNET_CLI_TELEMETRY_OPTOUT=1
94
export DOTNET_NOLOGO=1
95
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
96
dotnet build "src/${_pkgname}.sln" \
97
--framework "${_framework}" \
98
--runtime "${_runtime}" \
99
--no-self-contained \
100
--no-restore \
101
--configuration Release \
102
-p:Platform=Posix \
103
-p:AssemblyVersion=${pkgver} \
104
-p:AssemblyConfiguration=${_branch} \
105
-p:RuntimeIdentifiers="${_runtime}" \
106
-t:PublishAllRids \
107
&& dotnet build-server shutdown # Build servers do not terminate automatically
108
109
# Build frontend
110
yarn run build --env production
111
}
112
113
package() {
114
cd "${_pkgname}-${pkgver}"
115
116
install -dm755 "${pkgdir}/usr/lib/radarr/bin/UI"
117
118
# Remove Service Helpers, Update, and Windows files
119
rm "${_artifacts}/ServiceInstall"*
120
rm "${_artifacts}/ServiceUninstall"*
121
rm "${_artifacts}/Radarr.Windows."*
122
rm -rf "${_output}/Radarr.Update"
123
124
# Copy backend
125
cp -dr "${_artifacts}/"* "${pkgdir}/usr/lib/radarr/bin"
126
# Copy frontend
127
cp -dr "${_output}/UI/"* "${pkgdir}/usr/lib/radarr/bin/UI"
128
129
# Set executable permissions
130
chmod 755 "${pkgdir}/usr/lib/radarr/bin/ffprobe"
131
132
# License
133
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
134
135
# Disable built in updater.
136
cd "${srcdir}"
137
install -Dm644 package_info "${pkgdir}/usr/lib/radarr"
138
echo "PackageVersion=${pkgver}-${pkgrel}" >> "${pkgdir}/usr/lib/radarr/package_info"
139
140
# Systemd
141
install -Dm644 radarr.service "${pkgdir}/usr/lib/systemd/system/radarr.service"
142
install -Dm644 radarr.sysusers "${pkgdir}/usr/lib/sysusers.d/radarr.conf"
143
install -Dm644 radarr.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/radarr.conf"
144
}
145
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |