---
title: "Semgrep SAST"
description: "Runs Semgrep with the community `auto` ruleset (downloads rules from the Semgrep registry)."
url: https://openaudit.se/auditors/code.semgrep/
---

# Semgrep SAST

`code.semgrep`

Runs Semgrep with the community `auto` ruleset (downloads rules from the Semgrep registry).

- **Engine:** Wrapped scanner
- **Wraps:** `semgrep`
- **Targets:** Codebase
- **Areas:** Security, Best practices
- **Runs:** By default, when the target applies
- **Network:** Contacts services beyond the target

## Run only this auditor

```sh
bunx @openaudit/cli . --only code.semgrep
```

Wraps semgrep. When it isn't installed, the auditor is skipped with an install hint and the rest of the audit runs.

## More security auditors

- [Secrets in source](https://openaudit.se/auditors/code.secrets/) (`code.secrets`)
- [Static security analysis](https://openaudit.se/auditors/code.security/) (`code.security`)
- [Hidden Unicode](https://openaudit.se/auditors/code.unicode/) (`code.unicode`)
- [API definition and server configuration](https://openaudit.se/auditors/code.api/) (`code.api`)
- [AI agent configuration](https://openaudit.se/auditors/code.agent-config/) (`code.agent-config`)
- [gitleaks secret scan](https://openaudit.se/auditors/code.gitleaks/) (`code.gitleaks`)
- [Trivy filesystem scan](https://openaudit.se/auditors/code.trivy-fs/) (`code.trivy-fs`)
- [trufflehog secret scan](https://openaudit.se/auditors/code.trufflehog/) (`code.trufflehog`)
