Context-Inappropriate Capability
Medium
- Confidence
- 89% confidence
- Finding
- The code invokes shell commands to compile and execute a local binary (`g++ std.cpp ...` and `./std < ... > ...`) via `system()`. In a skill that imports problems and generates test data, compiling and running bundled code may be functionally related, but doing so through unrestricted shell execution greatly expands the attack surface: a malicious or tampered `std.cpp`, environment, or working directory contents could trigger arbitrary command execution on the host.
