]> git.seodisparate.com - AnotherAURHelper/commitdiff
Update README.md
authorStephen Seo <seo.disparate@gmail.com>
Thu, 4 Apr 2024 02:30:19 +0000 (11:30 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Thu, 4 Apr 2024 02:30:19 +0000 (11:30 +0900)
Add note about security.

README.md

index f1ab1dedff6564c77489a1e50bcd7cf9e9dbb631..eda7fbc513cb479904a0ab670a203a08c30707e3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -17,6 +17,18 @@ define hooks that are run when the package is installed.
 
 # Things to know before using the helper
 
+## Security
+
+Apparently `makechrootpkg` (provided by `devtools` pkg and used by this script)
+sources PKGBUILD files directly, meaning that if a malicious PKGBUILD is
+attempted to be built, it may cause an RCE kind of exploit with the current
+user. Thus, it is recommended to run this script in a container (like Docker or
+LXC) so that even if a malicious PKGBUILD is sourced, it will only affect the
+container. Though if you do set up a container, you may have to set up a
+directory mount to access the built packages.
+
+## Soft-lock due to multiple possible dependencies
+
 Sometimes if a package prompts a user to select between alternate package
 dependencies, makechrootpkg will fail to select one by default (it will
 constantly output "y" to stdin when a selection requires an integer). This