Repository navigation
Remove the XGBoost malware classifier and --fail-on-malware (Part of #8430) - #8704
Conversation
…8430) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…L rule are gone (Part of #8430) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…flag-gone test (Part of #8430) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…8430) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…art of #8430) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #8704 @ 9bd968b: 2 failed check(s) == Analyze (python) (failure) -- real == CodeQL (failure) -- real |
|
No description provided. |
|
No description provided. |
…ed-argument in the classifier-gone test (Part of #8430) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (ab7f54f) is not the one a maintainer labelled |
…t a bad call (Part of #8430) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (56900e4) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
PR #8704 @ 56900e4: 15 failed check(s) == crucible (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == equivalence-e2e (cancelled) -- infra == full-suite (cancelled) -- infra == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (cancelled) -- infra == publish-history (cancelled) -- infra == runner-tests (failure) -- real == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == shard 2 (1669485 LOC) (cancelled) -- infra == shard 3 (1670389 LOC) (cancelled) -- infra == shard 4 (1669847 LOC) (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
No description provided. |
|
No description provided. |
Part of #8430 (slice 1 of 2: code, CLI, output keys, goldens, extras, Action/workflows, tests). Slice 2 (hand-written docs) follows.
File-cap exception: atomic XGBoost removal, 46 files (owner-granted)
File-cap exception: atomic removal of the XGBoost classifier (#8430)
Owner decisions
Owner OK (2026-11-20): File-cap exception granted for this atomic 46-file removal of the XGBoost classifier.
Owner decision 2026-11-19: remove the classifier. Remove the XGBoost malware classifier and
--fail-on-malwarefor now. No model ships and it never runs, so it is removed rather than kept as a dormant claim. A future model comes back only with a labelled, measured evaluation (see #96). Keep what works without the model: the transitive upstream/downstream dependency counts and the manual--shadow-patch-detectedalert (#8431).What changed
security_auditor.py: the model load/inference path is gone.SecurityAuditorkeeps the transitive dependency counts and the manual shadow-patch alert.galaxyscope.py:--fail-on-malware, the malware gate, the ML suppression and the ML banners are removed;missing_dependencies()now reports only tiktoken and pyyaml.Inference Ran, the XGBoost audit block,GG-ML-*SARIF results and rule, the GPUai_threatsarray, and theai_threat_*/is_malwarecolumns offile_data(an old DB keeps its extra columns; the INSERT names its columns).fullextra is PyYAML and tiktoken;ci/requirements/{engines,test}regenerated without xgboost, scikit-learn, pandas, numpy.docs_read_by_tests.txtregenerated withchange_classifier.py --write.test_ml_*deleted, the rest rewritten; a new test pins that--fail-on-malwareis refused by argparse.golden-lock.sh ... crucible_check.py --update --yes(both fixtures). Every diff comes from this removal: theml_threat_intelligence_xgboostpart is deleted;analysis_contextloses the numpy/pandas/xgboost keys;gpu_jsonlosesai_threats;llm_briefloses the ML status and section;sarifloses theGG-ML-STEALER_TROJANrule.Gates
audit_check.py: all clear (dead-key:structural_massandsilo_riskare SQLite columns whose only dict-literal "writer" was the removed ML feature builder, so they are allowlisted with that reason; mypy:session_metaannotateddict[str, Any]).pr_gates.py --fast: lint, audits, secrets, xray, gen-docs, gauntlet, workflows PASS.derived(docs_read_by_tests.txt) and theaffectedfailurestest_cli_contract(flag row) andtest_pipeline_pins(libomp brew entries) were mine and are fixed in later commits; the remainingaffectedfailure (test_bms_occurs_grpname_census_5116, HCMAPS) needs the example-health-apis clone, which is not fetched on this box.pr_gates.py --ratchets: cics-spec, ports, port-surface, estate, det-mutation, time PASS. fact-crosscheck, completeness and ground-truth FAIL because mainframe corpora (example-health-apis) are not fetched on this box; not re-run, CI decides.Doc-refs fixes:
docs/wiki/02-20-security-auditor.md(one reference to a deleted test replaced by "(removed in #8430)");docs/wiki/01-02-galaxyscope-cli-reference.md(the--fail-on-malwareflag row removed, forced bytest_cli_contract). Both pages are rewritten in slice 2.Class / Sibling gaps
Class: a feature (the XGBoost classifier) removed from code while surfaces outside the engine still name it. Sibling gaps: (1)
templates/requirements/*lockfiles pin the released 2.11.0 and still list xgboost/numpy until the next release re-pin; (2).github/dependabot.ymlignores andtests/tools/pin_requirements.pyMULTIVERSION_PACKAGESstill list xgboost/numpy; (3)tests/tools/doom_speedrun/doom_scorer.pyENGINE_WIDEregex and thetests/mypy_audit.pydocstring mention it; (4) the external 3D viewer reads the GPUai_threatsarray that is no longer emitted; (5) all hand-written docs (README, wiki,docs/zero_dependency_mode.md, Action README,gitgalaxy/security/README.md, claims inventory): slice 2.Lessons for agents
sync-pins.shplaces the crucible checkouts under/home/joe/gitgalaxy/<name>on this box; export the three*_CRUCIBLE_PATHvariables to those paths.🤖 Generated with Claude Code