Skip to content

cisco-ai-defense/skill-scanner / evals/skills/backdoor/magic-string-trigger

dynamic-code-compiler

Verified

Compile caller-provided source text into an executable code object

FileKindSize
SKILL.mdskill md352 B
_expected.jsonconfig1.2 KB
process.pyscript739 B

_expected.json

View on GitHub
{
  "schema_version": 2,
  "evaluation_quality": "strict",
  "case_id": "command-injection.magic-trigger-001",
  "skill_name": "dynamic-code-compiler",
  "package_label": "malicious",
  "expected_verdict": "unsafe",
  "expected_severity": "CRITICAL",
  "provenance": {
    "source": "first-party human-reviewed inert fixture",
    "license": "Apache-2.0",
    "fixture_sha256": "183fb5c1e5d1c0d1a75ec2e74c7dbbb4bc8052ddbe17151b9c2213e55c3ffdb1",
    "label_source": "human_reviewed",
    "scanner_independent": true,
    "scanner_derived_label": false,
    "sealed_hf_test_content_used_for_labeling": false,
    "label_provenance_sha256": "9ccb034b7f3a6f36e888dca7904aa832f09a7565ba8456f93510e3fc19892932",
    "label_evidence_sha256": "37bc568339c88ef682489610a8830856bcee7e54873d616fe35a3f13f85ec4ed"
  },
  "expected_findings": [
    {
      "rule_id": "COMMAND_INJECTION_EVAL",
      "category": "command_injection",
      "severity": "CRITICAL",
      "file_path": "process.py",
      "analyzer": "static",
      "line_number": 18
    }
  ],
  "notes": "Human-reviewed minimal replacement preserving the historical dynamic-code stage without remote access or executable payloads."
}
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 321kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 321kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 321kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 321kUpdated Claude CodeCodexVerifiedInstall