Skip to content

Hard fork of AdysTech / CredentialManager -- v3.0.0 #71

@shakeyourbunny

Description

@shakeyourbunny

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions