Context-Inappropriate Capability
High
- Confidence
- 98% confidence
- Finding
- The code builds a shell command string from user-controlled fields such as query, limit, yearMin, and sources, then executes it with exec(). Wrapping query in double quotes is not sufficient to prevent shell metacharacter injection, so an attacker may be able to break out of the intended arguments and execute arbitrary commands in the host environment.
