Developer releases open-source Symfony bundle to mask sensitive data in logs
A developer has released MaskedBundle, an open-source Symfony bundle designed to prevent sensitive information such as payment card numbers and access tokens from appearing in application logs and diagnostic output. The bundle offers automatic detection of payment card numbers as well as explicit masking of values passed directly by the application, and both methods can be used together. It includes optional Monolog integration, allowing messages and context to be masked before being written to logs. To reduce security risk, the bundle is designed to fail closed when processing limits are exceeded, rather than returning partially masked data. MaskedBundle requires PHP 8.4.1 or higher and Symfony 8.1 or higher, and is available under the MIT licence on GitHub and Packagist.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in