btpanel

Warn

Audited by Socket on Aug 5, 2026

4 alerts found:

Anomalyx4
AnomalyLOW
btpanel_runtime/scripts/runtime.py

This module is not overtly malicious in isolation (no explicit backdoor/exfiltration/exec primitives), but it is a high-impact privileged orchestrator: it force-creates an admin-like session (uid=1/login=True), mutates import paths/working directory, and triggers internal panel plugin actions that install/upgrade runtime software based on user-provided inputs. If any downstream plugin/model components or their artifact sources/verification are compromised, this script would facilitate supply-chain compromise. Additionally, verbose prints and full traceback output can leak operational details.

Confidence: 60%Severity: 68%
AnomalyLOW
btpanel_firewall/scripts/firewall_ops.py

No direct malware behavior (networking, subprocess execution, credential theft, obfuscation, or persistence) is evident in this wrapper. The primary security concerns are (1) administrative risk from forwarding unvalidated user-provided firewall parameters into backend rule/policy setters, and (2) a significant import/sideloading risk due to hardcoded os.chdir plus sys.path insertion of nonstandard paths. Treat this module as operationally sensitive and ensure the imported paths are immutable and protected, and confirm that the backend modules strictly validate/escape inputs before applying firewall changes.

Confidence: 45%Severity: 55%
AnomalyLOW
btpanel_site/scripts/php_site.py

No direct malicious payload (exfiltration, reverse shell, credential theft, network activity, or obvious obfuscation) is evident in this wrapper module. However, the code increases security exposure by modifying sys.path (including a relative entry) and forcibly setting the working directory before importing internal modules, creating an import-hijack/supply-chain integrity risk if the filesystem is not strictly controlled. Additionally, it forwards user-controlled --site_path/--domain and destructive flags into privileged panelSite Add/Delete backend operations without validation in this wrapper, so safety depends heavily on the integrity and input hardening of the imported internal modules. Recommend auditing panelSite/public and tightening sys.path/import strategy and input validation at the backend (and ideally in this wrapper).

Confidence: 66%Severity: 58%
AnomalyLOW
btpanel_database/scripts/mysql_db.py

This module is an administrative CLI wrapper that performs database add/delete actions and a list action that explicitly queries and prints stored database 'password' values, creating a high-confidence credential disclosure risk (to stdout/logs). It also hardcodes os.chdir and mutates sys.path before importing internal modules, which increases the risk of module/path hijacking in compromised environments. No direct evidence of overt malware (backdoor/exfiltration/reverse shell/obfuscation) appears in this fragment; however, the module’s handling of credentials and import-path integrity make it security-relevant and warrant a review of the imported public/database implementations and usage/logging controls.

Confidence: 62%Severity: 67%
Audit Metadata
Analyzed At
Aug 5, 2026, 11:13 AM
Package URL
pkg:socket/skills-sh/aaPanel%2FBaoTa%2Fbtpanel%2F@9b45097847bd5f4e85bfdcbe4613529e704c35c41be77ff6cfc708c6718766cc
Security Audit — socket — btpanel