{
  "skill_name": "qiime2-amplicon",
  "skill_path": "/home/runner/work/skill-scanner-test/skill-scanner-test/scripts/../skills/K-Dense-AI-scientific-agent-skills/skills/qiime2-amplicon",
  "is_safe": false,
  "max_severity": "HIGH",
  "findings_count": 1,
  "findings": [
    {
      "id": "RESOURCE_ABUSE_INFINITE_LOOP_95c2c74834",
      "rule_id": "RESOURCE_ABUSE_INFINITE_LOOP",
      "category": "resource_abuse",
      "severity": "HIGH",
      "title": "Infinite loop without clear exit condition",
      "description": "Pattern detected: while True:",
      "file_path": "scripts/amplicon_workflow.py",
      "line_number": 28,
      "snippet": "while True:",
      "remediation": "Add proper exit conditions or limits to loops",
      "analyzer": "static",
      "metadata": {
        "matched_pattern": "while\\s+True\\s*:",
        "matched_text": "while True:",
        "signature_pattern_index": 0,
        "signature_match_start": 0,
        "signature_match_end": 11,
        "signature_pattern_sha256": "9cba9ba996ebf23d2460119d56cc3893566226b4a6467645c621a7405d75595b",
        "scanner_category": "RESOURCE ABUSE",
        "signature_context": "code",
        "signature_polarity": "active",
        "source_category": "resource_abuse",
        "category_normalization": "native",
        "semantic_facts": {
          "evidence_kind": "signature_pattern",
          "context_kind": "code",
          "signals": [
            {
              "rule_id": "RESOURCE_ABUSE_INFINITE_LOOP",
              "kind": "signature_polarity",
              "file_path": "scripts/amplicon_workflow.py",
              "value_class": "active"
            }
          ]
        },
        "reference_depth": 0,
        "aitech": "AITech-13.1",
        "aitech_name": "Disruption of Availability",
        "aisubtech": "AISubtech-13.1.1",
        "aisubtech_name": "Compute Exhaustion",
        "aitech_mappings": [
          "OWASP: LLM06:2026: Unbounded Consumption",
          "OWASP: ASI08: Cascading Failures",
          "MITRE ATLAS: AML.T0029: Denial of AI Service",
          "NIST AML: N/A"
        ],
        "aisubtech_mappings": [
          "OWASP: LLM06:2026: Unbounded Consumption",
          "OWASP: ASI08: Cascading Failures",
          "MITRE ATLAS: AML.T0029: Denial of AI Service",
          "NIST AML: N/A"
        ],
        "framework_mappings": [
          "OWASP: LLM06:2026: Unbounded Consumption",
          "OWASP: ASI08: Cascading Failures",
          "MITRE ATLAS: AML.T0029: Denial of AI Service",
          "NIST AML: N/A"
        ],
        "taxonomy_status": "mapped",
        "taxonomy_source": "rule"
      }
    }
  ],
  "scan_duration_seconds": 0.2765347957611084,
  "duration_ms": 276,
  "analyzers_used": [
    "static_analyzer",
    "bytecode",
    "pipeline",
    "correlation",
    "behavioral_analyzer",
    "trigger_analyzer"
  ],
  "timestamp": "2026-10-21T21:36:38.283104+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": 0,
      "retained": 1,
      "would_suppress": 0,
      "suppressed": 0,
      "fallbacks": 0,
      "projection_incomplete": 0,
      "elapsed_ms": 0.0,
      "projection_ms": 0.0,
      "evaluation_ms": 0.0,
      "errors": [],
      "per_rule": {},
      "suppressed_candidates": []
    },
    "rule_contract": {
      "status": "passed",
      "schema_version": 2,
      "checked": 0,
      "invalid_findings": 0,
      "errors": []
    },
    "taxonomy": {
      "source": "builtin",
      "version": "2.0.0",
      "name": "Cisco AI Security and Safety Taxonomy",
      "revision": "655a343ac943a51b6f61f86e47156e7752c15dc6",
      "snapshot_sha256": "413e8ce9081e6d91b78aaa0d0b1c06cdc15d0406ad319e23e9f9f4f80735c441",
      "findings": {
        "mapped": 1,
        "not_applicable": 0,
        "unmapped": 0
      }
    }
  },
  "scanner_version": "2.3.1",
  "source": "K-Dense-AI",
  "repo_url": "https://github.com/K-Dense-AI/scientific-agent-skills"
}