Skip to content

MaskedBundle v0.1.0

Choose a tag to compare

@alkinbg alkinbg released this 19 Aug 04:10
· 24 commits to main since this release
v0.1.0

MaskedBundle v0.1.0

First public release of MaskedBundle — a Symfony bundle for sensitive data detection and masking.

Highlights

  • Automatic detection and masking of payment card numbers in free text
  • Explicit masking of passwords, API tokens, credentials and application-specific secrets
  • Recursive masking of structured array data and array keys
  • SensitiveLogger integration for masking PSR-3 messages and context
  • Monolog 3 processor integration
  • Dedicated sensitive LineFormatter and JsonFormatter
  • Configurable Unicode-safe mask character
  • Defensive limits for pathological or excessively large inputs
  • Fail-closed behavior when masking safety budgets are exceeded
  • Shared exact-value search budgets across structured data and logging operations
  • Protection of sensitive method arguments with PHP #[SensitiveParameter]
  • No shared mutable secret registry

Requirements

  • PHP 8.4.1+
  • Symfony 8.1+
  • ext-mbstring

Monolog integration is optional and currently targets Monolog API 3.

Installation

composer require alkinbg/masked-bundle

Status

This is the first public 0.x release. The main application-facing API is available and tested, while implementation details marked @internal may continue to evolve before 1.0.0.

Full usage examples, configuration details and security considerations are available in the project README.