← Legacy view v2 (rp.*)

awizemann/scarf

https://github.com/awizemann/scarf · lang: swift · LOC: · source: corpus_mined

Quality
62.0
Grade C+
Security
86.8
Findings
6
1 critical · 0 high
Status
completed
May 15, 2026 22:09
info: 4 critical: 1 low: 1
Top rules by occurrence
RuleSeverityCount
SEC020 Secret Printed to Logs high 4
SEC022 Database URL With Embedded Credential critical 1
SEC006 XSS Risk high 1
First 6 findings (severity-sorted)
critical SEC022 Database URL With Embedded Credential
scarf/Packages/ScarfCore/Sources/ScarfCore/Models/MCPServerPreset.swift:97 · conf 1.00
[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…
low SEC006 XSS Risk
site/widgets.js:180 · conf 0.40
[SEC006] XSS Risk: Direct HTML injection without sanitization.
info SEC020 Secret Printed to Logs
· conf 0.20
[SEC020] Secret Printed to Logs (and 4 more): Same pattern found in 4 additional files. Review if needed.
info SEC020 Secret Printed to Logs
scarf/scarf/Core/Services/ChatNotificationService.swift:88 · 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…
info SEC020 Secret Printed to Logs
scarf/scarf/Core/Services/ProjectTemplateInstaller.swift:43 · 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…
info SEC020 Secret Printed to Logs
scarf/scarf/Core/Services/ProjectTemplateUninstaller.swift:156 · 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/3d58ab02-eb7e-473b-be6b-9456a7c00752/.