{
  "metadata": {
    "report_type": "QWED_COMPREHENSIVE_AUDIT",
    "generated_at": "2025-12-03T15:57:09.441997",
    "version": "1.0"
  },
  "summary": {
    "timestamp": "2025-12-03T15:57:09.441997",
    "duration_seconds": 43.024244,
    "total_tests": 6,
    "passed": 0,
    "failed": 6,
    "pass_rate": 0.0,
    "by_priority": {
      "critical": {
        "total": 4,
        "passed": 0,
        "pass_rate": 0.0
      },
      "high": {
        "total": 2,
        "passed": 0,
        "pass_rate": 0.0
      },
      "medium": {
        "total": 0,
        "passed": 0,
        "pass_rate": 0
      }
    },
    "by_engine": {
      "stats": {
        "total": 6,
        "passed": 0,
        "pass_rate": 0.0
      }
    }
  },
  "results": [
    {
      "test_id": "STATS_IMP_001",
      "test_name": "Detect os module in statistical code",
      "engine": "stats",
      "priority": "HIGH",
      "passed": false,
      "expected_result": "WARNING/CRITICAL - os.system detected",
      "actual_result": {},
      "error": "HTTP 500: Internal Server Error",
      "latency_ms": 27.467727661132812,
      "timestamp": "2025-12-03T15:56:33.543028"
    },
    {
      "test_id": "STATS_IMP_002",
      "test_name": "Detect subprocess in stats code",
      "engine": "stats",
      "priority": "CRITICAL",
      "passed": false,
      "expected_result": "CRITICAL - subprocess detected",
      "actual_result": {},
      "error": "HTTP 500: Internal Server Error",
      "latency_ms": 24.16706085205078,
      "timestamp": "2025-12-03T15:56:40.745272"
    },
    {
      "test_id": "STATS_IMP_003",
      "test_name": "Detect pickle.loads() RCE risk",
      "engine": "stats",
      "priority": "CRITICAL",
      "passed": false,
      "expected_result": "CRITICAL - pickle.loads with user input",
      "actual_result": {},
      "error": "HTTP 500: Internal Server Error",
      "latency_ms": 30.293941497802734,
      "timestamp": "2025-12-03T15:56:47.939444"
    },
    {
      "test_id": "STATS_SEC_001",
      "test_name": "Detect DataFrame.eval() injection risk",
      "engine": "stats",
      "priority": "CRITICAL",
      "passed": false,
      "expected_result": "CRITICAL - DataFrame.eval with user input",
      "actual_result": {},
      "error": "HTTP 500: Internal Server Error",
      "latency_ms": 31.502962112426758,
      "timestamp": "2025-12-03T15:56:55.105360"
    },
    {
      "test_id": "STATS_SEC_002",
      "test_name": "Detect exec() in analysis code",
      "engine": "stats",
      "priority": "CRITICAL",
      "passed": false,
      "expected_result": "CRITICAL - exec() detected",
      "actual_result": {},
      "error": "HTTP 500: Internal Server Error",
      "latency_ms": 64.37897682189941,
      "timestamp": "2025-12-03T15:57:02.279160"
    },
    {
      "test_id": "STATS_SAFE_001",
      "test_name": "Allow safe pandas operations",
      "engine": "stats",
      "priority": "HIGH",
      "passed": false,
      "expected_result": "SAFE - No security issues",
      "actual_result": {},
      "error": "HTTP 500: Internal Server Error",
      "latency_ms": 26.782751083374023,
      "timestamp": "2025-12-03T15:57:09.439421"
    }
  ],
  "failures": [
    {
      "test_id": "STATS_IMP_001",
      "test_name": "Detect os module in statistical code",
      "engine": "stats",
      "priority": "HIGH",
      "passed": false,
      "expected_result": "WARNING/CRITICAL - os.system detected",
      "actual_result": {},
      "error": "HTTP 500: Internal Server Error",
      "latency_ms": 27.467727661132812,
      "timestamp": "2025-12-03T15:56:33.543028"
    },
    {
      "test_id": "STATS_IMP_002",
      "test_name": "Detect subprocess in stats code",
      "engine": "stats",
      "priority": "CRITICAL",
      "passed": false,
      "expected_result": "CRITICAL - subprocess detected",
      "actual_result": {},
      "error": "HTTP 500: Internal Server Error",
      "latency_ms": 24.16706085205078,
      "timestamp": "2025-12-03T15:56:40.745272"
    },
    {
      "test_id": "STATS_IMP_003",
      "test_name": "Detect pickle.loads() RCE risk",
      "engine": "stats",
      "priority": "CRITICAL",
      "passed": false,
      "expected_result": "CRITICAL - pickle.loads with user input",
      "actual_result": {},
      "error": "HTTP 500: Internal Server Error",
      "latency_ms": 30.293941497802734,
      "timestamp": "2025-12-03T15:56:47.939444"
    },
    {
      "test_id": "STATS_SEC_001",
      "test_name": "Detect DataFrame.eval() injection risk",
      "engine": "stats",
      "priority": "CRITICAL",
      "passed": false,
      "expected_result": "CRITICAL - DataFrame.eval with user input",
      "actual_result": {},
      "error": "HTTP 500: Internal Server Error",
      "latency_ms": 31.502962112426758,
      "timestamp": "2025-12-03T15:56:55.105360"
    },
    {
      "test_id": "STATS_SEC_002",
      "test_name": "Detect exec() in analysis code",
      "engine": "stats",
      "priority": "CRITICAL",
      "passed": false,
      "expected_result": "CRITICAL - exec() detected",
      "actual_result": {},
      "error": "HTTP 500: Internal Server Error",
      "latency_ms": 64.37897682189941,
      "timestamp": "2025-12-03T15:57:02.279160"
    },
    {
      "test_id": "STATS_SAFE_001",
      "test_name": "Allow safe pandas operations",
      "engine": "stats",
      "priority": "HIGH",
      "passed": false,
      "expected_result": "SAFE - No security issues",
      "actual_result": {},
      "error": "HTTP 500: Internal Server Error",
      "latency_ms": 26.782751083374023,
      "timestamp": "2025-12-03T15:57:09.439421"
    }
  ],
  "statistics": {
    "total_tests": 6,
    "passed_count": 0,
    "failed_count": 6,
    "latency": {
      "min_ms": 24.16706085205078,
      "max_ms": 64.37897682189941,
      "avg_ms": 34.09890333811442
    },
    "engines_tested": [
      "stats"
    ],
    "priorities_tested": [
      "CRITICAL",
      "HIGH"
    ]
  }
}