Sign inSign up

ipvsix/opengrep

By ipvsix

•Updated 8 months ago

Opengrep SAST engine — Semgrep-compatible, multi-platform (amd64+arm64)

Image
0

3.8K

ipvsix/opengrep repository overview

⁠ipvsix/opengrep

Docker Pulls

Pre-built multi-platform Docker image for Opengrep⁠ — the fast, open-source SAST engine (MIT-licensed Semgrep fork).

⁠Platforms

ArchitectureStatus
linux/amd64✅
linux/arm64✅

⁠Quick Start

# Scan current directory
docker run --rm -v "$(pwd):/src" ipvsix/opengrep:latest scan --config auto /src

# Scan with custom rules
docker run --rm -v "$(pwd):/src" ipvsix/opengrep:latest scan --config /src/rules /src

# SARIF output
docker run --rm -v "$(pwd):/src" ipvsix/opengrep:latest scan --config auto --sarif --output /src/results.sarif /src

# JSON output
docker run --rm -v "$(pwd):/src" ipvsix/opengrep:latest scan --config auto --json --output /src/results.json /src

⁠What is Opengrep?

Opengrep is a community-maintained fork of Semgrep, started at v1.100.0. Key differences:

  • MIT licensed (no proprietary restrictions)
  • 3.15x faster scanning performance
  • Cross-function taint tracking restored (removed in Semgrep CE)
  • 100% rule compatible with Semgrep YAML rules
  • CLI compatible — drop-in replacement (opengrep scan instead of semgrep)

⁠Usage in CI/CD

⁠GitHub Actions
jobs:
  sast:
    runs-on: ubuntu-latest
    container:
      image: ipvsix/opengrep:latest
    steps:
      - uses: actions/checkout@v4
      - run: opengrep scan --config auto --sarif --output results.sarif .
      - uses: github/codeql-action/upload-sarif@v3
        with:
          sarif_file: results.sarif
⁠GitLab CI
sast:
  image: ipvsix/opengrep:latest
  script:
    - opengrep scan --config auto --json --output gl-sast-report.json .
  artifacts:
    reports:
      sast: gl-sast-report.json
⁠Docker Compose
services:
  sast:
    image: ipvsix/opengrep:latest
    volumes:
      - ./:/src
    command: scan --config auto /src

⁠Image Details

  • Base: python:3.11-alpine
  • Opengrep: Installed via official install script
  • Size: ~180MB compressed
  • Entrypoint: opengrep

⁠Part of DevSecOps AI Team

This image is maintained as part of the devsecops-ai-team⁠ plugin — 18 AI agents + 25 skills for enterprise DevSecOps security scanning.

⁠License

Opengrep is MIT licensed. This Docker image packaging is also MIT licensed.

Tag summary

Content type

Image

Digest

sha256:5e52a0f75…

Size

121.8 MB

Last updated

8 months ago

docker pull ipvsix/opengrep