T09 · Insecure Skill Coding Practices
- Location
scripts/caprover.py:27- Finding
Disabled TLS Verification Exposes CapRover Administrator Credentials and Privileged API Traffic
- Content
View full analysis
str: r = self._call("/api/v2/login", {"password": password}) return r["data"]["token"] ``` It is also used for all subsequent privileged requests carrying the `x-captain-auth` token: ```python tok = token or getattr(self, "token", None) if tok: headers["x-captain-auth"] = tok ``` Consequently, the exposed data may include: - The CapRover administrator password. - The session bearer token. - Application environment variables, which may cont ...[truncated 2431 chars]- Remediation
View remediation
