https://github.com/cocoindex-io/cocoindex ·
lang: rust ·
LOC: ·
source: both
| Rule | Severity | Count |
|---|---|---|
SEC004 SQL Injection Risk |
high | 4 |
SEC022 Database URL With Embedded Credential |
critical | 4 |
SEC007 Unsafe Deserialization |
medium | 2 |
SEC020 Secret Printed to Logs |
high | 1 |
SEC022
Database URL With Embedded Credential
examples/audio_to_text/main.py:25
· conf 0.45
[SEC022] Database URL With Embedded Credential: A database connection URL contains an embedded username and password. These URLs are often copied into defaults, docs, and scripts, then leak working c…
SEC022
Database URL With Embedded Credential
examples/code_embedding/main.py:37
· conf 0.45
[SEC022] Database URL With Embedded Credential: A database connection URL contains an embedded username and password. These URLs are often copied into defaults, docs, and scripts, then leak working c…
SEC022
Database URL With Embedded Credential
examples/entire_session_search/main.py:44
· conf 0.45
[SEC022] Database URL With Embedded Credential: A database connection URL contains an embedded username and password. These URLs are often copied into defaults, docs, and scripts, then leak working c…
SEC004
SQL Injection Risk
python/cocoindex/connectors/doris/_target.py:696
· conf 0.50
[SEC004] SQL Injection Risk: String interpolation in SQL execution. Allows SQL injection.
SEC004
SQL Injection Risk
python/cocoindex/connectors/postgres/_source.py:132
· conf 0.85
[SEC004] SQL Injection Risk: String interpolation in SQL execution. Allows SQL injection.
SEC007
Unsafe Deserialization
python/cocoindex/_internal/function.py:1069
· conf 1.00
[SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code.
SEC007
Unsafe Deserialization
python/cocoindex/_internal/runner.py:173
· conf 1.00
[SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code.
SEC004
SQL Injection Risk
python/cocoindex/connectors/sqlite/_target.py:496
· conf 0.20
[SEC004] SQL Injection Risk: String interpolation in SQL execution. Allows SQL injection.
SEC004
SQL Injection Risk
· conf 0.20
[SEC004] SQL Injection Risk (and 1 more): Same pattern found in 1 additional files. Review if needed.
SEC020
Secret Printed to Logs
examples/text_embedding_turbopuffer/main.py:148
· 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…
SEC022
Database URL With Embedded Credential
· conf 0.20
[SEC022] Database URL With Embedded Credential (and 6 more): Same pattern found in 6 additional files. Review if needed.
Reading from rp.scan + rp.finding + rp.rule (unified schema, R78 series). Legacy data path unchanged. Compare with /scan/ecebda09-0cac-4f20-b198-ea898eaf9be2/.