{
  "skill_name": "infographics",
  "skill_path": "/home/runner/work/skill-scanner-test/skill-scanner-test/scripts/../skills/K-Dense-AI-scientific-agent-skills/skills/infographics",
  "is_safe": false,
  "max_severity": "CRITICAL",
  "findings_count": 7,
  "findings": [
    {
      "id": "CROSSFILE_ENV_VAR_EXFILTRATION_228a7cd9ce",
      "rule_id": "BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION",
      "category": "data_exfiltration",
      "severity": "CRITICAL",
      "title": "Cross-file env var exfiltration: 2 files",
      "description": "Environment variable access with network calls in scripts/generate_infographic.py, scripts/generate_infographic_ai.py",
      "file_path": null,
      "line_number": null,
      "snippet": null,
      "remediation": "Review data flow across files: scripts/generate_infographic.py, scripts/generate_infographic_ai.py",
      "analyzer": "behavioral",
      "metadata": {
        "aisubtech": "AISubtech-8.2.3",
        "files_involved": [
          "scripts/generate_infographic.py",
          "scripts/generate_infographic_ai.py"
        ],
        "threat_type": "env_var_exfiltration",
        "evidence": {
          "env_var_files": [
            "scripts/generate_infographic.py",
            "scripts/generate_infographic_ai.py"
          ],
          "network_files": [
            "scripts/generate_infographic_ai.py"
          ]
        },
        "rule_contract": {
          "status": "invalid",
          "schema_version": 2,
          "errors": [
            {
              "code": "UNKNOWN_BUNDLED_PYTHON_RULE",
              "rule_id": "BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION",
              "expected": "declared core schema-v2 Python rule",
              "actual": "missing"
            }
          ]
        },
        "aitech": "AITech-8.2",
        "aitech_name": "Data Exfiltration / Exposure",
        "aisubtech_name": "Data Exfiltration via Agent Tooling",
        "aitech_mappings": [
          "OWASP: LLM02:2026: Sensitive Information Disclosure",
          "OWASP: ASI09: Human-Agent Trust Exploitation",
          "MITRE ATLAS: AML.T0024.000: Exfiltration via AI Inference API: Infer Training Data Membership",
          "MITRE ATLAS: AML.T0035: AI Artifact Collection",
          "MITRE ATLAS: AML.T0037: Data From Local System",
          "MITRE ATLAS: AML.T0057: LLM Data Leakage",
          "NIST AML: NISTAML.037: Training Data Attacks"
        ],
        "aisubtech_mappings": [
          "OWASP: LLM02:2026: Sensitive Information Disclosure",
          "OWASP: ASI02: Tool Misuse & Exploitation",
          "OWASP: ASI09: Human-Agent Trust Exploitation",
          "MITRE ATLAS: AML.T0086: Exfiltration via AI Agent Tool Invocation",
          "NIST AML: N/A"
        ],
        "framework_mappings": [
          "OWASP: LLM02:2026: Sensitive Information Disclosure",
          "OWASP: ASI02: Tool Misuse & Exploitation",
          "OWASP: ASI09: Human-Agent Trust Exploitation",
          "MITRE ATLAS: AML.T0086: Exfiltration via AI Agent Tool Invocation",
          "NIST AML: N/A"
        ],
        "taxonomy_status": "mapped",
        "taxonomy_source": "finding"
      }
    },
    {
      "id": "CROSSFILE_EXFILTRATION_CHAIN_d45e519ebd",
      "rule_id": "BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN",
      "category": "data_exfiltration",
      "severity": "CRITICAL",
      "title": "Cross-file exfiltration chain: 2 files",
      "description": "Multi-file exfiltration chain detected: scripts/generate_infographic.py, scripts/generate_infographic_ai.py collect data \u2192 scripts/generate_infographic_ai.py \u2192 scripts/generate_infographic_ai.py transmit to network",
      "file_path": null,
      "line_number": null,
      "snippet": null,
      "remediation": "Review data flow across files: scripts/generate_infographic.py, scripts/generate_infographic_ai.py",
      "analyzer": "behavioral",
      "metadata": {
        "aisubtech": "AISubtech-8.2.3",
        "files_involved": [
          "scripts/generate_infographic.py",
          "scripts/generate_infographic_ai.py"
        ],
        "threat_type": "exfiltration_chain",
        "evidence": {
          "collection_files": [
            "scripts/generate_infographic.py",
            "scripts/generate_infographic_ai.py"
          ],
          "encoding_files": [
            "scripts/generate_infographic_ai.py"
          ],
          "network_files": [
            "scripts/generate_infographic_ai.py"
          ]
        },
        "rule_contract": {
          "status": "invalid",
          "schema_version": 2,
          "errors": [
            {
              "code": "UNKNOWN_BUNDLED_PYTHON_RULE",
              "rule_id": "BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN",
              "expected": "declared core schema-v2 Python rule",
              "actual": "missing"
            }
          ]
        },
        "aitech": "AITech-8.2",
        "aitech_name": "Data Exfiltration / Exposure",
        "aisubtech_name": "Data Exfiltration via Agent Tooling",
        "aitech_mappings": [
          "OWASP: LLM02:2026: Sensitive Information Disclosure",
          "OWASP: ASI09: Human-Agent Trust Exploitation",
          "MITRE ATLAS: AML.T0024.000: Exfiltration via AI Inference API: Infer Training Data Membership",
          "MITRE ATLAS: AML.T0035: AI Artifact Collection",
          "MITRE ATLAS: AML.T0037: Data From Local System",
          "MITRE ATLAS: AML.T0057: LLM Data Leakage",
          "NIST AML: NISTAML.037: Training Data Attacks"
        ],
        "aisubtech_mappings": [
          "OWASP: LLM02:2026: Sensitive Information Disclosure",
          "OWASP: ASI02: Tool Misuse & Exploitation",
          "OWASP: ASI09: Human-Agent Trust Exploitation",
          "MITRE ATLAS: AML.T0086: Exfiltration via AI Agent Tool Invocation",
          "NIST AML: N/A"
        ],
        "framework_mappings": [
          "OWASP: LLM02:2026: Sensitive Information Disclosure",
          "OWASP: ASI02: Tool Misuse & Exploitation",
          "OWASP: ASI09: Human-Agent Trust Exploitation",
          "MITRE ATLAS: AML.T0086: Exfiltration via AI Agent Tool Invocation",
          "NIST AML: N/A"
        ],
        "taxonomy_status": "mapped",
        "taxonomy_source": "finding"
      }
    },
    {
      "id": "ENV_VAR_EXFILTRATION_c5e2ebc551",
      "rule_id": "BEHAVIOR_ENV_VAR_EXFILTRATION",
      "category": "data_exfiltration",
      "severity": "CRITICAL",
      "title": "Environment variable access with network calls detected",
      "description": "Script accesses environment variables and makes network calls in /home/runner/work/skill-scanner-test/skill-scanner-test/skills/K-Dense-AI-scientific-agent-skills/skills/infographics/scripts/generate_infographic_ai.py",
      "file_path": "/home/runner/work/skill-scanner-test/skill-scanner-test/skills/K-Dense-AI-scientific-agent-skills/skills/infographics/scripts/generate_infographic_ai.py",
      "line_number": null,
      "snippet": null,
      "remediation": "Remove environment variable harvesting or network transmission",
      "analyzer": "behavioral",
      "metadata": {
        "has_network": true,
        "has_env_access": true,
        "suspicious_urls": [],
        "aitech": "AITech-8.2",
        "aitech_name": "Data Exfiltration / Exposure",
        "aisubtech": "AISubtech-8.2.3",
        "aisubtech_name": "Data Exfiltration via Agent Tooling",
        "aitech_mappings": [
          "OWASP: LLM02:2026: Sensitive Information Disclosure",
          "OWASP: ASI09: Human-Agent Trust Exploitation",
          "MITRE ATLAS: AML.T0024.000: Exfiltration via AI Inference API: Infer Training Data Membership",
          "MITRE ATLAS: AML.T0035: AI Artifact Collection",
          "MITRE ATLAS: AML.T0037: Data From Local System",
          "MITRE ATLAS: AML.T0057: LLM Data Leakage",
          "NIST AML: NISTAML.037: Training Data Attacks"
        ],
        "aisubtech_mappings": [
          "OWASP: LLM02:2026: Sensitive Information Disclosure",
          "OWASP: ASI02: Tool Misuse & Exploitation",
          "OWASP: ASI09: Human-Agent Trust Exploitation",
          "MITRE ATLAS: AML.T0086: Exfiltration via AI Agent Tool Invocation",
          "NIST AML: N/A"
        ],
        "framework_mappings": [
          "OWASP: LLM02:2026: Sensitive Information Disclosure",
          "OWASP: ASI02: Tool Misuse & Exploitation",
          "OWASP: ASI09: Human-Agent Trust Exploitation",
          "MITRE ATLAS: AML.T0086: Exfiltration via AI Agent Tool Invocation",
          "NIST AML: N/A"
        ],
        "taxonomy_status": "mapped",
        "taxonomy_source": "rule"
      }
    },
    {
      "id": "ALLOWED_TOOLS_NETWORK_USAGE_3ea09e94da",
      "rule_id": "ALLOWED_TOOLS_NETWORK_USAGE",
      "category": "unauthorized_tool_use",
      "severity": "MEDIUM",
      "title": "Code makes network requests",
      "description": "Skill code makes network requests. While not controlled by allowed-tools, network access should be documented and justified in the skill description.",
      "file_path": "SKILL.md",
      "line_number": null,
      "snippet": null,
      "remediation": "Document network usage in skill description or remove network operations if not needed",
      "analyzer": "static",
      "metadata": {
        "semantic_facts": {
          "evidence_kind": "capability_mismatch",
          "context_kind": "manifest",
          "signals": [
            {
              "rule_id": "ALLOWED_TOOLS_NETWORK_USAGE",
              "kind": "undocumented_network",
              "file_path": "SKILL.md",
              "value_class": "external_network"
            }
          ],
          "candidate_flow": {
            "source_class": "skill_code",
            "sink_class": "external_network",
            "transforms": [],
            "cross_file": false,
            "source_path": "scripts/generate_infographic_ai.py",
            "sink_path": "scripts/generate_infographic_ai.py"
          },
          "flows": [
            {
              "source_class": "skill_code",
              "sink_class": "external_network",
              "transforms": [],
              "cross_file": false,
              "source_path": "scripts/generate_infographic_ai.py",
              "sink_path": "scripts/generate_infographic_ai.py"
            }
          ]
        },
        "cel": {
          "decision": "would_suppress",
          "reason": "shadow_or_rule_rollout",
          "fact_schema": "v1",
          "expression_hash": "0b8ef9fa27b8e3797a476f560bb6e6af6243c9e03a7d09a3fd0756d96b57affe",
          "pack": "core",
          "rollout": "shadow"
        },
        "aitech": "AITech-2.1",
        "aitech_name": "Excessive Agency",
        "aisubtech": "AISubtech-2.1.2",
        "aisubtech_name": "Capability and Permission Overreach",
        "aitech_mappings": [
          "OWASP: LLM03:2026: Excessive Agency",
          "OWASP: ASI10: Rogue Agents",
          "MITRE ATLAS: N/A",
          "NIST AML: N/A"
        ],
        "aisubtech_mappings": [
          "OWASP: LLM03:2026: Excessive Agency",
          "OWASP: ASI10: Rogue Agents",
          "MITRE ATLAS: N/A",
          "NIST AML: N/A"
        ],
        "framework_mappings": [
          "OWASP: LLM03:2026: Excessive Agency",
          "OWASP: ASI10: Rogue Agents",
          "MITRE ATLAS: N/A",
          "NIST AML: N/A"
        ],
        "taxonomy_status": "mapped",
        "taxonomy_source": "rule"
      }
    },
    {
      "id": "DESC_BEHAVIOR_MISMATCH_c2ffe83f81",
      "rule_id": "SOCIAL_ENG_MISLEADING_DESC",
      "category": "social_engineering",
      "severity": "MEDIUM",
      "title": "Potential description-behavior mismatch",
      "description": "Skill performs actions not reflected in its description",
      "file_path": "SKILL.md",
      "line_number": null,
      "snippet": null,
      "remediation": "Ensure description accurately reflects all skill capabilities",
      "analyzer": "static",
      "metadata": {
        "aitech": "AITech-4.3",
        "aitech_name": "Protocol Manipulation",
        "aisubtech": "AISubtech-4.3.5",
        "aisubtech_name": "Capability Inflation",
        "aitech_mappings": [
          "OWASP: LLM03:2026: Excessive Agency",
          "OWASP: ASI07: Insecure Inter-Agent Communication",
          "MITRE ATLAS: AML.T0067: LLM Trusted Output Component Manipulation",
          "MITRE ATLAS: AML.T0018: Manipulate AI Model",
          "MITRE ATT&CK: T1203: Exploitation for Client Execution",
          "NIST AML: NISTAML.024: Targeted Poisoning"
        ],
        "aisubtech_mappings": [
          "OWASP: LLM03:2026: Excessive Agency",
          "OWASP: ASI03: Identity & Privilege Abuse",
          "OWASP: ASI07: Insecure Inter-Agent Communication",
          "MITRE ATLAS: AML.T0053: LLM Plugin Compromise",
          "NIST AML: N/A"
        ],
        "framework_mappings": [
          "OWASP: LLM03:2026: Excessive Agency",
          "OWASP: ASI03: Identity & Privilege Abuse",
          "OWASP: ASI07: Insecure Inter-Agent Communication",
          "MITRE ATLAS: AML.T0053: LLM Plugin Compromise",
          "NIST AML: N/A"
        ],
        "taxonomy_status": "mapped",
        "taxonomy_source": "rule"
      }
    },
    {
      "id": "MANIFEST_MISSING_LICENSE_c5ae9be793",
      "rule_id": "MANIFEST_MISSING_LICENSE",
      "category": "policy_violation",
      "severity": "INFO",
      "title": "Skill does not specify a license",
      "description": "Skill manifest does not include a 'license' field. Specifying a license helps users understand usage terms.",
      "file_path": "SKILL.md",
      "line_number": null,
      "snippet": null,
      "remediation": "Add 'license' field to SKILL.md frontmatter (e.g., MIT, Apache-2.0)",
      "analyzer": "static",
      "metadata": {
        "aitech": null,
        "aitech_name": null,
        "aisubtech": null,
        "aisubtech_name": null,
        "aitech_mappings": [],
        "aisubtech_mappings": [],
        "framework_mappings": [],
        "taxonomy_status": "not_applicable",
        "taxonomy_source": "rule"
      }
    },
    {
      "id": "DATA_EXFIL_NETWORK_REQUESTS_5882a19193",
      "rule_id": "DATA_EXFIL_NETWORK_REQUESTS",
      "category": "data_exfiltration",
      "severity": "MEDIUM",
      "title": "Outbound network request primitives that can transmit data externally",
      "description": "Pattern detected: requests.post(",
      "file_path": "scripts/generate_infographic_ai.py",
      "line_number": 628,
      "snippet": "response = requests.post(",
      "remediation": "Ensure network operations are necessary and document allowed destinations",
      "analyzer": "static",
      "metadata": {
        "matched_pattern": "requests\\.(?:get|post|put|delete|patch|request)\\s*\\(",
        "matched_text": "requests.post(",
        "signature_pattern_index": 0,
        "signature_match_start": 11,
        "signature_match_end": 25,
        "signature_pattern_sha256": "cacd60a0c4b378765820016ec26f039b156d34fcbf13f99d9c0cc464990279b6",
        "scanner_category": "SECURITY VIOLATION",
        "signature_context": "code",
        "signature_polarity": "active",
        "source_category": "data_exfiltration",
        "category_normalization": "native",
        "semantic_facts": {
          "evidence_kind": "signature_pattern",
          "context_kind": "code",
          "signals": [
            {
              "rule_id": "DATA_EXFIL_NETWORK_REQUESTS",
              "kind": "signature_polarity",
              "file_path": "scripts/generate_infographic_ai.py",
              "value_class": "active"
            },
            {
              "rule_id": "DATA_EXFIL_NETWORK_REQUESTS",
              "kind": "unreferenced_executable",
              "file_path": "scripts/generate_infographic_ai.py",
              "value_class": "python"
            }
          ]
        },
        "aitech": "AITech-8.2",
        "aitech_name": "Data Exfiltration / Exposure",
        "aisubtech": "AISubtech-8.2.3",
        "aisubtech_name": "Data Exfiltration via Agent Tooling",
        "aitech_mappings": [
          "OWASP: LLM02:2026: Sensitive Information Disclosure",
          "OWASP: ASI09: Human-Agent Trust Exploitation",
          "MITRE ATLAS: AML.T0024.000: Exfiltration via AI Inference API: Infer Training Data Membership",
          "MITRE ATLAS: AML.T0035: AI Artifact Collection",
          "MITRE ATLAS: AML.T0037: Data From Local System",
          "MITRE ATLAS: AML.T0057: LLM Data Leakage",
          "NIST AML: NISTAML.037: Training Data Attacks"
        ],
        "aisubtech_mappings": [
          "OWASP: LLM02:2026: Sensitive Information Disclosure",
          "OWASP: ASI02: Tool Misuse & Exploitation",
          "OWASP: ASI09: Human-Agent Trust Exploitation",
          "MITRE ATLAS: AML.T0086: Exfiltration via AI Agent Tool Invocation",
          "NIST AML: N/A"
        ],
        "framework_mappings": [
          "OWASP: LLM02:2026: Sensitive Information Disclosure",
          "OWASP: ASI02: Tool Misuse & Exploitation",
          "OWASP: ASI09: Human-Agent Trust Exploitation",
          "MITRE ATLAS: AML.T0086: Exfiltration via AI Agent Tool Invocation",
          "NIST AML: N/A"
        ],
        "taxonomy_status": "mapped",
        "taxonomy_source": "rule"
      }
    }
  ],
  "scan_duration_seconds": 0.6656088829040527,
  "duration_ms": 665,
  "analyzers_used": [
    "static_analyzer",
    "bytecode",
    "pipeline",
    "correlation",
    "behavioral_analyzer",
    "trigger_analyzer"
  ],
  "timestamp": "2026-10-21T21:36:52.093156+00:00",
  "scan_metadata": {
    "policy_name": "default",
    "policy_version": "1.0",
    "policy_preset_base": "balanced",
    "policy_fingerprint_sha256": "3f48e661bfbc54597f97bbf3dcf2c1cbae2f596ddc79c0b44784efea326b3d1d",
    "cel": {
      "mode": "shadow",
      "runtime": "cel-go",
      "runtime_version": "v0.32.0;helper=2.3.1",
      "fact_schema": "v1",
      "expression_set_hash": "f26459b8f4a46a974d7ab0aaae34127b5b6a40d693e266e12fca03a69a6d26aa",
      "evaluated": 1,
      "retained": 7,
      "would_suppress": 1,
      "suppressed": 0,
      "fallbacks": 0,
      "projection_incomplete": 0,
      "elapsed_ms": 1.322,
      "projection_ms": 0.437,
      "evaluation_ms": 0.766,
      "errors": [],
      "per_rule": {
        "ALLOWED_TOOLS_NETWORK_USAGE": {
          "keep": 0,
          "would_suppress": 1,
          "fallback": 0,
          "suppressed": 0,
          "expression_hash": "0b8ef9fa27b8e3797a476f560bb6e6af6243c9e03a7d09a3fd0756d96b57affe",
          "pack": "core",
          "rollout": "shadow"
        }
      },
      "suppressed_candidates": []
    },
    "rule_contract": {
      "status": "failed",
      "schema_version": 2,
      "checked": 6,
      "invalid_findings": 2,
      "errors": [
        {
          "code": "UNKNOWN_BUNDLED_PYTHON_RULE",
          "rule_id": "BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN",
          "expected": "declared core schema-v2 Python rule",
          "actual": "missing"
        },
        {
          "code": "UNKNOWN_BUNDLED_PYTHON_RULE",
          "rule_id": "BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION",
          "expected": "declared core schema-v2 Python rule",
          "actual": "missing"
        }
      ]
    },
    "taxonomy": {
      "source": "builtin",
      "version": "2.0.0",
      "name": "Cisco AI Security and Safety Taxonomy",
      "revision": "655a343ac943a51b6f61f86e47156e7752c15dc6",
      "snapshot_sha256": "413e8ce9081e6d91b78aaa0d0b1c06cdc15d0406ad319e23e9f9f4f80735c441",
      "findings": {
        "mapped": 6,
        "not_applicable": 1,
        "unmapped": 0
      }
    }
  },
  "analyzers_failed": [
    {
      "analyzer": "behavioral",
      "error": "FindingContract:BEHAVIOR_CROSSFILE_EXFILTRATION_CHAIN:UNKNOWN_BUNDLED_PYTHON_RULE"
    },
    {
      "analyzer": "behavioral",
      "error": "FindingContract:BEHAVIOR_CROSSFILE_ENV_VAR_EXFILTRATION:UNKNOWN_BUNDLED_PYTHON_RULE"
    }
  ],
  "scanner_version": "2.3.1",
  "source": "K-Dense-AI",
  "repo_url": "https://github.com/K-Dense-AI/scientific-agent-skills"
}