https://github.com/remsky/Kokoro-FastAPI ·
lang: python ·
LOC: ·
source: user_submitted
| Rule | Severity | Count |
|---|---|---|
SEC011 Unsafe PyTorch Model Loading |
medium | 4 |
SEC020 Secret Printed to Logs |
high | 4 |
SEC006 XSS Risk |
high | 2 |
SEC002 Hardcoded API Key |
critical | 1 |
SEC020
Secret Printed to Logs
examples/assorted_checks/benchmarks/benchmark_first_token.py:90
· 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…
SEC020
Secret Printed to Logs
examples/phoneme_examples/generate_phonemes.py:87
· 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…
SEC002
Hardcoded API Key
examples/openai_streaming_audio.py:8
· conf 0.30
[SEC002] Hardcoded API Key: Hardcoded API key found in source code.
SEC011
Unsafe PyTorch Model Loading
api/src/core/paths.py:181
· conf 1.00
[SEC011] Unsafe PyTorch Model Loading: torch.load() uses pickle internally and can execute arbitrary code from untrusted model files.
SEC011
Unsafe PyTorch Model Loading
examples/assorted_checks/test_voices/analyze_voice_dimensions.py:8
· conf 1.00
[SEC011] Unsafe PyTorch Model Loading: torch.load() uses pickle internally and can execute arbitrary code from untrusted model files.
SEC011
Unsafe PyTorch Model Loading
examples/assorted_checks/test_voices/trim_voice_dimensions.py:37
· conf 1.00
[SEC011] Unsafe PyTorch Model Loading: torch.load() uses pickle internally and can execute arbitrary code from untrusted model files.
SEC006
XSS Risk
web/src/components/TextEditor.js:21
· conf 0.40
[SEC006] XSS Risk: Direct HTML injection without sanitization.
SEC006
XSS Risk
web/src/components/VoiceSelector.js:104
· conf 0.40
[SEC006] XSS Risk: Direct HTML injection without sanitization.
SEC011
Unsafe PyTorch Model Loading
· conf 0.20
[SEC011] Unsafe PyTorch Model Loading (and 1 more): Same pattern found in 1 additional files. Review if needed.
SEC020
Secret Printed to Logs
· conf 0.20
[SEC020] Secret Printed to Logs (and 2 more): Same pattern found in 2 additional files. Review if needed.
SEC020
Secret Printed to Logs
api/src/services/tts_service.py:169
· 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/379fc10a-3993-4a3f-9a62-1de646e19385/.