https://github.com/langchain-ai/open-swe ·
lang: python ·
LOC: ·
source: corpus_mined
| Rule | Severity | Count |
|---|---|---|
SEC020 Secret Printed to Logs |
high | 4 |
SEC017 Unbounded Input to LLM/External API |
medium | 1 |
SEC016 LLM Prompt Injection — User Input in AI Prompt |
high | 1 |
SEC016
LLM Prompt Injection — User Input in AI Prompt
agent/reviewer.py:344
· conf 0.90
[SEC016] LLM Prompt Injection — User Input in AI Prompt: User-supplied text is interpolated directly into an AI/LLM prompt (e.g. OpenAI, Anthropic, or local model). This is the AI equivalent of SQL i…
SEC020
Secret Printed to Logs
agent/utils/github_app.py:48
· conf 0.85
[SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-bearing value. This is a frequent AI-assisted coding failure: the helper exposes the exact value needed for tro…
SEC017
Unbounded Input to LLM/External API
agent/reviewer.py:344
· conf 0.80
[SEC017] Unbounded Input to LLM/External API: User input is passed to an LLM or external AI API (OpenAI, Anthropic, etc.) without any visible length or size validation. This creates two risks: (1) Co…
SEC020
Secret Printed to Logs
· conf 0.20
[SEC020] Secret Printed to Logs (and 6 more): Same pattern found in 6 additional files. Review if needed.
SEC020
Secret Printed to Logs
agent/encryption.py:67
· conf 0.15
[SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-bearing value. This is a frequent AI-assisted coding failure: the helper exposes the exact value needed for tro…
SEC020
Secret Printed to Logs
agent/webapp.py:1096
· conf 0.15
[SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-bearing value. This is a frequent AI-assisted coding failure: the helper exposes the exact value needed for tro…
Reading from rp.scan + rp.finding + rp.rule (unified schema, R78 series). Legacy data path unchanged. Compare with /scan/84185a6f-2eeb-46e0-bfee-d2783a33b5d6/.