Skip to content

security: fix open CodeQL, Dependabot, advisory, and CodeQL merge_group issues - #2704

Merged
abrichr merged 1 commit into
mainfrom
fix/security-alerts
Nov 26, 2026
Merged

abrichr merged 1 commit into
mainfrom
fix/security-alerts

Conversation

@abrichr

@abrichr abrichr commented Nov 25, 2026

Copy link
Copy Markdown
Member

Summary

Fixes all actionable open security alerts on OpenAdaptAI/OpenAdapt and stops CodeQL from running on ephemeral merge_group refs:

Code Scanning (CodeQL — 21 code fixes + 2 dismissed synthetic-fixture false positives)

Security Advisories (triage)

  • GHSA-2ffc-7wmp-rx4h (critical) & GHSA-h7h2-v3xj-fhqw (high): Replaced eval(completion) with ast.literal_eval(completion) in legacy/openadapt/utils.py.

Dependabot

CodeQL Workflow

  • Removed merge_group: trigger from .github/workflows/codeql.yml (and added regression assertion in tests/test_ci_efficiency_gating.py) so CodeQL runs on push to main, weekly schedule, and workflow_dispatch without failing on deleted temporary merge-queue refs.

Verification

  • ruff check and ruff format --check on modified Python files: passed
  • pytest tests/test_ci_efficiency_gating.py tests/test_protected_safety_review.py: 364 passed
  • packages/types (pytest tests/): 938 passed
  • packages/flow (pytest tests/test_registry_snapshot.py tests/test_openemr_benchmark.py tests/test_hybrid_benchmark.py): 127 passed
  • packages/verify (pytest tests/test_tx_verify_facade.py): 4 passed

@abrichr
abrichr enabled auto-merge November 25, 2026 22:24
@abrichr
abrichr force-pushed the fix/security-alerts branch from 653ceba to d48a08b Compare November 25, 2026 23:08
@abrichr
abrichr added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 7a523ba Nov 26, 2026
62 of 63 checks passed
@abrichr
abrichr deleted the fix/security-alerts branch November 26, 2026 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant