Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.
Python agentsai-hackingai-penetration-testingai-pentestingai-securityartificial-intelligencebug-bountycode-qualityctf-toolscybersecuritycybersecurity-toolsethical-hackinghackingllm-securityoffensive-securitypenetration-testingpentesting-toolsred-teamingsecuritysecurity-automation
fix(container): write the browser profile as root
Ahmed Allam94a2586aaadf
diff --git a/containers/Dockerfile b/containers/Dockerfileindex cab90a9b..cabb6b39 100644--- a/containers/Dockerfile+++ b/containers/Dockerfile@@ -118,6 +118,7 @@ ENV AGENT_BROWSER_USER_AGENT="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36ENV AGENT_BROWSER_ARGS="--disable-blink-features=AutomationControlled,--no-first-run,--no-default-browser-check,--lang=en-US"ENV AGENT_BROWSER_SCREENSHOT_DIR=/workspace/.agent-browser-screenshotsENV AGENT_BROWSER_IDLE_TIMEOUT_MS=180000+USER rootRUN set -eu; \{ \for var in AGENT_BROWSER_EXECUTABLE_PATH AGENT_BROWSER_USER_AGENT \@@ -130,6 +131,7 @@ RUN set -eu; \install -m 0644 /tmp/agent-browser.sh /etc/profile.d/agent-browser.sh; \rm /tmp/agent-browser.sh; \env -i bash -lc 'test "${AGENT_BROWSER_IDLE_TIMEOUT_MS}" = "180000"'+USER pentesterRUN /home/pentester/.npm-global/bin/agent-browser doctor --offline --quickRUN set -eux; \