Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 1.84 KB

File metadata and controls

74 lines (47 loc) · 1.84 KB

SecureCycle Docker Scanner

The Docker image bundles SecureCycle's CLI scanner with Semgrep, so users can scan a project without installing Semgrep on the host. Users only need Docker.

Install And Run From GHCR

From any project directory:

docker run --rm -v "$PWD:/workspace" ghcr.io/mosec2525/securecycle:latest

PowerShell:

docker run --rm -v "${PWD}:/workspace" ghcr.io/mosec2525/securecycle:latest

Docker pulls the image automatically the first time. After that, the image is cached locally and runs faster.

SecureCycle Docker scanner command and output

Build Locally

docker build -t securecycle:local .

Scan A Project

From a project directory:

docker run --rm -v "$PWD:/workspace" securecycle:local

PowerShell:

docker run --rm -v "${PWD}:/workspace" securecycle:local

The container scans /workspace by default. It uses the mounted project's .vibesec.yaml when present, otherwise it falls back to the bundled vibesec:default policy.

JSON Output

docker run --rm -v "$PWD:/workspace" securecycle:local --json

Exit Codes

  • 0: scan completed with no findings
  • 1: scan completed and found issues
  • 2: scan failed

Use --no-fail-on-findings when you want findings reported but a zero exit code:

docker run --rm -v "$PWD:/workspace" securecycle:local --no-fail-on-findings

Published Image

The current public image is published to GitHub Container Registry:

https://github.com/Mosec2525/securecycle/pkgs/container/securecycle

docker pull ghcr.io/mosec2525/securecycle:latest
docker run --rm -v "$PWD:/workspace" ghcr.io/mosec2525/securecycle:latest

The legacy Docker Hub image remains available at https://hub.docker.com/r/mosec2525/vibesec for older instructions.