-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Description
Maintained fork available: https://github.com/shakeyourbunny/CredentialManager
This fork addresses several security and correctness issues found in a code audit:
- BinaryFormatter replaced with System.Text.Json — BinaryFormatter is deprecated (SYSLIB0011) and vulnerable to arbitrary code execution (CWE-502)
- Persistence no longer hardcoded to Enterprise — credentials are no longer silently synced to domain controllers (fixes Unable to set persistence when saving credentials #69)
- JIT-safe memory zeroing — credential buffers are zeroed via RtlZeroMemory P/Invoke before CredFree()
- P/Invoke fixes — missing SetLastError, corrected buffer sizes
Also modernized: targets .NET 8.0 + .NET Standard 2.0, C# 12, nullable annotations, i18n (en/de/fr/es/it). Full audit findings in
https://github.com/shakeyourbunny/CredentialManager/blob/master/CHANGELOG.md.
NuGet: shakeyourbunny.CredentialManager (MIT, upstream attribution preserved)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels