Skip to content

chore(deps): bump pyo3 to 0.24.x in boar_fast_filter (Dependabot / RUSTSEC) - #266

Closed
FabioLeitao wants to merge 1 commit into
mainfrom
cursor/dependabot-cargo-pyo3-rustsec-029b
Closed

FabioLeitao wants to merge 1 commit into
mainfrom
cursor/dependabot-cargo-pyo3-rustsec-029b

Conversation

@FabioLeitao

Copy link
Copy Markdown
Collaborator

Summary

Bumps pyo3 from 0.23 to 0.24 in rust/boar_fast_filter and regenerates Cargo.lock, addressing the Low Dependabot / RUSTSEC class advisory on the older pyo3 line (defense-in-depth; our extension uses prelude + PyRuntimeError only, no PyString::from_object).

Verification

  • cargo test and cargo clippy -- -D warnings in rust/boar_fast_filter.
  • Full repo gate: ./scripts/check-all.sh (pre-commit + 984 passed, 5 skipped). Note: Linux agents need pwsh on PATH for PowerShell parse tests; installed PowerShell 7.6 in this environment to match CI parity.

Scope

  • No pyproject.toml / uv.lock / requirements.txt changes (Python tree unchanged).

Closes or supersedes the cargo Dependabot queue item aligned with open #226 when merged.

Slack Thread

Open in Web Open in Cursor 

Mitigates RustSec advisory on pyo3 0.23 (PyString::from_object UB).
Regenerated Cargo.lock; cargo test + clippy -D warnings clean.
Full gate: ./scripts/check-all.sh (984 passed).

Co-authored-by: Fabio Tavares Leitão <[email protected]>
@FabioLeitao
FabioLeitao force-pushed the cursor/dependabot-cargo-pyo3-rustsec-029b branch from c01d65e to ec286a2 Compare May 3, 2026 17:52
FabioLeitao added a commit that referenced this pull request May 3, 2026
Consolidates the 11 draft audit / refusal PRs opened today around a single
Dependabot signal (pyo3 0.23.5 -> 0.24.1) into one blameless RCA. Doc-only;
zero blast radius on connectors / sampling / locks.

- New: docs/ops/sre_audits/AUDIT_PR_SWARM_POSTMORTEM_2026-04-27.md
- Index: docs/ops/sre_audits/README.md (adds 3 missing rows incl. this file)

Respects ADR 0018 / 0019 (PII guards verified green on this branch),
DEFENSIVE_SCANNING_MANIFESTO §1.3 (no surprise side effects), and
THE_ART_OF_THE_FALLBACK §3 (diagnostic-on-fall, not silent re-derivation).

GTD: merge PR #226 (Dependabot, all 9 checks green); close #266 / #267 / #268
/ #269 as superseded once #226 lands.

Co-authored-by: Fabio Tavares Leitão <[email protected]>
FabioLeitao added a commit that referenced this pull request May 3, 2026
…020 (pyo3)

Reverses the 'fabricated alert' verdict from PR #267 / #268 on the
specific question of Dependabot alert #31.

Operator pasted https://github.com/FabioLeitao/data-boar/security/dependabot/31
in #data-boar-ops at 2026-04-27 ~21:43 UTC. Cloud Agent integration
token returns 403 on /repos/.../dependabot/alerts/31 — true. Previous
passes mistook that for 'alert does not exist' and labeled the trigger
hostile. That is a raw-string-heuristic-over-parser-grade-signal mistake
called out in docs/ops/inspirations/THE_ART_OF_THE_FALLBACK.md section 2.

Correct fallback (this audit): query OSV.dev keyed on the Cargo.lock
resolved version (pyo3 0.23.5). One advisory matches —
RUSTSEC-2025-0020 / GHSA-pph8-gcv7-4qj5, Low severity, fixed in 0.24.1.
Bump is already in flight on PR #226 (Dependabot) and PR #266
(operator). Maintainer picks one to merge; the other closes as
superseded.

Defensive Architecture posture preserved (Cargo path, no DB connector,
sampling, or licensing code touched). LMDE-issue-style mold (verbatim
commands, smallest claim, explicit reversal of prior verdict) per
PR #259 / #261 / #267 / #268 precedent.

- docs/ops/sre_audits/DEPENDABOT_31_RECONCILIATION_PYO3_RUSTSEC_2025_0020_2026-04-27.md
- docs/ops/sre_audits/README.md (index)

Co-authored-by: Fabio Tavares Leitão <[email protected]>
@FabioLeitao FabioLeitao closed this May 3, 2026
@FabioLeitao
FabioLeitao deleted the cursor/dependabot-cargo-pyo3-rustsec-029b branch May 3, 2026 18:39
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.

2 participants