| Version | Supported |
|---|---|
| 0.1.x | Yes |
If you discover a security vulnerability in NetDid, please report it responsibly. Do not open a public GitHub issue for security vulnerabilities.
- Email the maintainer directly with a description of the vulnerability
- Include steps to reproduce, if possible
- Allow reasonable time for a fix before public disclosure
- Acknowledgment within 48 hours
- A plan for remediation within 7 days
- Credit in the security advisory (unless you prefer to remain anonymous)
Security issues in the following areas are in scope:
- Cryptographic operations: Incorrect key generation, signing, verification, or key agreement
- Key material handling: Private key exposure, insufficient entropy, improper cleanup
- Serialization/parsing: Injection attacks via DID Documents, malformed input handling
- DID resolution: Resolution result spoofing, cache poisoning
- Vulnerabilities in upstream dependencies (report these to the respective project)
- Denial of service through resource exhaustion (unless trivially exploitable)
- Issues requiring physical access to the host machine
- Never log or serialize private key material
- Use
IKeyStoreimplementations backed by HSM or secure enclaves in production - The included
InMemoryKeyStoreis for development and testing only - Validate DID Documents from untrusted sources before trusting verification methods