Find filesystem write calls (File.writeText, Files.write, etc.)

Proprietary

Filesystem writes are persistent side effects — each call is data crossing a trust boundary in the other direction. Useful as a seed for reasoning about what the application persists and where path-traversal vulnerabilities can land.

org.openrewrite.kotlin.search.FindFileWriteSinks$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.search.FindFileWriteSinks$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.