https://github.com/ZhuLinsen/daily_stock_analysis ·
lang: python ·
LOC: ·
source: corpus_mined
| Rule | Severity | Count |
|---|---|---|
SEC020 Secret Printed to Logs |
high | 4 |
SEC015 Insecure Randomness for Security |
medium | 4 |
SEC004 SQL Injection Risk |
high | 1 |
SEC013 Path Traversal — User Input in File Path |
high | 1 |
SEC004
SQL Injection Risk
src/storage.py:743
· conf 0.50
[SEC004] SQL Injection Risk: String interpolation in SQL execution. Allows SQL injection.
SEC013
Path Traversal — User Input in File Path
data_provider/yfinance_fetcher.py:436
· conf 0.80
[SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
SEC015
Insecure Randomness for Security
src/services/image_stock_extractor.py:249
· conf 1.00
[SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. Output is predictable.
SEC020
Secret Printed to Logs
src/search_service.py:2185
· conf 0.45
[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…
SEC015
Insecure Randomness for Security
· conf 0.20
[SEC015] Insecure Randomness for Security (and 2 more): Same pattern found in 2 additional files. Review if needed.
SEC015
Insecure Randomness for Security
apps/dsa-web/src/utils/uuid.ts:11
· conf 0.25
[SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. Output is predictable.
SEC015
Insecure Randomness for Security
src/stock_analyzer.py:842
· conf 0.25
[SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. Output is predictable.
SEC020
Secret Printed to Logs
· conf 0.20
[SEC020] Secret Printed to Logs (and 10 more): Same pattern found in 10 additional files. Review if needed.
SEC020
Secret Printed to Logs
src/auth.py:469
· 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
src/notification.py:555
· 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/11bb3fd7-21a1-404a-a0ce-db52f1055f95/.