Skip to main content

Security & Privacy

Source code
Local scans keep source code on your machine. The CLI and GitHub Action run the scanner where your code already is and upload nothing automatically.
What an upload contains
Only the scan result: rule ids, severities, project-relative file paths and line numbers, masked evidence and the fix guidance. No source files and no raw secrets.
Secrets
Raw secrets are masked before they leave your machine. As a second line of defence the server scans every uploaded text field and rejects the whole upload if something looks like an unmasked secret.
Cloud scans (ZIP)
Uploaded archives are analyzed statically and never executed: no install, build or start, and no git commands. Extraction refuses path traversal, absolute paths, symlinks, nested archives, zip bombs and oversized archives. The scan runs in a separate process with a memory cap, a timeout and no access to server secrets. The upload and the extracted copy are deleted when the scan ends. This is process isolation, not a container sandbox.
AI
Optional (Google Gemini) and off unless the server has a key; you can also switch it off in your settings. It explains a finding and suggests a fix; it cannot change findings. Only the finding's stored description and your question are sent, with secrets redacted. DevArmour does not store source code, so none is sent. Answers are labelled as AI recommendations. Not yet tested against the live Gemini API.
GitHub
Optional GitHub App with read-only Contents and Metadata access to repositories you choose. The installation is verified against your own GitHub account, access tokens are kept in memory for one scan and never stored, and the code is scanned like a ZIP and deleted. This integration has not yet been tested against live GitHub.
Accounts
Passwords are hashed with scrypt. Sessions are signed, HTTP-only cookies. Roles and organization membership are read from the database on every request; every query is scoped to your organization.
API tokens
Tokens are project-scoped, stored only as SHA-256 hashes, shown once and revocable.
Deletion and audit
Admins can delete projects and all their scan data. Security-relevant actions are recorded in an audit log.
Known gaps
Email verification and password reset are not implemented. Rate limits are per server instance. The Content-Security-Policy does not yet restrict scripts. The database layer has not yet been validated against a real PostgreSQL. See docs/SECURITY_REVIEW.md in the repository.