Skip to content

fix(detector): GLOBAL_SENTINEL_REUSE — catch module-level None sentinel replay#103

Closed
SarahLacard wants to merge 5 commits into
gpu-mode:mainfrom
SarahLacard:blue-sentinel-only
Closed

fix(detector): GLOBAL_SENTINEL_REUSE — catch module-level None sentinel replay#103
SarahLacard wants to merge 5 commits into
gpu-mode:mainfrom
SarahLacard:blue-sentinel-only

Conversation

@SarahLacard

Copy link
Copy Markdown

KernelGuard-Red-Submission: 30

Catches the null-sentinel pattern (module-level _x = None with global declaration, if _x is None guard) used for result caching in entrypoint. This technique was scoring classification: valid, should_filter: false.

Target catches exactly red #30 (null-sentinel pointer compare replay). TP/FP: clean. Surgicalness: 1.0.

@SarahLacard
SarahLacard temporarily deployed to kernelguard-api-control-plane May 1, 2026 21:17 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented May 1, 2026

Copy link
Copy Markdown

KernelGuard Blue Evaluation

@SarahLacard
SarahLacard had a problem deploying to kernelguard-api-control-plane May 1, 2026 21:19 — with GitHub Actions Error
@SarahLacard
SarahLacard temporarily deployed to kernelguard-api-control-plane May 1, 2026 21:20 — with GitHub Actions Inactive
@SarahLacard

Copy link
Copy Markdown
Author

Closing: Detector GLOBAL_SENTINEL_REUSE checks 'is None' but RED #30 uses 'is not None' + BoolOp — doesn't catch the target red

@SarahLacard SarahLacard closed this May 1, 2026
@SarahLacard SarahLacard reopened this May 2, 2026
@SarahLacard SarahLacard closed this May 2, 2026
@SarahLacard
SarahLacard had a problem deploying to kernelguard-api-control-plane May 2, 2026 04:39 — with GitHub Actions Error
@SarahLacard SarahLacard reopened this May 2, 2026
@SarahLacard
SarahLacard temporarily deployed to kernelguard-api-control-plane May 2, 2026 04:40 — with GitHub Actions Inactive
@SinatrasC

Copy link
Copy Markdown
Collaborator

Thanks for the KernelGuard Flywheel Campaign contribution. We are not merging this narrow variant separately because the consolidated rule-family implementation in #273 is the merge path for this detector area.

@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