platform-sre
Warn
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [CREDENTIALS_UNSAFE]: The script
scripts/remediate.pycontains hardcoded credentials (GITEA_PASS = "gitops-admin-123") used for authenticating with a local Gitea instance. These credentials are used in basic authentication headers and embedded directly into Git remote URLs, which may lead to exposure in shell history, process listings, or logs.\n- [COMMAND_EXECUTION]: The skill relies entirely on executing shell commands via thesubprocessmodule to perform its functions. Capability scripts in thescripts/directory call external binaries likekubectl,talosctl, andgit. While a read-only guard is implemented inscripts/kube.pyto restrict allowed verbs, the overall architecture maintains a high surface area for command-related issues.\n- [DYNAMIC_EXECUTION]: Inscripts/certs.py, the skill executes a shell command usingshell=Trueto pipe output betweenopensslprocesses. The command incorporates aportvariable extracted from the cluster configuration. Although this variable is validated using a numeric regular expression, the use of shell execution for dynamic command assembly is a sensitive pattern.\n- [EXTERNAL_DOWNLOADS]: Several capabilities, specifically those inscripts/vuln.pyandscripts/upgrade.py, require and interact with third-party security binaries such astrivy,grype,pluto, andkubent. The skill checks the system PATH for these tools and executes them if present to perform vulnerability and API deprecation scans.
Audit Metadata