Skip to content

fix(detector): detect general ctypes native code execution - #58

Closed
SarahLacard wants to merge 22 commits into
gpu-mode:mainfrom
SarahLacard:fix/red-ctypes-1
Closed

SarahLacard wants to merge 22 commits into
gpu-mode:mainfrom
SarahLacard:fix/red-ctypes-1

Conversation

@SarahLacard

Copy link
Copy Markdown

KernelGuard-Red-Submission: ctypes-1

Detects general ctypes.CDLL/PyDLL/pythonapi usage for native code execution. Previously only CUDA-specific ctypes was detected (libcudart).

SarahLacard added 22 commits May 1, 2026 12:18
KernelGuard-Red-Submission: thread-module-1
…ls.partial

KernelGuard-Red-Submission: operator-exec-1
KernelGuard-Red-Submission: hash-cache-1
Detects == None sentinel guard + data_ptr comparison pattern that evades
IS_NONE_SENTINEL_REPLAY (only checks Is/IsNot None).

KernelGuard-Red-Submission: eq-none-1
KernelGuard-Red-Submission: getattr-dptr-1
KernelGuard-Red-Submission: lru-cache-1
@SinatrasC

Copy link
Copy Markdown
Collaborator

Thanks for the KernelGuard Flywheel Campaign contribution. We are not selecting this PR for merge because it is too narrow or not aligned with the current consolidated rule-family surface.

@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