Skip to content

fix(detector): detect exec string pointer replay#224

Open
prasannakotyal wants to merge 1 commit intoSinatrasC:mainfrom
prasannakotyal:kg-blue-exec-string-pointer-red-85
Open

fix(detector): detect exec string pointer replay#224
prasannakotyal wants to merge 1 commit intoSinatrasC:mainfrom
prasannakotyal:kg-blue-exec-string-pointer-red-85

Conversation

@prasannakotyal
Copy link
Copy Markdown

KernelGuard-Red-Submission: 85

Adds a narrow LAST_CALL_REPLAY pass for constant exec/builtins.exec strings that install custom_kernel and contain a data_ptr()-keyed output replay cache.

The detector requires:

  • a constant string passed to exec or builtins.exec
  • the exec payload to reference custom_kernel
  • a data_ptr()-derived key
  • a cache membership fast path returning cache[key]
  • a later cache[key] = ... store in the exec payload

Local validation:

  • UV_CACHE_DIR=/tmp/uvcache uv run python -m py_compile competition_state/kernelguard_mirror/kernelguard.py
  • UV_CACHE_DIR=/tmp/uvcache uv run python kernelguard_bypasses/eval_blue_patch.py competition_state/kernelguard_mirror/kernelguard.py
  • external accepted reds filtered locally: 85 and 343

Target red artifact: SarahLacard red 85, builtins.exec attribute call.

@prasannakotyal prasannakotyal temporarily deployed to kernelguard-api-control-plane May 2, 2026 17:15 — with GitHub Actions Inactive
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 2, 2026

KernelGuard Blue Evaluation

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