codefmt
Warn
Audited by Snyk on Jul 28, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (medium risk: 0.30). In scripts/format-code-block.kts the outsider-controlled placeholders (
name,startLine,endLine/ potentially a pasted snippet used to computeTextRange) are used to locate PSI (PsiManager.findFile/ VFS) and then passed into IntelliJ’sReformatCodeProcessor(psiFile, arrayOf(range)).run(), meaning free text can influence which code range is ingested for formatting.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata