Tainted flow: 'OPENBB_BINARY' from os.environ.get (line 42, credential/environment) → subprocess.run (code execution)
Medium
- Category
- Data Flow
- Content
results = [] for symbol in symbols[:10]: # Limit to 10 symbols try: result = subprocess.run( [OPENBB_BINARY, symbol, '--earnings'], capture_output=True, text=True,- Confidence
- 91% confidence
- Finding
- OPENBB_BINARY can be sourced from the OPENBB_QUOTE_BIN environment variable and is then executed via subprocess.run after only checking that the path exists and is executable. In environments where an attacker can influence environment variables or process launch context, this enables execution of an attacker-chosen binary under the skill's privileges.
