4.8 KiB
Getting Started
Prüfwerk is an AI-powered security compliance platform that scans your Git repositories for vulnerabilities, builds software bills of materials, performs dynamic application testing, and provides code intelligence through an interactive knowledge graph and AI chat.
What You Get
When you connect a repository, Prüfwerk runs a comprehensive scan pipeline that covers:
- Static Analysis (SAST) -- finds code-level vulnerabilities like injection flaws, insecure crypto, and misconfigurations
- Software Bill of Materials (SBOM) -- inventories every dependency, its version, and its license
- CVE Monitoring -- cross-references your dependencies against known vulnerabilities
- Code Knowledge Graph -- maps the structure of your codebase for impact analysis
- AI Triage -- every finding is reviewed by an LLM that provides severity assessment, confidence scores, and remediation guidance
- Issue Tracking -- automatically creates issues in your tracker for new findings
Dashboard Overview
After logging in, you land on the Overview page, which gives you a snapshot of your security posture across all repositories.
The overview shows key metrics at a glance: total repositories, findings broken down by severity, dependency counts, CVE alerts, and tracker issues. A severity distribution chart visualizes your risk profile, and recent scan runs let you monitor scanning activity.
Quick Walkthrough
Here is the fastest path from zero to your first scan results:
0. Or start with the demo targets
An empty workspace offers Add demo targets on the Targets page and in the onboarding wizard. It creates a small curated set — two PLC projects, a deliberately vulnerable web service and a Zephyr firmware sample — attaches their files, detects each type and starts the first scans, so there are real findings to look at within minutes. See Demo targets.
1. Add a repository
Navigate to Repositories in the sidebar and click Add Repository. Enter a name, the Git clone URL, and the default branch to scan.
2. Trigger a scan
Click the Scan button on your repository row. The scan runs in the background through all phases: cloning, static analysis, SBOM extraction, CVE checking, graph building, and issue sync.
3. View findings
Once the scan completes, navigate to Findings to see everything that was discovered. Each finding includes a severity level, description, code evidence, and AI-generated remediation guidance.
Next Steps
- Add and configure repositories -- including private repos and issue tracker setup
- Understand how scans work -- phases, triggers, and deduplication
- Work with findings -- triage, false positives, and developer feedback
- Explore your SBOM -- dependencies, licenses, and exports
- Connect your IDE -- query findings from an LLM client over MCP
Deployment modes (APP_ENV)
APP_ENV decides how strict the deployment is about authentication.
APP_ENV |
Behaviour |
|---|---|
dev (default) |
Auth may be absent. Without Keycloak the API serves unauthenticated against a synthetic dev tenant, CORS is permissive, entitlements are not checked. For a laptop and CI only. |
staging, production |
Hardened. The agent, dashboard and MCP server refuse to start unless authentication is fully configured, and the dev-tenant, permissive-CORS and skip-entitlement paths are unreachable. |
A hardened deployment requires KEYCLOAK_URL, KEYCLOAK_REALM,
KEYCLOAK_AUDIENCE, CORS_ALLOWED_ORIGINS, TENANT_REGISTRY_URL,
TENANT_REGISTRY_CLIENT_ID, TENANT_REGISTRY_CLIENT_SECRET and
PLATFORM_ALLOWED_CLIENTS; the MCP server additionally requires MCP_PORT,
since its stdio transport has no tenant authentication. Startup lists every
missing variable at once, so one corrected deploy is enough.
The scheduler follows the same rule: where a tenant registry is configured, its
tenant list is authoritative, and a registry outage skips the tick instead of
falling back to the dev tenant.
Static-analysis-only environments
Some deployments run with PW_FEATURES=source_only — the shared staging
environment does. Dynamic testing needs infrastructure (a browser, a soft-PLC,
network access to a running target) that is not deployed there, so dynamic
application testing, pentest sessions, the ICS probe and the ephemeral PLC
runtime are hidden in the interface, and a scan records those stages as
skipped rather than failed. Everything static — SAST, SBOM, CVE, the graph,
AI triage, control mapping — works as documented.


