DKNet

Security

This page covers what DKNet supports with security fixes, how to report a vulnerability, and the security-relevant behaviour of the packages themselves. The repository root SECURITY.md is the short version and links here.

Supported versions

DKNet has no long-term-support branches. Packages are published from main by .github/workflows/dotnet-publish.yml, which derives each version from the commit history with paulhatch/semantic-version in major.minor.patch form, so there is no maintained matrix of older lines.

Version Supported
The latest version of a package on NuGet ✅ Fixes land here
Any earlier version ❌ Upgrade to the latest

If upgrading is blocked by a breaking change, the Migration Guide documents the ones that have shipped.

Reporting a vulnerability

Do not open a public issue for a security problem.

Use GitHub’s private vulnerability reporting for this repository: https://github.com/baoduy/DKNet/security/advisories/new. That channel is private to the maintainers until an advisory is published.

Please include the affected package and version, what an attacker can do, and a minimal reproduction. There is no published response-time commitment — DKNet is a volunteer-maintained open-source project.

Automated checks in CI

Two scanners run over the repository, and their findings are triaged like any other defect:

src/Directory.Build.props sets TreatWarningsAsErrors and Nullable=enable solution-wide, so a nullability mistake in a security-relevant path fails the build rather than shipping.

Security-relevant package behaviour

Each of these is a decision the packages make on your behalf. Read the ones you use.

Secrets and randomness

Encryption keys

Row-level isolation

Audit trails

File storage

Idempotency keys

Your responsibilities

DKNet does not authenticate or authorise callers. It gives you row-level ownership filtering, column encryption, audit redaction, and idempotency; authentication, authorisation policies, transport security, and key rotation remain yours. Keep the values listed in Environment and secrets out of source control.