Four findings of Prüfwerk's scan of its own repository, each a test value:
- scripts/test_codesys_export.py ran the export script with
exec(compile(...)) (semgrep exec-used). runpy.run_path runs it the same
way, with the Script Engine's `projects` as an initial global, without
eval.
- patterns.rs: the oauth-token-url test held the strings the rule matches,
so the rule matched its own test. The strings are now split with
concat!, and the test checks the same.
- A made-up Firebase-shaped key in gitleaks.rs's tests and the throwaway
MongoDB password of a CI test container are in the git history, which
the secret scanner walks. .gitleaksignore lists their fingerprints
(commit:file:rule:line); gitleaks honours it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>