{"id":17606,"date":"2026-06-18T09:30:37","date_gmt":"2026-06-18T16:30:37","guid":{"rendered":"https:\/\/jasonsblog.ddns.net\/?p=17606"},"modified":"2026-06-18T09:30:37","modified_gmt":"2026-06-18T16:30:37","slug":"after-recent-aur-security-scare-yay-13-0-adds-new-review-and-automation-features","status":"publish","type":"post","link":"https:\/\/jasonsblog.ddns.net\/index.php\/2026\/06\/18\/after-recent-aur-security-scare-yay-13-0-adds-new-review-and-automation-features\/","title":{"rendered":"After Recent AUR Security Scare, Yay 13.0 Adds New Review and Automation Features"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Yay update which allows you to update regular repo files and packages from the Arch User Repository, AUR. I&#8217;ve taken to looking up the packages and manually reviewing the diffs of the pkgbuild files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/linuxiac.com\/yay-13-0-adds-new-review-and-automation-features\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/linuxiac.com\/yay-13-0-adds-new-review-and-automation-features\/<\/a><\/p>\n\n\n<div class=\"wp-block-ub-divider ub_divider ub-divider-orientation-horizontal\" id=\"ub_divider_6f07fc08-2059-49e1-8dc9-869c0573a41c\"><div class=\"ub_divider_wrapper\" style=\"position: relative; margin-bottom: 2px; width: 100%; height: 2px; \" data-divider-alignment=\"center\"><div class=\"ub_divider_line\" style=\"border-top: 2px solid #ccc; margin-top: 2px; \"><\/div><\/div><\/div>\n\n\n<h5 class=\"wp-block-heading\">Yay 13.0 adds Lua hooks, PKGBUILD age visibility, and new automation tools following recent concerns over AUR package security.<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">By Bobby Borisov<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.shortpixel.ai\/spai\/q_lossy+ret_img+to_auto\/linuxiac.com\/wp-content\/uploads\/2026\/06\/yay13-1024x576.jpg\" alt=\"After Recent AUR Security Scare, Yay 13.0 Adds New Review and Automation Features\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Yay 13.0 has been released as a major update to the popular AUR helper for Arch Linux, <a href=\"https:\/\/linuxiac.com\/arch-linux-blocks-new-aur-registrations-amid-malware-cleanup\/\">following a recent AUR security incident<\/a> involving malicious packages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Importantly, the update does not alter how the AUR functions or guarantee package safety. Instead, it provides users with additional tools to inspect, filter, and automate the review process before installing or upgrading packages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A key addition is the display of <code>PKGBUILD<\/code> last-modification times. Yay now shows how recently an AUR package\u2019s <code>PKGBUILD<\/code> was modified in search results, yogurt, and upgrade menus. While recent changes are not inherently suspicious and older ones are not necessarily safe, the timestamp offers users another factor to consider during review.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, yay now displays age markers, such as hours or days since the PKGBUILD was last updated, when searching or upgrading AUR packages. A notably relevant feature, given recent security concerns, as users are paying closer attention to package changes and maintainer activity.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2026\/06\/yay13-app.jpg\"><img decoding=\"async\" src=\"https:\/\/cdn.shortpixel.ai\/spai\/q_lossy+ret_img+to_auto\/linuxiac.com\/wp-content\/uploads\/2026\/06\/yay13-app.jpg\" alt=\"Yay 13.0 AUR Helper\" class=\"wp-image-214348\"\/><\/a><figcaption class=\"wp-element-caption\">Yay 13.0 AUR Helper<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Another major change in yay 13.0 is support for Lua configuration. Yay can now load an <code>init.lua<\/code> file from <code>$XDG_CONFIG_HOME\/yay\/init.lua<\/code>, typically <code>~\/.config\/yay\/init.lua<\/code>. Existing <code>config.json<\/code> files remain supported, but Lua configuration can override these settings. Command-line flags continue to take precedence.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Moreover, one new hook, <code>UpgradeSelect<\/code>, runs during <code>yay -Syu<\/code> after upgrades are calculated and before the package exclusion menu appears. It can automatically exclude specific packages from upgrades, such as AUR packages with recently modified PKGBUILDs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yay 13.0 also introduces <code>AURPreInstall<\/code> and <code>AURPostDownload<\/code> hooks. <code>AURPreInstall<\/code> runs after <code>PKGBUILD<\/code> repositories are fetched but before clean, diff, edit, or build steps, making it useful for checks based on <code>PKGBUILD<\/code> content. <code>AURPostDownload<\/code> runs after <code>makepkg --verifysource<\/code>, allowing hooks to access both the <code>PKGBUILD<\/code> repository and downloaded source files before installation proceeds.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The release also exposes additional package information to hooks, including AUR package maintainer data, and adds support for search-filter and post-install hooks. These features allow users to create custom checks for recently changed packages, maintainer changes, new submissions, source URLs, or other metadata.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yay maintainer stated the goal is to avoid \u201csecurity theater,\u201d noting that automated checks are helpful but should not replace human review of build files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For additional details, <a href=\"https:\/\/github.com\/Jguer\/yay\/releases\/tag\/v13.0.0\" target=\"_blank\" rel=\"noreferrer noopener\">see the changelog<\/a> or the <a href=\"https:\/\/jguer.space\/blog\/2026-06-15-yay-v13\" target=\"_blank\" rel=\"noreferrer noopener\">release announcement<\/a>. Yay 13.0 is <a href=\"https:\/\/aur.archlinux.org\/packages\/yay\" target=\"_blank\" rel=\"noreferrer noopener\">now available<\/a> as an update in the AUR for Arch users.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yay update which allows you to update regular repo files and packages from the Arch User Repository, AUR. I&#8217;ve taken to looking up the packages and manually reviewing the diffs of the pkgbuild files. https:\/\/linuxiac.com\/yay-13-0-adds-new-review-and-automation-features\/ Yay 13.0 adds Lua hooks, PKGBUILD age visibility, and new automation tools following recent concerns over AUR package security. By [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-17606","post","type-post","status-publish","format-standard","hentry","category-tech"],"blocksy_meta":[],"featured_image_src":null,"author_info":{"display_name":"Jason","author_link":"https:\/\/jasonsblog.ddns.net\/index.php\/author\/jturning\/"},"_links":{"self":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/17606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/comments?post=17606"}],"version-history":[{"count":1,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/17606\/revisions"}],"predecessor-version":[{"id":17607,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/17606\/revisions\/17607"}],"wp:attachment":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/media?parent=17606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/categories?post=17606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/tags?post=17606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}