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 has no Guardian-specific policy available. It pulls all rules enabled on Policies. See Rules and configuration for how this differs from the Claude Code and Codex plugins.

Next steps