Repository navigation
Optional agent review of AUR build files before installation #7014
chalkers
started this conversation in
Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
An AUR package can contain build instructions from a third party.
A user can read the
PKGBUILDin the package installer. However, the user must do the review manually. Some build files are long or difficult to understand.Proposal
Add an optional review step to the AUR package installer.
The review uses the default Omarchy coding agent. The agent examines the AUR build files before
yaystarts the installation.The installer can use this sequence:
The user selects one or more AUR packages.
The installer asks:
If the user selects Yes, the installer downloads the build files to a temporary directory.
The default agent reviews the files.
The agent reports its findings.
The user exits the agent.
The installer asks the user to confirm the installation.
If the user selects No, the installer continues without the review.
Review scope
The agent can examine these files:
PKGBUILD.SRCINFOThe agent can check these items:
The agent must treat all package text as untrusted data. It must not build, install, source, or execute the package during the review.
Safety limits
The review is advisory. It does not prove that a package is safe.
The review might not examine code that the build downloads or generates later. It might also miss build files from indirect AUR dependencies.
The user must make the final installation decision.
Prototype
I have a working local prototype.
The prototype extends the current
fzfAUR installer. It uses the default agent selected by Omarchy. The review is optional and disabled by default.Questions
Does this feature fit the Omarchy package installation process?
Would a prompt after package selection be the correct interface?
Would an
fzfkey binding, such asAlt+A, be a better interface?All reactions