Deva SecurityIn-editor security scanning, AI-assisted fixes, and compliance mapping for VS Code, Cursor, Windsurf, and other VS Code-compatible editors. ArchitectureThis repository is the editor client. It does not contain a scanner, rulepacks, compliance seeds, exporters, validation prompts, or provider implementations. Those capabilities are owned by DevSecCode Core and exposed through Core's authenticated local The extension is responsible for:
Core is responsible for:
What it does
First run and trust modelFirst run does not require sign-in. The extension offers to download the signed Core artifact, starts it anonymously, and enables standard local file, workspace, and realtime scans plus SARIF. Signing in allows the extension to transport a short-lived Ed25519-signed v2 entitlement; Core verifies it and unlocks only the explicitly granted product capabilities. Missing, expired, or revoked paid access downgrades to Free without stopping Core. Advanced scan controls, compliance, advanced exports, evidence, dependency and
SBOM analysis, local/BYOK/frontier model orchestration, and remediation require
Individual or higher as reported by Core. Team, Business, and Enterprise add
their inherited organization capabilities. The The extension pins Core The Deva CLI uses the same signed artifact format and trust key, but packages one host-specific Core archive inside the CLI application. A working CLI installation therefore does not imply that a public standalone Core feed exists. The manifest signature is verified against the public key pinned in the VSIX before any manifest field or archive filename is trusted. The selected archive is then checked for its signed size and SHA-256 digest before extraction. Core is cached under the extension's VS Code global storage. Release artifacts are currently expected for macOS arm64, glibc-based Linux x64 at glibc 2.28 or newer, and Windows x64—the production matrix built and signed by Core. The extension verifies the Linux host's libc and version from the remote Extension Host before downloading or launching Core. Alpine/musl, older glibc, unknown libc, and Linux ARM fail closed with an actionable unsupported-runtime error. Additional libc or architecture combinations must first become Core-owned release targets. LLM modesAll scanner-bound LLM work goes through Core:
BYOK keys are stored in VS Code SecretStorage and supplied only to the Core process started by this extension. They are never written to workspace settings. Static scanning and paid compliance evaluation run locally. Network access is needed for the first Core download, online sign-in/entitlement refresh, local-model installation, and any selected cloud LLM provider. Once Core is acquired, Free scans continue offline indefinitely. DevelopmentPlace
For the standalone extension gate, including VSIX content auditing, run
The reference platform is Linux x64, matching Ubuntu CI and Core's current
Linux release target. Docker Desktop uses emulation on ARM development hosts.
The Dev Container configuration uses the same Dockerfile and installs the
lockfile with The Extension Development Host starts Core from the adjacent source checkout. Set LicenseProprietary. Use is governed by the Deva Security End User License Agreement in LICENSE.txt. Copyright (c) DevSecCode, Inc. All rights reserved. |