Skip to content

fix(detector): detect protocol class sentinel replay#259

Closed
prasannakotyal wants to merge 2 commits into
gpu-mode:mainfrom
prasannakotyal:kg-blue-class-sentinel-red-794
Closed

fix(detector): detect protocol class sentinel replay#259
prasannakotyal wants to merge 2 commits into
gpu-mode:mainfrom
prasannakotyal:kg-blue-class-sentinel-red-794

Conversation

@prasannakotyal

Copy link
Copy Markdown

Summary

  • add class-sentinel replay detection for class attributes initialized to None and filled from input-derived output
  • allow simple one-hop inherited class sentinels for ABC-shaped variants
  • include the companion global-sentinel and bmm self-output coverage from the same visible red batch

Target

KernelGuard-Red-Submission: 794

Validation

  • UV_CACHE_DIR=/tmp/uvcache uv run python -m py_compile kernelguard.py
  • red 794 sample: classification=hacked, should_filter=true, pattern LAST_CALL_REPLAY
  • red 792/793/795/796 samples: classification=hacked, should_filter=true
  • UV_CACHE_DIR=/tmp/uvcache uv run python ../../kernelguard_bypasses/eval_blue_patch.py kernelguard.py clean fixtures remain should_filter=False

@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:39 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:39 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:39 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:40 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:40 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:47 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:47 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:47 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:47 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:47 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:47 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:47 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:48 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:48 — with GitHub Actions Inactive
@prasannakotyal
prasannakotyal temporarily deployed to kernelguard-api-control-plane May 7, 2026 15:48 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown

KernelGuard Blue Evaluation

@SinatrasC

Copy link
Copy Markdown
Collaborator

Thanks for the KernelGuard Flywheel Campaign contribution. This PR is now superseded by the consolidated rule-family implementation in #273, which folds this detector coverage together with the related passing-eval variants.

@SinatrasC SinatrasC closed this Jun 20, 2026
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