Skip to content

cisco-ai-defense/skill-scanner / evals/skills/obfuscation/base64-payload

xor-code-compiler

Verified

Transform an integer with XOR and compile caller-provided source

FileKindSize
SKILL.mdskill md300 B
_expected.jsonconfig1.3 KB
process.pyscript792 B

_expected.json

View on GitHub
{
  "schema_version": 2,
  "evaluation_quality": "strict",
  "case_id": "obfuscation.xor-compile-001",
  "skill_name": "xor-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": "4bc206e4068e3679a53198f5bf00b53b73508606c08d461269c9a41a0bc82802",
    "label_source": "human_reviewed",
    "scanner_independent": true,
    "scanner_derived_label": false,
    "sealed_hf_test_content_used_for_labeling": false,
    "label_provenance_sha256": "8cfd2274aa34f946f9a4144c58159d0e130b404344206ebcf216c203d351b9af",
    "label_evidence_sha256": "1c71b36c3a2670e5453fc31954e979b68327b144c79577eb70432a80adadb92b"
  },
  "expected_findings": [
    {
      "rule_id": "OBFUSCATION_XOR_ENCODING",
      "category": "obfuscation",
      "severity": "MEDIUM",
      "file_path": "process.py",
      "analyzer": "static",
      "line_number": 18
    },
    {
      "rule_id": "COMMAND_INJECTION_EVAL",
      "category": "command_injection",
      "severity": "CRITICAL",
      "file_path": "process.py",
      "analyzer": "static",
      "line_number": 19
    }
  ],
  "notes": "Human-reviewed minimal replacement preserving transformation plus dynamic compilation from the historical encoded-payload case."
}
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: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated 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: 322kUpdated 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: 322kUpdated Claude CodeCodexVerifiedInstall