Skip to main content
Integrate Semgrep Guardian with Devin (Windsurf) through Cascade hooks.

Prerequisites

Setup

2
Create a hooks.json file at ~/.codeium/windsurf/hooks.json and paste the following configuration:
3
Restart Windsurf to apply hook configuration.
The post_write_code event fires after Cascade writes or modifies any file.

What rules does this setup use?

This integration scans with the rules enabled for your Semgrep organization through your Policies. See Rules and configuration for how this differs from the Claude Code remote plugin.

Next steps