T09 · Insecure Skill Coding Practices
- Location
SKILL.md:127- Finding
Global TLS Certificate Validation Bypass
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 127-131
Vulnerability Type: Global certificate verification bypass
Risk Level: HighVulnerable Code Snippet
markdown ### Handling HTTPS Certificate Errors When a certificate error page is encountered, handle it in the following priority order: **Chrome certificate-error bypass startup parameter** - Restart Chrome DevTools MCP with the `--ignore-certificate-errors` parameter - Automatically ignore all certificate errors and attempt to continue accessing the targetThe excerpt is an English rendering of the corresponding source instructions.
Technical Analysis
The Skill instructs Chrome DevTools MCP to restart Chrome with
--ignore-certificate-errors. This option globally disables certificate verification for the affected browser process rather than trusting a specific certificate or test certificate authority.Penetration testing legitimately may involve targets with self-signed certificates. However, globally accepting every invalid certificate exceeds the minimum privilege necessary for that purpose. It removes protection against expired, mismatched, untrusted, and attacker-generated certificates across every origin accessed by the browser process.
The browser may handle test credentials, session cookies, bearer tokens, form contents, vulnerability evidence, and application responses. With certificate verification disabled, a network-positioned attacker can impersonate an HTTPS target and intercept or modify that information.
Attack Path
- The tester encounters a certificate warning on an authorized target.
- The Skill directs the tester or agent to restart Chrome with
--ignore-certificate-errors. - An attacker gains control of, or is already positioned on, the network path through a malicious access point, compromised proxy, DNS manipulation, or routing attack.
- The attacker presents an arbitrary TLS certificate ...[truncated 966 chars]
- Remediation
View remediation
Remediation Suggestions
- Do not launch a general-purpose browser process with
--ignore-certificate-errors. - Import and trust only the authorized target's test certificate or private test CA.
- Scope any unavoidable exception to the explicitly authorized hostname and test session.
- Use a dedicated, isolated browser profile that contains no unrelated cookies, credentials, or browsing state.
- Require explicit user confirmation before proceeding with an invalid certificate.
- Display the certificate fingerprint and require it to match an out-of-band value supplied by the target owner.
- Prohibit entry of credentials or sensitive data while certificate authenticity remains unverified.
- Terminate the isolated browser after testing and remove temporary trust settings.
- Do not launch a general-purpose browser process with
