lidarr-plugins

maintainer failedcaptcha · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The yarn install runs during prepare() but uses --frozen-lockfile, ensuring only dependencies from the project's own locked manifest are installed, with no undeclared external package installation possible.

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 yarn install runs during prepare() but uses --frozen-lockfile, ensuring only dependencies from the project's own locked manifest are installed, with no undeclared external package installation possible.

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:83 yarn install --frozen-lockfile --network-timeout 120000

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Daniel Weiland <aur.archlinux@failedcaptcha>
2# Helpful URL: https://services.lidarr.audio/v1/update/plugins?version=0.0.0.0&os=linux&runtime=netcore&arch=x64&includeMajorVersion=true
3
4pkgname=lidarr-plugins
5_pkgname=Lidarr
6pkgver=3.1.1.4876
7pkgrel=1
8pkgdesc='Music collection manager for newsgroup and torrent users (plugins branch)'
9arch=(x86_64 aarch64 armv7h)
10url='https://lidarr.audio'
11license=('GPL-3.0-or-later')
12groups=(servarr-plugins)
13depends=(
14 aspnet-runtime-8.0
15 gcc-libs
16 glibc
17 sqlite
18)
19makedepends=(dotnet-sdk-8.0 yarn)
20optdepends=(
21 'postgresql: postgresql database'
22 'sabnzbd: usenet downloader'
23 'nzbget: usenet downloader'
24 'qbittorrent: torrent downloader'
25 'deluge: torrent downloader'
26 'rtorrent: torrent downloader'
27 'nodejs-flood: torrent downloader'
28 'vuze: torrent downloader'
29 'aria2: torrent downloader'
30 'transmission-cli: torrent downloader (CLI and daemon)'
31 'transmission-gtk: torrent downloader (GTK+)'
32 'transmission-qt: torrent downloader (Qt)'
33 'jackett: torrent indexer proxy'
34 'nzbhydra2: torznab and usenet indexer proxy'
35 'prowlarr: torrent and usenet indexer proxy'
36 'autobrr: irc, torrent and usenet indexer proxy'
37)
38provides=(lidarr)
39conflicts=(lidarr)
40install=lidarr.install
41source=(
42 "${pkgname}-${pkgver}.tar.gz::https://github.com/Lidarr/Lidarr/archive/refs/tags/v${pkgver}.tar.gz"
43 lidarr.service
44 lidarr.sysusers
45 lidarr.tmpfiles
46 package_info
47)
48sha256sums=('6918a5ce2345a5e0f58ee292030a609b51fc49b03fb85d847d50900a85b14567'
49 '48f4cc5040b1a51e624f5be4977078b77bf7f87b9c1fb7fa34e844da4c831401'
50 '85098d47734e8087480f8a29eafec50faa453487221ef01173888155d2b06e42'
51 'd71e37213ac65722e42f6f2c5772d4515c2d28a77b9f7608dc05c787d86ebaa5'
52 '4b3c3960adeabf7415c83d0712af0d42de4b2e2cca53b433b73715a9e26211c9')
53
54case ${CARCH} in
55 x86_64) _CARCH='x64' ;;
56 aarch64) _CARCH='arm64' ;;
57 armv7h) _CARCH='arm' ;;
58esac
59
60_framework='net8.0'
61_runtime="linux-${_CARCH}"
62_output="_output"
63_artifacts="${_output}/${_framework}/${_runtime}/publish"
64_branch='plugins'
65
66prepare() {
67 cd "${_pkgname}-${pkgver}"
68
69 # Remove upstream dotnet version
70 rm global.json
71
72 export DOTNET_CLI_TELEMETRY_OPTOUT=1
73 export DOTNET_NOLOGO=1
74 export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
75 dotnet new globaljson --sdk-version 8.0.112 --force
76
77 # Prepare backend
78 dotnet restore "src/${_pkgname}.sln" \
79 --runtime "${_runtime}" \
80 --locked-mode
81
82 # Prepare frontend
83 yarn install --frozen-lockfile --network-timeout 120000
84}
85
86build() {
87 cd "${_pkgname}-${pkgver}"
88
89 # Build backend
90 export DOTNET_CLI_TELEMETRY_OPTOUT=1
91 export DOTNET_NOLOGO=1
92 export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
93 dotnet build src/${_pkgname}.sln \
94 --framework ${_framework} \
95 --runtime ${_runtime} \
96 --no-self-contained \
97 --no-restore \
98 --configuration Release \
99 -p:Platform=Posix \
100 -p:AssemblyVersion=${pkgver} \
101 -p:AssemblyConfiguration=${_branch} \
102 -p:RuntimeIdentifiers=${_runtime} \
103 -t:PublishAllRids \
104 && dotnet build-server shutdown # Build servers do not terminate automatically
105
106 # Build frontend
107 yarn run build --env production
108}
109
110package() {
111 cd "${_pkgname}-${pkgver}"
112
113 install -dm755 "${pkgdir}/usr/lib/lidarr/bin/UI"
114
115 # Remove Service Helpers, Update, and Windows files
116 rm "${_artifacts}/ServiceInstall"*
117 rm "${_artifacts}/ServiceUninstall"*
118 rm "${_artifacts}/Lidarr.Windows."*
119
120 # Copy backend
121 cp -dr "${_artifacts}/"* "${pkgdir}/usr/lib/lidarr/bin"
122 # Copy frontend
123 cp -dr "${_output}/UI/"* "${pkgdir}/usr/lib/lidarr/bin/UI"
124
125 # License
126 install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"
127
128 # Disable built in updater.
129 cd "${srcdir}"
130 install -Dm644 package_info "${pkgdir}/usr/lib/lidarr"
131 echo "PackageVersion=${pkgver}-${pkgrel}" >> "${pkgdir}/usr/lib/lidarr/package_info"
132
133 # Systemd
134 install -Dm644 lidarr.service "${pkgdir}/usr/lib/systemd/system/lidarr.service"
135 install -Dm644 lidarr.sysusers "${pkgdir}/usr/lib/sysusers.d/lidarr.conf"
136 install -Dm644 lidarr.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/lidarr.conf"
137}
138

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion