alibabacloud-tls-cert-diagnosis
Pass
Audited by Gen Agent Trust Hub on Sep 26, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/check_tls.pyusessubprocess.runto execute system commands such asopenssl,dig,nc, andpowershell. All calls are constructed using argument lists rather than shell strings, which effectively prevents shell injection vulnerabilities. - [COMMAND_EXECUTION]: In scenarios where shell features are required (such as using
bash -cfor telnet pipes on Linux orpowershell -Commandon Windows), the script performs strict pre-validation. Specifically, target addresses are verified as valid IP addresses using theipaddressmodule before being interpolated into the command strings, mitigating risks associated with untrusted input. - [DATA_EXPOSURE]: The skill includes a batch check capability that reads domain names from a user-specified file. The script parses the file line-by-line and only utilizes the content as input for DNS and connectivity checks. It does not display the raw file content or perform write operations, minimizing the risk of sensitive data exposure.
- [SAFE]: The skill metadata and implementation are consistent with its stated purpose of providing read-only diagnostics without requiring credentials or elevated privileges.
Audit Metadata