Skip to content

Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning, harness compatibility checks, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior. Ships reusable CI templates that bring every check to any repository.

15.5 KB
Raw Blame
{
  "skill": {
    "name": "passwd-mount-probe",
    "source": "/private/tmp/skillspector-2.13.3-passwd-mount/read-only",
    "scanned_at": "2026-11-02T20:00:19.555979+00:00"
  },
  "risk_assessment": {
    "score": 39,
    "severity": "MEDIUM",
    "recommendation": "CAUTION",
    "max_issue_severity": "HIGH"
  },
  "components": [
    {
      "path": "SKILL.md",
      "type": "markdown",
      "lines": 8,
      "executable": false,
      "size_bytes": 170,
      "source_url": null,
      "source_identity": null,
      "source_digest": null
    },
    {
      "path": "build.sh",
      "type": "shell",
      "lines": 2,
      "executable": true,
      "size_bytes": 57,
      "source_url": null,
      "source_identity": null,
      "source_digest": null
    }
  ],
  "structured_summaries": [],
  "issues": [
    {
      "id": "PE3",
      "finding_id": "finding-e82bffeb50f5487b9a62bf56959431ab",
      "category": "Privilege Escalation",
      "pattern": "Credential Access",
      "severity": "HIGH",
      "confidence": 0.6,
      "location": {
        "file": "build.sh",
        "start_line": 2,
        "end_line": null,
        "start_column": 14
      },
      "finding": "/etc/passwd",
      "explanation": "Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.",
      "remediation": "Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.",
      "code_snippet": "#!/bin/sh\ndocker run -v /etc/passwd:/etc/passwd:ro image",
      "intent": null,
      "tags": [
        "Privilege Escalation",
        "contextual-triage",
        "likely-benign-context"
      ],
      "evidence": {},
      "match_fingerprint": "ac75eea6ed115d0252fb13bbb10e9c4421764d5a7612787edcde6a78569d8f88",
      "occurrences": [
        {
          "file": "build.sh",
          "start_line": 2,
          "end_line": null,
          "start_column": 14
        }
      ]
    },
    {
      "id": "PE3",
      "finding_id": "finding-06b62172831f44bcad6b4ff73ec9cb0f",
      "category": "Privilege Escalation",
      "pattern": "Credential Access",
      "severity": "HIGH",
      "confidence": 0.6,
      "location": {
        "file": "build.sh",
        "start_line": 2,
        "end_line": null,
        "start_column": 26
      },
      "finding": "/etc/passwd",
      "explanation": "Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.",
      "remediation": "Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.",
      "code_snippet": "#!/bin/sh\ndocker run -v /etc/passwd:/etc/passwd:ro image",
      "intent": null,
      "tags": [
        "Privilege Escalation",
        "contextual-triage",
        "likely-benign-context"
      ],
      "evidence": {},
      "match_fingerprint": "ac75eea6ed115d0252fb13bbb10e9c4421764d5a7612787edcde6a78569d8f88",
      "occurrences": [
        {
          "file": "build.sh",
          "start_line": 2,
          "end_line": null,
          "start_column": 26
        }
      ]
    },
    {
      "id": "RP1",
      "finding_id": "finding-812725d36e59428a80f2d71178ce7f2a",
      "category": "MCP Rug Pull",
      "pattern": null,
      "severity": "MEDIUM",
      "confidence": 0.75,
      "location": {
        "file": "build.sh",
        "start_line": 2,
        "end_line": null
      },
      "finding": null,
      "explanation": "Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.",
      "remediation": "Pin the image: image:tag or image@sha256:abc123",
      "code_snippet": null,
      "intent": null,
      "tags": [
        "ASI16"
      ],
      "evidence": {},
      "match_fingerprint": "c40efebb64946fad1ac9260f3622867d7ffb95e17a1c6f66b67bb614d7a5ba02",
      "occurrences": [
        {
          "file": "build.sh",
          "start_line": 2,
          "end_line": null
        }
      ]
    }
  ],
  "suppressed_count": 0,
  "suppressed": [],
  "metadata": {
    "has_executable_scripts": true,
    "skillspector_version": "2.13.3",
    "llm_requested": false,
    "llm_available": true,
    "meta_analysis_applied": false,
    "inference_usage": [],
    "llm_provenance": {
      "schema_version": 1,
      "provider": {
        "configured_adapter": "unknown",
        "resolved_adapter": "unknown",
        "effective_adapter": "not_applicable",
        "effective_adapters": [],
        "service": "unknown",
        "routing": {
          "deployment_override": null,
          "deployment_source": "unknown",
          "api_version": null,
          "api_version_source": "unknown"
        }
      },
      "analyzers": [
        {
          "analyzer_id": "mcp_tool_poisoning",
          "model": "z-ai/glm-5.3",
          "model_source": "resolved_configuration",
          "analyzer_revision": {
            "value": "2.13.3",
            "source": "skillspector_package",
            "source_revision": {
              "value": "unknown",
              "source": "unknown"
            }
          }
        },
        {
          "analyzer_id": "semantic_developer_intent",
          "model": "z-ai/glm-5.3",
          "model_source": "resolved_configuration",
          "analyzer_revision": {
            "value": "2.13.3",
            "source": "skillspector_package",
            "source_revision": {
              "value": "unknown",
              "source": "unknown"
            }
          }
        },
        {
          "analyzer_id": "semantic_quality_policy",
          "model": "z-ai/glm-5.3",
          "model_source": "resolved_configuration",
          "analyzer_revision": {
            "value": "2.13.3",
            "source": "skillspector_package",
            "source_revision": {
              "value": "unknown",
              "source": "unknown"
            }
          }
        },
        {
          "analyzer_id": "semantic_security_discovery",
          "model": "z-ai/glm-5.3",
          "model_source": "resolved_configuration",
          "analyzer_revision": {
            "value": "2.13.3",
            "source": "skillspector_package",
            "source_revision": {
              "value": "unknown",
              "source": "unknown"
            }
          }
        },
        {
          "analyzer_id": "meta_analyzer",
          "model": "z-ai/glm-5.3",
          "model_source": "resolved_configuration",
          "analyzer_revision": {
            "value": "2.13.3",
            "source": "skillspector_package",
            "source_revision": {
              "value": "unknown",
              "source": "unknown"
            }
          }
        }
      ],
      "sampling": {
        "temperature": {
          "requested": null,
          "source": "provider_default",
          "forwarded_to_client": null,
          "adapter_support": false,
          "provider_support": "unknown"
        },
        "seed": {
          "requested": null,
          "source": "unset",
          "forwarded_to_client": null,
          "adapter_support": false,
          "provider_support": "unknown"
        },
        "reasoning_effort": {
          "requested": null,
          "source": "provider_default",
          "forwarded_to_client": null,
          "adapter_support": false,
          "provider_support": "unknown"
        }
      },
      "determinism": {
        "classification": "not_applicable",
        "control_status": "not_applied",
        "provider_guarantee": false,
        "reason": "LLM analysis was not executed for this scan."
      }
    },
    "filtering_mode": "heuristic"
  },
  "execution_successful": true,
  "analysis_completeness": {
    "total_components": 2,
    "scanned_components": 2,
    "coverage_percent": 100.0,
    "is_complete": true,
    "status": "complete",
    "execution_successful": true,
    "fully_inspected_files": 2,
    "partially_inspected_files": 0,
    "entirely_uninspected_files": 0,
    "ledger_exceptions": [],
    "scope_exclusions": [],
    "analyzer_statuses": [
      {
        "analyzer_id": "artifact_integrity",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "behavioral_ast",
        "status": "not_applicable",
        "planned_work": 0,
        "completed": 0,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0,
        "reason_code": "no_applicable_files",
        "message": "No files matched this analyzer's applicability contract."
      },
      {
        "analyzer_id": "behavioral_taint_tracking",
        "status": "not_applicable",
        "planned_work": 0,
        "completed": 0,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0,
        "reason_code": "no_applicable_files",
        "message": "No files matched this analyzer's applicability contract."
      },
      {
        "analyzer_id": "bundled_execution_surface",
        "status": "not_applicable",
        "planned_work": 0,
        "completed": 0,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0,
        "reason_code": "no_applicable_files",
        "message": "No files matched this analyzer's applicability contract."
      },
      {
        "analyzer_id": "mcp_least_privilege",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "mcp_rug_pull",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "mcp_tool_poisoning",
        "status": "completed",
        "planned_work": 1,
        "completed": 1,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "meta_analyzer",
        "status": "disabled",
        "planned_work": 0,
        "completed": 0,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0,
        "reason_code": "disabled_by_configuration",
        "message": "Analyzer was disabled by the requested configuration."
      },
      {
        "analyzer_id": "semantic_developer_intent",
        "status": "disabled",
        "planned_work": 0,
        "completed": 0,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0,
        "reason_code": "disabled_by_configuration",
        "message": "Analyzer was disabled by the requested configuration."
      },
      {
        "analyzer_id": "semantic_quality_policy",
        "status": "disabled",
        "planned_work": 0,
        "completed": 0,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0,
        "reason_code": "disabled_by_configuration",
        "message": "Analyzer was disabled by the requested configuration."
      },
      {
        "analyzer_id": "semantic_security_discovery",
        "status": "disabled",
        "planned_work": 0,
        "completed": 0,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0,
        "reason_code": "disabled_by_configuration",
        "message": "Analyzer was disabled by the requested configuration."
      },
      {
        "analyzer_id": "static_patterns_agent_snooping",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_anti_refusal",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_data_exfiltration",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_deserialization",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_excessive_agency",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_harmful_content",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_memory_poisoning",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_output_handling",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_privilege_escalation",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_prompt_injection",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_rogue_agent",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_ssrf",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_supply_chain",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_system_prompt_leakage",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_patterns_tool_misuse",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      },
      {
        "analyzer_id": "static_yara",
        "status": "completed",
        "planned_work": 2,
        "completed": 2,
        "partial": 0,
        "skipped": 0,
        "failed": 0,
        "unaccounted": 0
      }
    ],
    "references": [],
    "limitations": [],
    "findings_before_filtering": 3,
    "findings_after_filtering": 3
  }
}