btpanel
Warn
Audited by Gen Agent Trust Hub on Aug 5, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: Multiple scripts including
ai_site.py,firewall_ops.py, andruntime.pyexecute high-privilege shell commands and internal aaPanel API calls. A notable example isfirewall_ops.py, which directly modifies/etc/sysctl.confto manage ICMP response settings. - [EXTERNAL_DOWNLOADS]: The
btpanel_softwareandbtpanel_runtimecomponents facilitate the installation of various software and runtimes from aaPanel's official software store. While these are vendor resources, they involve downloading and executing remote installers. - [REMOTE_CODE_EXECUTION]: The
btpanel_ai_siteinstructions guide the agent to create project directories, write source code, and run package managers such asnpm install. This process poses a remote code execution risk if the agent ingest untrusted configuration or code files. - [PRIVILEGE_ESCALATION]: The
runtime.pyscript contains aBtPanelContextclass that programmatically mocks an administrative session by settingsession['uid'] = 1andsession['login'] = True. This allows the script to invoke high-privilege panel methods without standard user authentication.
Audit Metadata