Paru, the Rust-based AUR helper for Arch Linux, has released version 2.2.1, with the most important changes concerning how Paru handles previously reviewed PKGBUILD repositories.
With this release, updates to accepted repositories must be reviewed again before being applied. If users decline the review, the update is not applied. Moreover, accepted changes must match the files actually reviewed, preventing modifications from slipping through after approval.
The same protections now apply to URL-based PKGBUILD repositories. When their contents change, Paru requires another review before use, unless the SkipReview option is enabled. The release also prevents upstream branches or tags named AUR_SEEN from being treated as evidence of an earlier local review.
Security improvements extend to Git operations. Paru now ignores external diff commands, text conversion, and repository attributes when displaying changes, reducing the risk of unintended commands during reviews. As a result, reviewing PKGBUILD repositories requires Git 2.40 or newer.
Another security-related fix addresses terminal control characters in package metadata, AUR comments, news, and PKGBUILD reviews. These characters are now escaped to prevent untrusted content from manipulating terminal output. Paru also prevents signing-key values from being interpreted as GPG command-line options.
On the package management side, Paru 2.2.1 changes how repository providers are selected. When a requested package has no repository prefix and a differently named repository package can satisfy the dependency, users are asked for confirmation before installation. Declining the suggestion redirects the search to the AUR. Noninteractive behavior remains unchanged.
Regarding local package builds, Paru now generates missing .SRCINFO metadata only for directories explicitly selected through ./ targets, not processing unrelated PKGBUILDs in the current directory. The PreBuildCommand setting now runs after users accept an interactive AUR review.
Finally, several fixes improve installation reliability, including resolving false dependency conflict errors when using -B --noconfirm. Paru also uses updated .SRCINFO metadata for signing-key, architecture, and development-source checks and corrects package selection in repositories containing split packages.
For more information, see the changelog.
