T09 · Insecure Skill Coding Practices
- Location
SKILL.md:12- Finding
Global TLS Certificate Verification Bypass
- Content
View full analysis
This disables TLS verification globally — use with caution and only in trusted networks. ``` ### Technical Analysis The Skill explicitly recommends setting `NODE_TLS_REJECT_UNAUTHORIZED=0`. This disables server-certificate validation for every TLS request made by the Node.js process. It does not merely trust one known self-signed HomeBox certificate. The executable sends login credentials, bearer tokens, and private inventory records through Node.js `fetch`. With certificate verification disabled, an attacker able to intercept or redirect network traffic can present an arbitrary certificate and impersonate the configured HomeBox server. Although support for self-signed HomeBox installations is consistent with the Skill's functionality, globally disabling TLS verification exceeds the minimum privilege and trust required. Trust should be granted only to the specific private certificate or certificate authority. ### Attack Path 1. A user follows the Skill instructions and runs the client with `NODE_TLS_REJECT_UNAUTHORIZED=0`. 2. The user connects through a compromised LAN, access point, DNS resolver, gateway, or other attacker-controlled network component. 3. The attacker redirects the configured HomeBox hostname or intercepts its traffic. 4. The attacker presents a forged TLS certificate. 5. Node.js accepts the forged certificate because verification is globa ...[truncated 917 chars]- Remediation
View remediation
