potiuk opened a new pull request, #66500: URL: https://github.com/apache/airflow/pull/66500
SimpleAuthManager generated initial passwords with `random.choices()` — a non-cryptographic PRNG. Switch to `secrets.choice()` so the generated passwords use a CSPRNG. SimpleAuthManager is documented as dev-only and the password is printed once at startup, so the practical risk is low — but the fix is one line and removes a misleading signal in security audits. Reported in apache/tooling-agents#23 (ASVS L1 finding F-003). --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Opus 4.7 (1M context) Generated-by: Claude Opus 4.7 (1M context) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
