{
  "format": "LLM-SCAN",
  "format_version": "1.0",
  "generator": {
    "name": "llmscan-engine",
    "version": "2.0.0"
  },
  "scan_context": {
    "started_at": "2026-08-14T23:56:25+00:00Z",
    "ended_at": "2026-08-14T23:56:25+00:00Z",
    "duration_ms": 2,
    "limits": {
      "timeout_ms": 60000,
      "sandbox": true
    },
    "mode": "static-deep"
  },
  "source": {
    "input_type": "file",
    "filename": "phantom-gap.gguf",
    "size_bytes": 423,
    "hashes": {
      "sha256": "0c8aa49ca37cd49cff299d115565c60cdfb5e7ad21bc46e5a931253335057528"
    }
  },
  "model": {
    "format": "gguf",
    "arch": "llama",
    "quantization": "F32",
    "params_estimate": 16,
    "file_size_bytes": 423,
    "sha256": "0c8aa49ca37cd49cff299d115565c60cdfb5e7ad21bc46e5a931253335057528",
    "sha512": "d6dc9d1463163a631f7d7027f911bb0ad1b6375293cf03de202ab4414aa1042f2f722b72720d0a232311eb32e8533ba3ded15d8f70d26583813b9cea522e8918",
    "kv_meta": {
      "values_redacted": true,
      "kv_count": 1,
      "keys": [
        "general.architecture"
      ]
    },
    "scanner_model_info": {
      "magic": "GGUF",
      "version": 3,
      "architecture": "llama",
      "model_name": null,
      "finetune": null,
      "basename": null,
      "size_label": null,
      "quantization": "F32",
      "license": null,
      "context_length": null,
      "embedding_length": null,
      "feed_forward_length": null,
      "block_count": null,
      "head_count": null,
      "head_count_kv": null,
      "vocab_size": null,
      "bos_token_id": null,
      "eos_token_id": null,
      "tokenizer_model": null,
      "tensor_count": 2,
      "param_estimate": 16,
      "file_size_bytes": 423,
      "file_size_mb": 0.0,
      "sha256": "0c8aa49ca37cd49cff299d115565c60cdfb5e7ad21bc46e5a931253335057528",
      "sha512": "d6dc9d1463163a631f7d7027f911bb0ad1b6375293cf03de202ab4414aa1042f2f722b72720d0a232311eb32e8533ba3ded15d8f70d26583813b9cea522e8918",
      "alignment": 32,
      "data_section_start": 192,
      "header_end_offset": 171,
      "has_chat_template": false,
      "overlapping_tensor_pairs": 0,
      "misaligned_tensors": 1,
      "oob_tensor_count": 0,
      "dtype_histogram": {
        "F32": 2
      },
      "dtype_percentage": {
        "F32": 100.0
      },
      "top_tensors_by_size": [
        {
          "name": "blk.0.attn_q.weight",
          "dtype": "F32",
          "dims": [
            8
          ],
          "byte_len": 200,
          "n_elem": 8
        },
        {
          "name": "blk.0.attn_k.weight",
          "dtype": "F32",
          "dims": [
            8
          ],
          "byte_len": 31,
          "n_elem": 8
        }
      ],
      "tensor_bytes_sum": 231,
      "tensor_delta_bytes": 192,
      "tensor_delta_mb": 0.0,
      "header_kv_dir_bytes": 192,
      "trailing_bytes": 0,
      "unaccounted_bytes": 0,
      "dtype_stats": {
        "F32": {
          "count": 2,
          "bytes": 231,
          "mb": 0.0,
          "avg_bits_per_elem": 115.5
        }
      },
      "offsets_monotone": true,
      "max_tensor_offset": 200,
      "tensor_preview": [
        {
          "index": 0,
          "name": "blk.0.attn_q.weight",
          "dims": [
            8
          ],
          "dtype_name": "F32",
          "dtype_id": 0,
          "offset": 0,
          "byte_len": 200,
          "bits_per_elem": 200.0
        },
        {
          "index": 1,
          "name": "blk.0.attn_k.weight",
          "dims": [
            8
          ],
          "dtype_name": "F32",
          "dtype_id": 0,
          "offset": 200,
          "byte_len": 31,
          "bits_per_elem": 31.0
        }
      ],
      "chat_template": null,
      "kv_count": 1,
      "kv_keys": [
        "general.architecture"
      ]
    },
    "gguf_version": 3,
    "architecture": "llama",
    "model_name": null,
    "finetune": null,
    "basename": null,
    "size_label": null,
    "license": null,
    "context_length": null,
    "embedding_length": null,
    "feed_forward_length": null,
    "block_count": null,
    "head_count": null,
    "head_count_kv": null,
    "vocab_size": null,
    "bos_token_id": null,
    "eos_token_id": null,
    "tokenizer_model": null,
    "tensor_count": 2,
    "param_estimate": 16,
    "file_size_mb": 0.0,
    "has_chat_template": false,
    "alignment": 32,
    "overlapping_tensor_pairs": 0,
    "misaligned_tensors": 1,
    "oob_tensor_count": 0,
    "dtype_histogram": {
      "F32": 2
    },
    "dtype_percentage": {
      "F32": 100.0
    },
    "top_tensors_by_size": [
      {
        "name": "blk.0.attn_q.weight",
        "dtype": "F32",
        "dims": [
          8
        ],
        "byte_len": 200,
        "n_elem": 8
      },
      {
        "name": "blk.0.attn_k.weight",
        "dtype": "F32",
        "dims": [
          8
        ],
        "byte_len": 31,
        "n_elem": 8
      }
    ],
    "tensor_bytes_sum": 231,
    "tensor_delta_bytes": 192,
    "tensor_delta_mb": 0.0,
    "header_kv_dir_bytes": 192,
    "trailing_bytes": 0,
    "unaccounted_bytes": 0,
    "dtype_stats": {
      "F32": {
        "count": 2,
        "bytes": 231,
        "mb": 0.0,
        "avg_bits_per_elem": 115.5
      }
    },
    "offsets_monotone": true,
    "max_tensor_offset": 200,
    "tensor_preview": [
      {
        "index": 0,
        "name": "blk.0.attn_q.weight",
        "dims": [
          8
        ],
        "dtype_name": "F32",
        "dtype_id": 0,
        "offset": 0,
        "byte_len": 200,
        "bits_per_elem": 200.0
      },
      {
        "index": 1,
        "name": "blk.0.attn_k.weight",
        "dims": [
          8
        ],
        "dtype_name": "F32",
        "dtype_id": 0,
        "offset": 200,
        "byte_len": 31,
        "bits_per_elem": 31.0
      }
    ],
    "chat_template": null,
    "values_redacted": true,
    "kv_count": 1
  },
  "tokenizer": {
    "type": null,
    "vocab_size": null,
    "bos_token_id": null,
    "eos_token_id": null,
    "has_chat_template": false,
    "chat_template_chars": null
  },
  "tensors": {
    "count": 2,
    "preview": [
      {
        "index": 0,
        "name": "blk.0.attn_q.weight",
        "dims": [
          8
        ],
        "dtype_name": "F32",
        "dtype_id": 0,
        "offset": 0,
        "byte_len": 200,
        "bits_per_elem": 200.0
      },
      {
        "index": 1,
        "name": "blk.0.attn_k.weight",
        "dims": [
          8
        ],
        "dtype_name": "F32",
        "dtype_id": 0,
        "offset": 200,
        "byte_len": 31,
        "bits_per_elem": 31.0
      }
    ],
    "dtype_histogram": {
      "F32": 2
    },
    "dtype_stats": {
      "F32": {
        "count": 2,
        "bytes": 231,
        "mb": 0.0,
        "avg_bits_per_elem": 115.5
      }
    },
    "integrity": {
      "offsets_monotone": true,
      "overlapping_tensor_pairs": 0,
      "misaligned_tensors": 1,
      "oob_tensor_count": 0,
      "tensor_bytes_sum": 231,
      "tensor_delta_bytes": 192,
      "tensor_delta_mb": 0.0,
      "header_kv_dir_bytes": 192,
      "trailing_bytes": 0,
      "unaccounted_bytes": 0
    }
  },
  "security": {
    "grade": "D",
    "score": 38,
    "findings": [
      {
        "severity": "MEDIUM",
        "category": "Tensor Integrity",
        "title": "Tensor offsets not aligned to 32 bytes (1 tensors)",
        "detail": "First few: ['blk.0.attn_k.weight']",
        "recommendation": "Misaligned tensor offsets violate the GGUF spec and may cause SIGBUS/crashes on strict-alignment hardware (ARM, RISC-V)"
      },
      {
        "severity": "CRITICAL",
        "category": "Data Integrity",
        "title": "Unexplained data between tensors (1 gap(s), largest 168 B)",
        "detail": "'blk.0.attn_q.weight' declares 32 B of tensor data but its data region runs 200 B before the next tensor (or end of file) starts -- 168 bytes unaccounted for. This space is not part of any declared tensor and is invisible to loaders that only read known tensor regions -- a place to hide an arbitrary payload.",
        "recommendation": "Reject this file; a correctly produced GGUF has no slack space between tensor data regions"
      },
      {
        "severity": "MEDIUM",
        "category": "Resource Limits",
        "title": "Unusually high bits-per-parameter: 211.5",
        "detail": "Values >128 bpp suggest most file content is not tensor data (padding, embedded files, or metadata bloat)",
        "recommendation": "Investigate what occupies the non-tensor file space"
      },
      {
        "severity": "LOW",
        "category": "Supply Chain",
        "title": "No license field in GGUF metadata (general.license)",
        "detail": "Absence of license information makes it impossible to determine usage rights",
        "recommendation": "Add general.license to model metadata before distributing; use an SPDX identifier"
      },
      {
        "severity": "LOW",
        "category": "Supply Chain",
        "title": "No embedded provenance metadata",
        "detail": "None of general.author, general.source.url, general.base_model.0, or general.source.huggingface.repository are embedded in the GGUF file. Without any origin signal the model cannot be traced to a trusted source or compared against a reference checkpoint for tampering detection. For files uploaded directly, provenance is especially critical because the scanner cannot infer repository origin from the file alone.",
        "recommendation": "Add at least one of: general.author, general.source.huggingface.repository, or general.source.url"
      }
    ]
  },
  "compatibility": [
    {
      "runtime": "llama.cpp",
      "supported": true,
      "container": true,
      "quant": true,
      "arch": true,
      "context": null,
      "notes": "GGUF v3 container: supported | quant F32: supported"
    },
    {
      "runtime": "Ollama",
      "supported": true,
      "container": true,
      "quant": true,
      "arch": true,
      "context": null,
      "notes": "GGUF via llama.cpp backend: container and quantization supported"
    },
    {
      "runtime": "LM Studio",
      "supported": true,
      "container": true,
      "quant": true,
      "arch": true,
      "context": null,
      "notes": "GGUF container and quantization supported; GPU/CPU inference"
    },
    {
      "runtime": "vLLM",
      "supported": false,
      "container": false,
      "quant": false,
      "arch": null,
      "context": null,
      "not_supported_msg": "GGUF not supported — requires safetensors format",
      "notes": "GGUF not supported; requires safetensors format"
    },
    {
      "runtime": "HuggingFace Transformers",
      "container": false,
      "quant": false,
      "arch": null,
      "context": null,
      "supported": false,
      "not_supported_msg": "GGUF not directly supported — use safetensors or PyTorch checkpoint",
      "notes": "GGUF not supported; requires safetensors or PyTorch checkpoint"
    }
  ],
  "report": {
    "summary": "GGUF v3 model | architecture: llama | quantization: F32 | 2 tensors | 1 blocking issue / 4 warnings",
    "bullets": [
      "GGUF v3 model | architecture: llama | quantization: F32 | 2 tensors | 1 blocking issue / 4 warnings",
      "SHA256: 0c8aa49ca37cd49c..."
    ],
    "recommendations": [
      "Reject this file; a correctly produced GGUF has no slack space between tensor data regions",
      "Misaligned tensor offsets violate the GGUF spec and may cause SIGBUS/crashes on strict-alignment hardware (ARM, RISC-V)",
      "Investigate what occupies the non-tensor file space",
      "Add general.license to model metadata before distributing; use an SPDX identifier",
      "Add at least one of: general.author, general.source.huggingface.repository, or general.source.url"
    ]
  }
}