There is PR for laravel 12 Compatibility. https://github.com/jorijn/laravel-security-checker/pull/60
You should follow the package to check when it be update