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 compute TextRange) are used to locate PSI (PsiManager.findFile / VFS) and then passed into IntelliJ’s ReformatCodeProcessor(psiFile, arrayOf(range)).run(), meaning free text can influence which code range is ingested for formatting.

Issues (1)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 28, 2026, 10:38 AM
Issues
1
Security Audit — snyk — codefmt