| Version | Supported |
|---|---|
| 0.1.x | ✅ Current |
We support the latest minor release with security patches. Once a new minor or major version is published, prior versions receive patches only for critical vulnerabilities at maintainer discretion.
Please do not open public GitHub issues for security vulnerabilities.
Instead, use GitHub Private Vulnerability Reporting:
- Go to the Security Advisories tab
- Click "Report a vulnerability"
- Fill in the details — affected crate(s), reproduction steps, and impact assessment
Alternatively, contact the maintainers directly at: [maintainer email / Signal contact — fill in]
- Acknowledgment within 48 hours
- Initial assessment within 5 business days
- Patch timeline depends on severity:
- Critical / High: Target fix within 7 days
- Medium: Target fix within 30 days
- Low: Next scheduled release
- We will coordinate disclosure timing with you. We follow responsible disclosure practices.
- Vulnerabilities in
gvm-protocol,gvm-gmp,gvm-client, orgvm-connectioncrate code - Authentication bypass or credential exposure in transport handling (SSH, Unix socket, TLS)
- XML parsing vulnerabilities (injection, XXE, billion-laughs)
- Memory safety issues
- Dependency vulnerabilities with a viable attack path through our code
- Vulnerabilities in the mock server (
gvm-mock-server) — it is a testing tool, not production software - Issues in upstream dependencies without a demonstrated attack path through rust-gvm
- Denial-of-service via malformed GMP XML from a trusted gvmd server (trusted network assumption)
- cargo-audit runs in CI on every push and weekly via the Security workflow, checking against the RustSec Advisory Database
- cargo-deny enforces license compliance, bans, and source restrictions (see
deny.toml) - Dependabot monitors Cargo, pip, and GitHub Actions dependencies with weekly update PRs (
.github/dependabot.yml) - cargo-machete checks for unused dependencies in CI
No advisories in the current dependency graph are ignored. Any future exception must be documented in deny.toml with its rationale and tracking issue.
- All dependencies sourced exclusively from crates.io
- Git dependencies denied by default (
[sources] unknown-git = "deny") - GitHub Actions pinned to major version tags; Dependabot keeps them current
- SBOM (CycloneDX) generated on every release and nightly build
cargo clippywith-D warningsin CI#[deny(unsafe_code)]— no unsafe blocks in any crate- MSRV tested (currently Rust 1.89.0)
- All XML parsing uses
quick-xmlwith default limits (no unbounded expansion)
┌─────────────┐ GMP/XML ┌──────────┐
│ rust-gvm │◄────────────────►│ gvmd │
│ (client) │ Unix / SSH / TLS │ (server) │
└─────────────┘ └──────────┘
▲
│ The transport layer (gvm-connection) handles:
│ • SSH host key verification
│ • Unix socket file permissions (OS-level)
│ • TLS certificate validation (planned)
│
│ GMP authentication is username/password over
│ the encrypted transport — never plaintext TCP.
- gvmd is trusted: rust-gvm is a client library; it trusts the server's XML responses. Malicious server responses are out of scope (same trust model as python-gvm).
- Credentials: Passed at runtime, never stored by the library. Callers are responsible for secure credential management.
- Transport security: SSH and TLS transports encrypt all GMP traffic. Unix sockets rely on filesystem permissions.
| Feature | Status | Notes |
|---|---|---|
| Private vulnerability reporting | ⬜ Enable | Settings → Security → Advisories |
| Dependabot alerts | ✅ Active | Cargo + Actions + pip |
| Dependabot security updates | ⬜ Enable | Auto-PRs for vulnerable deps |
| Secret scanning | ⬜ Enable | Detects leaked credentials in commits |
| Secret scanning push protection | ⬜ Enable | Blocks pushes containing secrets |
| Code scanning (CodeQL) | ⬜ Optional | Limited Rust support; cargo-audit + clippy cover most cases |
| Branch protection | ⬜ Recommend | Require PR reviews + status checks on main |
| Signed commits | ⬜ Optional | Consider requiring for release tags |
| OSSF Scorecard | ⬜ Deferred | Requires public repo; workflow ready but commented out |
- Private Vulnerability Reporting: Repository Settings → Code security and analysis → Private vulnerability reporting → Enable
- Dependabot Security Updates: Settings → Code security and analysis → Dependabot security updates → Enable (complements the existing version update PRs with auto-fix PRs for known CVEs)
- Secret Scanning + Push Protection: Settings → Code security and analysis → Secret scanning → Enable both. Free for all repos since GitHub made it available to private repos.
- Branch Protection on
main:- Require pull request reviews (1 reviewer minimum)
- Require status checks: CI, Security
- Require linear history (optional, keeps history clean)
- Restrict who can push directly (admin-only bypass)
- OSSF Scorecard: Uncomment the workflow in
security.ymlwhen/if the repo goes public
| Date | Change |
|---|---|
| 2026-03-17 | Initial security policy |