AUR AI Reviewer

Review Results

Version #3188 of sonarr-bin · commit ba3dd1e5be90 · status Reviewed

Risk 0/5 · Safe .SRCINFO
Result #6734

Comment

The change removes sonarr.install from the package metadata and drops its checksum, so the package will no longer ship or execute any post-install/post-upgrade logic from that file. That reduces attack surface rather than adding it. The remaining sources are unchanged and still use HTTPS with pinned release tarballs. No new suspicious execution, persistence, or integrity issues are introduced by this .SRCINFO-only edit.

@@ -36,12 +36,10 @@ pkgbase = sonarr-bin
 	source = sonarr.service
 	source = sonarr.sysusers
 	source = sonarr.tmpfiles
-	source = sonarr.install
 	sha256sums = ea2073b568f98dc9d7a91ce11f279d2d8b5a5bb8bad01136a05cb7907e00bd47
 	sha256sums = a5fc162aeafb2c6322176db736a503047a39f2740eea4dead05438ed47187fbd
 	sha256sums = 00141d4cbf34daa6d91b26179d4847ec970e2767382e18fdf9af2ec84a0ff43e
 	sha256sums = d6b18a83dd9c213470d984f71ddcefcd64d12bb87f68225cc4ebf5fa4a831703
-	sha256sums = 3d912d367eeb89ead06dc9dc45de093f48ddc601188731d54775c33e04e369aa
 	source_x86_64 = Sonarr.main.4.0.20.3014.linux-x64.tar.gz::https://services.sonarr.tv/v1/update/main/download?version=4.0.20.3014&os=linux&runtime=netcore&arch=x64
 	sha256sums_x86_64 = 1fc48544b5a3401b2fc3df8d0642c1e6a73a28e41a351169edd9cd8f54770db5
 	source_aarch64 = Sonarr.main.4.0.20.3014.linux-arm64.tar.gz::https://services.sonarr.tv/v1/update/main/download?version=4.0.20.3014&os=linux&runtime=netcore&arch=arm64
Risk 0/5 · Safe PKGBUILD
Result #6735

Comment

The change only removes the package's .install script from PKGBUILD and drops its checksum entry. The removed install script contained only informational post_install/post_upgrade messages and no network access, privilege changes, service enabling, or other persistence behavior. No new code is introduced, and the remaining package sources are still pinned and checksummed. This is a low-risk packaging metadata change.

@@ -45,7 +45,6 @@ source=(
   sonarr.service
   sonarr.sysusers
   sonarr.tmpfiles
-  sonarr.install
 )
 source_x86_64=("Sonarr.main.${pkgver}.linux-x64.tar.gz::https://services.sonarr.tv/v1/update/main/download?version=${pkgver}&os=linux&runtime=netcore&arch=x64")
 source_aarch64=("Sonarr.main.${pkgver}.linux-arm64.tar.gz::https://services.sonarr.tv/v1/update/main/download?version=${pkgver}&os=linux&runtime=netcore&arch=arm64")
Risk 0/5 · Safe PKGBUILD
Result #6736

Comment

The change removes the package's .install script from the package metadata and drops one checksum entry from PKGBUILD. I found no evidence of malicious behavior in the remaining build logic: sources are still HTTPS from the official Sonarr service, no new network fetches or command execution were introduced, and the package() function still only stages files under $pkgdir. The removed .install script was benign informational output only, so its omission is not a security concern. Overall this looks like a packaging cleanup with no meaningful security impact.

@@ -53,8 +52,7 @@ source_armv7h=("Sonarr.main.${pkgver}.linux-arm.tar.gz::https://services.sonarr.
 sha256sums=('ea2073b568f98dc9d7a91ce11f279d2d8b5a5bb8bad01136a05cb7907e00bd47'
             'a5fc162aeafb2c6322176db736a503047a39f2740eea4dead05438ed47187fbd'
             '00141d4cbf34daa6d91b26179d4847ec970e2767382e18fdf9af2ec84a0ff43e'
-            'd6b18a83dd9c213470d984f71ddcefcd64d12bb87f68225cc4ebf5fa4a831703'
-            '3d912d367eeb89ead06dc9dc45de093f48ddc601188731d54775c33e04e369aa')
+            'd6b18a83dd9c213470d984f71ddcefcd64d12bb87f68225cc4ebf5fa4a831703')
 sha256sums_x86_64=('1fc48544b5a3401b2fc3df8d0642c1e6a73a28e41a351169edd9cd8f54770db5')
 sha256sums_aarch64=('bd93f7f06b8cb940da0814106d1293df12bf9199af0514e95b893f0c603fc7b9')
 sha256sums_armv7h=('584dec749323e2411d3d64cb66e38d6f690fcb340e5f9a8b64e06915e071af1f')