compileiq-author-objective

Pass

Audited by Gen Agent Trust Hub on Nov 19, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill provides instructions and templates for executing shell commands via the subprocess module and direct CLI strings. This is the primary intended functionality of the skill, as it wraps compiler tools such as nvcc and ptxas to perform iterative optimization. These operations are performed within the scope of generating build artifacts for performance tuning.
  • [DYNAMIC_EXECUTION]: Template 5 in references/templates.md demonstrates the use of monkey-patching to intercept method calls in the cutlass library (CompileCallable.__call__). This allows the user to inject custom compiler options without modifying the library source code. While this is a form of dynamic code modification, it is applied here specifically for integrating the CompileIQ workflow with third-party CUDA template libraries.
  • [INDIRECT_PROMPT_INJECTION]: The skill includes instructions for creating objective functions that ingest external configuration data (as hex-encoded binary blobs). This configuration is passed directly to sub-processes (compilers). The skill recommends best practices to mitigate risks, such as enforcing correctness checks against a reference before timing and handling failures with sentinel values like INVALID_SCORE.
  • Ingestion points: The config parameter in the objective(config) function (e.g., in SKILL.md and references/templates.md).
  • Boundary markers: Not explicitly present for the binary blobs, which is standard for binary data formats.
  • Capability inventory: The skill leverages subprocess.run for compiler invocation and save_compiler_config for local file writes to temporary directories.
  • Sanitization: The skill relies on the underlying compiler (ptxas/nvcc) to validate the binary configuration blobs (ACF files) and instructs the user to implement explicit correctness validation (torch.allclose) on kernel outputs.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 19, 2026, 11:00 AM