Environment-controlled execution hooks bypass the promised strictly read-only operation guard.
- Category
- Excessive Agency
- Confidence
- 98% confidence
- Finding
The operation guards validate user arguments, but run_hcloud subsequently accepts executable and argument overrides from the environment without applying equivalent restrictions. An attacker controlling those variables can substitute a program that ignores ListNatGateways entirely, defeating the read-only execution promise and potentially accessing local secrets or performing cloud writes if the available credentials permit them.
- Content
