ci/security/test: automated audit fixes for QuantStrategyPlugins#34
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
bc81f35 to
a898912
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Automated audit fixes for
QuantStrategyPluginsfocused on safe audit logging, PR static guard secret redaction, and CI quality gates.Problems found
scripts/gate_codex_app_review.pyreported the matched hardcoded-secret snippet in check output, which can leak the suspected secret value into CI logs or PR diagnostics.ai_auditscrubbed common API key/header shapes, but did not redact assignment-style secret text such asapi_key=...,token=..., orpassword=...in network errors, gateway fallback logs, and AI audit failure summaries.Fixes applied
field=<redacted>while preserving the file path and field name for review.pip checkand package build gates; addedbuildto the test extra only.Security impact
pip-auditfound no known vulnerabilities in the installed local environment.Architecture impact
Tests run
actionlint.venv/bin/python -m pip check.venv/bin/ruff check ..venv/bin/python -m pytest -q→88 passed.venv/bin/python -m builduvx pip-audit --path .venvgit diff --checkFailed or skipped checks with reasons
python -m buildsucceeds but emits a setuptools deprecation warning forproject.licensetable syntax; left as follow-up to avoid raising the build backend requirement in this security/CI patch.Deployment notes
Rollback plan
main.main.Manual follow-up checklist
pyproject.tomllicense metadata and raise the setuptools build-system minimum before 2027-02-18.