Context-Inappropriate Capability
Medium
- Confidence
- 99% confidence
- Finding
- The code sets `DEFAULT_SSL_CONTEXT = ssl._create_unverified_context()` and uses it for all HTTPS requests, disabling certificate validation globally for this provider. That allows a man-in-the-middle attacker on the network path to intercept or modify train schedule and fare responses from 12306 endpoints, undermining integrity and confidentiality of request metadata. In a public transport query skill this is not necessary, so the context makes the issue more dangerous rather than less justified.
