Prerequisites
- A Semgrep account
- Codex CLI installed (
codexcommand)
Setup
1
Install the plugin
Add the Semgrep marketplace, then install the Guardian plugin from it:
2
Start a new Codex session
Start a new Codex session so the plugin loads:
3
Sign in to Semgrep
Ask Codex:Complete the sign-in prompts in your browser.
4
Confirm you're signed in
Ask Codex:Codex confirms your identity and Semgrep deployment.
For Windows machines: Windows Subsystem for Linux (WSL) is required. Native Windows is unsupported.
What rules does this setup use?
The Codex plugin scans with the fixedguardian-default ruleset. Rules enabled in your organization’s Policies don’t apply. See Rules and configuration for more information.
Next steps
- Enterprise deployment for authentication and organization-wide deployment
- Semgrep Guardian overview
- Rules and configuration