AUR AI Reviewer

Review Results

Version #2782 of icecat · commit 915d909d0859 · status Reviewed

Risk 0/5 · Safe .SRCINFO
Result #4883

Comment

The only change in this diff is a version bump in .SRCINFO from 140.17.0 to 153.5.0. .SRCINFO is metadata generated from the PKGBUILD and does not itself introduce executable behavior, network access, privilege escalation, or packaging changes. Based on the provided hunk alone, there is no security issue to flag.

@@ -1,6 +1,6 @@
 pkgbase = icecat
 	pkgdesc = GNU version of the Firefox ESR browser
-	pkgver = 140.17.0
+	pkgver = 153.5.0
 	pkgrel = 1
 	url = https://gitweb.git.savannah.gnu.org/gitweb/?p=gnuzilla.git
 	arch = x86_64
Risk 0/5 · Safe .SRCINFO
Result #4884

Comment

The .SRCINFO change is a routine upstream refresh: it updates the pinned gnuzilla commit and the Firefox ESR source tarball version, and removes a set of older patch sources that are no longer referenced. I do not see any new attack surface introduced here: sources remain HTTPS, the VCS source is pinned to a specific commit, and there are no added build-time downloads, scripts, binaries, or privilege-related artifacts in this diff. The only notable change is the replacement of one upstream snapshot with another, which is normal maintenance for this package.

@@ -55,39 +55,17 @@ pkgbase = icecat
 	optdepends = networkmanager: Location detection via available WiFi networks
 	optdepends = speech-dispatcher: Text-to-Speech
 	optdepends = xdg-desktop-portal: Screensharing with Wayland
-	noextract = firefox-esr-140.17.0-1-source.tar.xz
+	noextract = firefox-esr-153.5.0-1-source.tar.xz
 	options = !debug
 	options = !emptydirs
 	options = !lto
 	options = !makeflags
 	options = !strip
-	source = gnuzilla::git+https://https.git.savannah.gnu.org/git/gnuzilla.git#commit=d7ffa7cbb29e7047b491ebbf5e50549548d480cb
-	source = firefox-esr-140.17.0-1-source.tar.xz::https://ftp.mozilla.org/pub/firefox/candidates/140.17.0esr-candidates/build1/source/firefox-140.17.0esr.source.tar.xz
+	source = gnuzilla::git+https://https.git.savannah.gnu.org/git/gnuzilla.git#commit=ac1ff821a67463e277853820109d56f7a2daf44d
+	source = firefox-esr-153.5.0-1-source.tar.xz::https://ftp.mozilla.org/pub/firefox/candidates/153.5.0esr-candidates/build1/source/firefox-153.5.0esr.source.tar.xz
 	source = 0000-parallelize-makeicecat.diff
-	source = 1001-python_3.14-5fcff175718cd308bc6d6f2996de14eb8a93e2a2.patch
-	source = 1002-python_3.14-23efd75219786d71acff0b4e7c1b0de297b84c4e.patch
-	source = 1003-python_3.14-b68b1f93a6e31188486458f32fbe37811257604f.patch
-	source = 1004-python_3.14-d4b3eb4f76e81f18c53863b1d55ee146d6ec7d10.patch
-	source = 1005-python_3.14-dbf9702ed87ea5c88c2a1ee615998532ac8f10cc.patch
-	source = 0001-Patch-glsl-optimizer-to-build-with-glibc-2.43.patch
-	source = 0002-Fix-sandbox-to-build-with-glibc-2.43.patch
-	source = 0003-Use-wasm32-wasip1-target.patch
-	source = 0004-update-rust-bindgen-to-fix-clang22-build.patch.xz
-	source = 0005-skia-m142-update.patch.xz
-	source = 0006-Add-FFmpeg-63-support.patch.xz
 	sha256sums = SKIP
-	sha256sums = 4d6ed3b18b2069c55bab12d8ba95da6013ac0b036d8a031df8b9f39a25d05c33
-	sha256sums = 1f1b71fcc22fe5e12bd57e7dcc544599e99071eb17b843b261c77fb86f943288
-	sha256sums = 10e928127276c934a51c053d3f7ceb247344afd2e82186e12c4f188dd743bc49
-	sha256sums = 6479aa1df3fda931d0e261edaffdcac2d162c0166c5cfd6adf6f45ccf632b852
-	sha256sums = 7b6f7c2906a4fb4b83c5f8e6be2cd873c3d99b1f1c4e6b98887364d26fee88de
-	sha256sums = 25c9af8395f4816b0874728d1f32b43b702a0ba2daa340da4945eb7c8ed74fe2
-	sha256sums = 37dbe762d88613d8d556dad53988fc45c7b3aa8947b4322e92ee5c9a763cbc2c
-	sha256sums = 157976ec4be8d723cd6240988b310bc8e1779b2272a258d886bc08389ceba852
-	sha256sums = 404e780b1488625989c6dd8e2234e50ed01401b7cb1e99e79dee87f4f4f584f8
-	sha256sums = 28b086f5492d8e6731fe0dfe34a2e4c6d4d502a9eefa15a31e44b5788cf4df89
-	sha256sums = 8f9b7458760b37766a73d4d2c0e93dc810e59d3844495b9d52b3b61dde59c05d
-	sha256sums = 43cf4f00643c1144f6debeec6a7cabde63de4089cca5d3bb3501beadd2c837bc
-	sha256sums = e7d30072641dfea9c3bff025db7e3a2c60201e630c5253bda1f2b54a0b5501ae
+	sha256sums = 28714a7d4f9b38c7aafbe38022de7775a3d9cb3c1ebf19a567c26eb761e3410b
+	sha256sums = 27e3e298e59788156b180f8b4e5f9e91d0ad7c4cf74fb396f5e65c7d291ef94c
 
 pkgname = icecat
Risk 0/5 · Safe 0000-parallelize-makeicecat.diff
Result #4885

Comment

The change is a build-script optimization only: it adds a local xargs wrapper to parallelize existing sed-based rebranding steps and switches several find|xargs invocations to use newline-delimited input. I do not see any new network access, privilege escalation, persistence, or installation behavior. The only security-relevant concern is robustness: replacing NUL-safe find -print0 pipelines with newline-delimited xargs can mis-handle filenames containing newlines, but this repository/package context is not introducing attacker-controlled filenames and the commands still operate only on files already in the source tree. Overall this looks low risk.

@@ -1,59 +1,37 @@
 --- a/makeicecat
 +++ b/makeicecat
-@@ -663,12 +663,17 @@
- 
- s|www\\.gnu\\.org/software/gnuzilla/icecat-help|libreplanet.org/wiki/Group:IceCat/Help|g;
- "
+@@ -80,6 +80,11 @@ sedhelper()
+     fi
+ }
+ 
++xargs()
++{
++    /bin/xargs -d '\n' -P "$(nproc)" "$@"
++}
 +
-+    echo ": Rebranding source files..."
+ sed()
+ {
+     if ! echo $@ | grep -qw '\-i'; then
+@@ -645,9 +650,10 @@ s|www\\.gnu\\.org/software/gnuzilla/icecat-help|libreplanet.org/wiki/Group:IceCa
      find . -type f -not -iregex '.*changelog.*' -not -iregex '.*copyright.*' \
           -not -iregex '.*/third_party/rust/.*' -not -name Cargo.lock \
           -not -iregex '.*/\.cargo/.*' \
 -         -execdir /bin/sed --follow-symlinks -i "${sed_script}" '{}' ';'
--
++        | xargs -I{} /bin/sed --follow-symlinks -i "${sed_script}" "{}"
+ 
 -    find l10n -type f -execdir /bin/sed --follow-symlinks -i "s/from GNU/from Mozilla/g" '{}' ';'
-+         -print0 \
-+        | xargs -0 -P"$(nproc)" -I{} /bin/sed --follow-symlinks -i "${sed_script}" "{}"
-+  
-+    echo ": Updating l10n files..."
-+    find l10n -type f -print0 \
-+        | xargs -0 -P"$(nproc)" -I{} /bin/sed --follow-symlinks -i "s/from GNU/from Mozilla/g" "{}"
++    find l10n -type f \
++        | xargs -I{} /bin/sed --follow-symlinks -i "s/from GNU/from Mozilla/g" "{}"
  
      sed_script="
  s/free and open source software/Free Software/g;
-@@ -680,9 +685,11 @@
- s/OpenSource/Free Software/g;
- "
+@@ -661,7 +667,8 @@ s/OpenSource/Free Software/g;
  
-+    echo ": Rebranding extensions..."
      local extension
      for extension in dtd ftl inc properties; do
 -        find . -type f -name "*$extension" -execdir /bin/sed --follow-symlinks -i "${sed_script}" '{}' ';'
-+        find . -type f -name "*$extension" -print0 \
-+            | xargs -0 -P"$(nproc)" -I{} /bin/sed --follow-symlinks -i "${sed_script}" "{}"
++        find . -type f -name "*$extension" \
++            | xargs -I{} /bin/sed --follow-symlinks -i "${sed_script}" "{}"
      done
  
      sed 's/which are both/which are/; s/free<\/a> and/Free Software<\/a>./; />open source</d; s/free and open source licenses/Free Software licenses/ ' -i toolkit/content/license.html
-@@ -695,16 +702,19 @@
-     sed "/mCompatIceCat.AssignLiteral/ s:IceCat/:Firefox/:" -i netwerk/protocol/http/nsHttpHandler.cpp
-     sed "s/IceCat/Firefox/g" -i toolkit/components/resistfingerprinting/nsRFPService.cpp
- 
--    find . -name region.properties | xargs -i /bin/sed 's_https://www\.mibbit.*__' -i {}
-+    echo ": Cleaning region.properties..."
-+    find . -name region.properties -print0 | xargs -0 -P"$(nproc)" -i /bin/sed 's_https://www\.mibbit.*__' -i {}
- 
-     # Set migrator scripts
-     cp browser/components/migration/IceCatProfileMigrator.sys.mjs browser/components/migration/FirefoxProfileMigrator.sys.mjs
-     sed 's/IceCat/Firefox/g; s/icecat/firefox/g' -i browser/components/migration/FirefoxProfileMigrator.sys.mjs
- 
-     # Don't mangle crate urls. This invalidates Cargo.lock and causes problems for fetching crates
--    find . -name Cargo.toml | xargs /bin/sed 's|github.com/IceCatGraphics|github.com/FirefoxGraphics|' -i
-+    echo ": Updating Cargo.toml..."
-+    find . -name Cargo.toml -print0 | xargs -0 -P"$(nproc)" /bin/sed 's|github.com/IceCatGraphics|github.com/FirefoxGraphics|' -i
-     # Rename local crate that is used in different places. Otherwise you have to tangle it in moz.build as well.
--    find . -name Cargo.lock | xargs /bin/sed 's|firefox-on-glean|icecat-on-glean|' -i
-+    echo ": Updating Cargo.lock..."
-+    find . -name Cargo.lock -print0 | xargs -0 -P"$(nproc)" /bin/sed 's|firefox-on-glean|icecat-on-glean|' -i
- 
-     # Sort the list of DevToolsModules, which becomes unsorted by our rebranding
-     sort_inner_list_in_file "DevToolsModules(" ")" devtools/client/netmonitor/src/connector/moz.build
Risk 0/5 · Safe PKGBUILD
Result #4886

Comment

The change is a comment-only modification in PKGBUILD, with no effect on sources, build commands, dependencies, permissions, or install-time behavior. I found no security-relevant impact from this diff hunk alone.

@@ -13,7 +13,7 @@
 ## options
 : ${_build_save_source:=true} # save tarball of patched sources
 : ${_build_repatch:=false}    # discard previously saved tarball
-: ${_build_fast_patch:=true}  # patch makeicecat to parallelize patching
+: ${_build_fast_patch:=true}  # parallelize makeicecat patching (~10x speedup)
 
 : ${_build_pgo:=true}      # profile-guided optimization; ~20% better benchmarks, 3x build time
 : ${_build_pgo_reuse:=try} # reuse previously generated profile
Risk 0/5 · Safe PKGBUILD
Result #4887

Comment

The change is a routine upstream version bump for icecat: it updates the pinned gnuzilla commit and Firefox ESR source checksum, and removes a set of now-obsolete compatibility patches. The only behavioral change in the PKGBUILD itself is wrapping the local makeicecat invocation in `time`, which does not affect build outputs or introduce execution of untrusted code. I did not see any new network fetches, privilege escalation, install-script changes, or suspicious sources in this diff. Risk is low, though the removed patch set should be assumed covered by the new upstream commit rather than independently audited here.

@@ -25,9 +25,9 @@
 : ${_build_limit_cores:=auto} # number of cores for parallelism; or auto, limited by RAM
 
 ## update
-_icver="140.17.0-1"
-_commit="d7ffa7cbb29e7047b491ebbf5e50549548d480cb"
-_ffsum="4d6ed3b18b2069c55bab12d8ba95da6013ac0b036d8a031df8b9f39a25d05c33"
+_icver="153.5.0-1"
+_commit="ac1ff821a67463e277853820109d56f7a2daf44d"
+_ffsum="28714a7d4f9b38c7aafbe38022de7775a3d9cb3c1ebf19a567c26eb761e3410b"
 
 ## package
 _pkgname="icecat"
Risk 1/5 · Low PKGBUILD
Result #4888

Comment

The change removes a large set of patch sources and their corresponding SHA256 pins from PKGBUILD, leaving only the upstream tarball and one remaining patch. That is not inherently malicious, but it materially changes the build inputs and could cause the package to build against unpatched upstream code. I do not see any new network fetches, privilege escalation, install-script changes, or suspicious external sources introduced by this diff. The main risk is packaging/regression risk rather than a security backdoor, so I rate it low.

@@ -138,41 +138,11 @@ source=(
 
   # speed up patching
   0000-parallelize-makeicecat.diff
-
-  # fix for python 3.14
-  1001-python_3.14-5fcff175718cd308bc6d6f2996de14eb8a93e2a2.patch
-  1002-python_3.14-23efd75219786d71acff0b4e7c1b0de297b84c4e.patch
-  1003-python_3.14-b68b1f93a6e31188486458f32fbe37811257604f.patch
-  1004-python_3.14-d4b3eb4f76e81f18c53863b1d55ee146d6ec7d10.patch
-  1005-python_3.14-dbf9702ed87ea5c88c2a1ee615998532ac8f10cc.patch
-
-  # fix for glibc 2.43
-  0001-Patch-glsl-optimizer-to-build-with-glibc-2.43.patch
-  0002-Fix-sandbox-to-build-with-glibc-2.43.patch
-
-  # fix for clang 22
-  0003-Use-wasm32-wasip1-target.patch
-  0004-update-rust-bindgen-to-fix-clang22-build.patch.xz
-  0005-skia-m142-update.patch.xz
-
-  # fix for ffmpeg 9
-  0006-Add-FFmpeg-63-support.patch.xz
 )
 sha256sums=(
   'SKIP'
   "$_ffsum"
-  '1f1b71fcc22fe5e12bd57e7dcc544599e99071eb17b843b261c77fb86f943288'
-  '10e928127276c934a51c053d3f7ceb247344afd2e82186e12c4f188dd743bc49'
-  '6479aa1df3fda931d0e261edaffdcac2d162c0166c5cfd6adf6f45ccf632b852'
-  '7b6f7c2906a4fb4b83c5f8e6be2cd873c3d99b1f1c4e6b98887364d26fee88de'
-  '25c9af8395f4816b0874728d1f32b43b702a0ba2daa340da4945eb7c8ed74fe2'
-  '37dbe762d88613d8d556dad53988fc45c7b3aa8947b4322e92ee5c9a763cbc2c'
-  '157976ec4be8d723cd6240988b310bc8e1779b2272a258d886bc08389ceba852'
-  '404e780b1488625989c6dd8e2234e50ed01401b7cb1e99e79dee87f4f4f584f8'
-  '28b086f5492d8e6731fe0dfe34a2e4c6d4d502a9eefa15a31e44b5788cf4df89'
-  '8f9b7458760b37766a73d4d2c0e93dc810e59d3844495b9d52b3b61dde59c05d'
-  '43cf4f00643c1144f6debeec6a7cabde63de4089cca5d3bb3501beadd2c837bc'
-  'e7d30072641dfea9c3bff025db7e3a2c60201e630c5253bda1f2b54a0b5501ae'
+  '27e3e298e59788156b180f8b4e5f9e91d0ad7c4cf74fb396f5e65c7d291ef94c'
 )
 
 _make_icecat() (
Risk 0/5 · Safe PKGBUILD
Result #4889

Comment

The change only prefixes the existing `../makeicecat` invocation with `time`, which affects timing output but not the command executed, arguments, privileges, network behavior, or installed artifacts. I do not see any new supply-chain, persistence, or privilege-escalation risk introduced by this diff hunk.

@@ -216,7 +186,7 @@ _make_icecat() (
 
   # produce icecat sources
   cd output
-  ../makeicecat
+  time ../makeicecat
   popd
 
   # save icecat tarball
Risk 0/5 · Safe PKGBUILD
Result #4890

Comment

The change only removes the `--enable-av1` build option from PKGBUILD. This reduces functionality but does not introduce any new code execution, network access, privilege escalation, persistence, or packaging integrity issues. No suspicious sources, scripts, or install-time behavior are added by this diff. Security risk is therefore negligible.

@@ -324,7 +294,6 @@ MOZ_REQUIRE_SIGNING=
 
 # Features
 ac_add_options --enable-alsa
-ac_add_options --enable-av1
 #ac_add_options --enable-eme=widevine
 ac_add_options --enable-jack
 ac_add_options --enable-jxl