Security Policy
Supported versions
| Version | Supported |
|---|---|
| 1.0.x (latest) | ✅ |
| < 1.0.6 | ⚠️ Upgrade recommended (see CHANGELOG for hardening fixes) |
Reporting a vulnerability
Please do not open a public issue for security problems. Use GitHub’s private vulnerability reporting (“Security” tab → “Report a vulnerability”) on the Nilog repository. Include the affected version, a minimal reproduction and the impact you expect. You can expect an acknowledgement within 7 days.
Scope and responsibilities
Nilog is a call-site extension layer over Microsoft.Extensions.Logging.
| Concern | Owner |
|---|---|
| Shared dictionary admission limits and built-in report/typed-format safeguards (see README limits) | Nilog |
| Redaction of secrets/PII in arguments and exception messages | The application |
| Log-forging protection (newline/control characters in values), encoding, retention | The provider / sink |
Exceptions thrown by providers’ Log implementation |
The provider (they propagate) |
| Templates must be compile-time constants; never build templates from untrusted input | The application (analyzer NILOG001/NILOG003 helps) |
Exception.Data is intentionally omitted from built-in report text. The original exception
object is still forwarded to the provider; a custom formatter may expose different fields.
Dictionary cache limits exclude per-thread last-template slots. Report output limits do not bound
all temporary allocation, compact title/source text or custom formatter output. See the README’s
implementation limits before treating these safeguards as a memory or
redaction boundary.
Supply chain
- Root GitHub Actions workflows pin actions to commit SHAs and default to read-only permissions. The nested
Nilog/.github/workflows/ci.ymlis retained historical configuration outside root workflow discovery. - Root CI uses
packages.lock.jsonand--locked-modefor the solution restore. The analyzer test step can perform its own restore; release demo restore/publish also does not consistently pass locked mode. - Package signing and SBOM publication are release-time procedures that require maintainer credentials; they are not performed by the repository automatically.
Documentation links
Read all Nilog guides online · Project overview · All developer projects