MetorialDocs

Skill Security Reviews

A security review assesses what a skill makes an agent do and whether its files can be trusted. Everyone who can read a skill can read its review.

The Skill Security Review object

skill_security_review.json
{
  "object": "skill.security_review",
  "id": "srv_5gHjKlMnPqRsTuVw",
  "skill_id": "skl_5gHjKlMnPqRsTuVw",
  "verdict": "pass",
  "dismissed_at": "2026-11-21T01:23:59.532Z",
  "current_revision": {
    "object": "skill.security_review.revision",
    "id": "srr_4dEfGhJkLmNpQrSt",
    "security_review_id": "srv_5gHjKlMnPqRsTuVw",
    "skill_version_id": "skv_4dEfGh",
    "number": 3,
    "status": "queued",
    "stage": "collecting",
    "block_reason": "billing",
    "ai_generated": false,
    "trigger": "first_use",
    "files": {
      "total": 12,
      "analyzed": 9,
      "kinds": {}
    },
    "scores": {
      "security_score": 84,
      "band": "strong",
      "exposure": "unknown",
      "risk": "low",
      "confidence": "low",
      "lethal_trifecta": false,
      "headline": [
        "Low risk",
        "Instructions only, no scripts"
      ],
      "finding_counts": {
        "info": 0,
        "low": 0,
        "medium": 0,
        "high": 0,
        "critical": 0
      }
    },
    "report": {
      "summary": {
        "text": "example_text",
        "trust_note": "example_trust_note",
        "exposure_note": "example_exposure_note"
      },
      "provenance": {
        "class": "tenant_authored",
        "body": "example_body"
      },
      "behaviors": [
        {
          "tag": "code_execution",
          "evidence": [
            {
              "type": "file",
              "path": "scripts/setup.sh"
            },
            {
              "type": "file",
              "path": "scripts/setup.sh"
            }
          ]
        },
        {
          "tag": "code_execution",
          "evidence": [
            {
              "type": "file",
              "path": "scripts/setup.sh"
            },
            {
              "type": "file",
              "path": "scripts/setup.sh"
            }
          ]
        }
      ],
      "implementation": {
        "strengths": [
          {
            "evidence": [
              {
                "type": "file",
                "path": "scripts/setup.sh"
              },
              {
                "type": "file",
                "path": "scripts/setup.sh"
              }
            ]
          },
          {
            "evidence": [
              {
                "type": "file",
                "path": "scripts/setup.sh"
              },
              {
                "type": "file",
                "path": "scripts/setup.sh"
              }
            ]
          }
        ],
        "weaknesses": [
          {
            "evidence": [
              {
                "type": "file",
                "path": "scripts/setup.sh"
              },
              {
                "type": "file",
                "path": "scripts/setup.sh"
              }
            ]
          },
          {
            "evidence": [
              {
                "type": "file",
                "path": "scripts/setup.sh"
              },
              {
                "type": "file",
                "path": "scripts/setup.sh"
              }
            ]
          }
        ]
      },
      "resolved_findings": [
        {},
        {}
      ],
      "changes": {
        "body": "example_body"
      },
      "method": {
        "included": [
          "example_included"
        ],
        "out_of_scope": [
          "example_out_of_scope"
        ],
        "limitations": [
          "example_limitations"
        ]
      }
    },
    "findings": [
      {
        "kind": "security",
        "category": "remote_code_execution",
        "severity": "info",
        "change": "new",
        "evidence": [
          {
            "type": "file",
            "path": "scripts/setup.sh"
          },
          {
            "type": "file",
            "path": "scripts/setup.sh"
          }
        ]
      },
      {
        "kind": "security",
        "category": "remote_code_execution",
        "severity": "info",
        "change": "new",
        "evidence": [
          {
            "type": "file",
            "path": "scripts/setup.sh"
          },
          {
            "type": "file",
            "path": "scripts/setup.sh"
          }
        ]
      }
    ],
    "started_at": "2026-11-21T01:23:59.532Z",
    "completed_at": "2026-11-21T01:23:59.532Z",
    "created_at": "2026-11-21T01:23:59.532Z"
  },
  "in_progress_revision": {
    "object": "skill.security_review.revision",
    "id": "srr_4dEfGhJkLmNpQrSt",
    "security_review_id": "srv_5gHjKlMnPqRsTuVw",
    "skill_version_id": "skv_4dEfGh",
    "number": 3,
    "status": "queued",
    "stage": "collecting",
    "block_reason": "billing",
    "ai_generated": false,
    "trigger": "first_use",
    "files": {
      "total": 12,
      "analyzed": 9,
      "kinds": {}
    },
    "scores": {
      "security_score": 84,
      "band": "strong",
      "exposure": "unknown",
      "risk": "low",
      "confidence": "low",
      "lethal_trifecta": false,
      "headline": [
        "Low risk",
        "Instructions only, no scripts"
      ],
      "finding_counts": {
        "info": 0,
        "low": 0,
        "medium": 0,
        "high": 0,
        "critical": 0
      }
    },
    "report": {
      "summary": {
        "text": "example_text",
        "trust_note": "example_trust_note",
        "exposure_note": "example_exposure_note"
      },
      "provenance": {
        "class": "tenant_authored",
        "body": "example_body"
      },
      "behaviors": [
        {
          "tag": "code_execution",
          "evidence": [
            {
              "type": "file",
              "path": "scripts/setup.sh"
            },
            {
              "type": "file",
              "path": "scripts/setup.sh"
            }
          ]
        },
        {
          "tag": "code_execution",
          "evidence": [
            {
              "type": "file",
              "path": "scripts/setup.sh"
            },
            {
              "type": "file",
              "path": "scripts/setup.sh"
            }
          ]
        }
      ],
      "implementation": {
        "strengths": [
          {
            "evidence": [
              {
                "type": "file",
                "path": "scripts/setup.sh"
              },
              {
                "type": "file",
                "path": "scripts/setup.sh"
              }
            ]
          },
          {
            "evidence": [
              {
                "type": "file",
                "path": "scripts/setup.sh"
              },
              {
                "type": "file",
                "path": "scripts/setup.sh"
              }
            ]
          }
        ],
        "weaknesses": [
          {
            "evidence": [
              {
                "type": "file",
                "path": "scripts/setup.sh"
              },
              {
                "type": "file",
                "path": "scripts/setup.sh"
              }
            ]
          },
          {
            "evidence": [
              {
                "type": "file",
                "path": "scripts/setup.sh"
              },
              {
                "type": "file",
                "path": "scripts/setup.sh"
              }
            ]
          }
        ]
      },
      "resolved_findings": [
        {},
        {}
      ],
      "changes": {
        "body": "example_body"
      },
      "method": {
        "included": [
          "example_included"
        ],
        "out_of_scope": [
          "example_out_of_scope"
        ],
        "limitations": [
          "example_limitations"
        ]
      }
    },
    "findings": [
      {
        "kind": "security",
        "category": "remote_code_execution",
        "severity": "info",
        "change": "new",
        "evidence": [
          {
            "type": "file",
            "path": "scripts/setup.sh"
          },
          {
            "type": "file",
            "path": "scripts/setup.sh"
          }
        ]
      },
      {
        "kind": "security",
        "category": "remote_code_execution",
        "severity": "info",
        "change": "new",
        "evidence": [
          {
            "type": "file",
            "path": "scripts/setup.sh"
          },
          {
            "type": "file",
            "path": "scripts/setup.sh"
          }
        ]
      }
    ],
    "started_at": "2026-11-21T01:23:59.532Z",
    "completed_at": "2026-11-21T01:23:59.532Z",
    "created_at": "2026-11-21T01:23:59.532Z"
  },
  "created_at": "2026-11-21T01:23:59.532Z",
  "updated_at": "2026-11-21T01:23:59.532Z"
}
object"skill.security_review"required
idstringrequired
skill_idstringrequirednullable
verdict"pass" | "warn" | "fail" | "pending" | "unavailable" | "dismissed"required
dismissed_atdaterequirednullable
created_atdaterequired
updated_atdaterequired

Endpoints

Get skill security review

GET/skills/:skill_id/security-review

Returns the security review of a skill's latest version. Requests a review if none exists yet.

Path parameters

skill_idstringrequired

The unique identifier for the skill

Example request

curl -X GET "https://api.metorial.com/skills/ski_Rm4Mnheq2bfEPhBhP7SY/security-review" \
  -H "Authorization: Bearer metorial_sk_io2h4..."

Reassess skill security review

POST/skills/:skill_id/security-review/reassess

Starts a new review of the skill. Pending edits are sealed into a new version first.

Path parameters

skill_idstringrequired

The unique identifier for the skill

Example request

curl -X POST "https://api.metorial.com/skills/ski_Rm4Mnheq2bfEPhBhP7SY/security-review/reassess" \
  -H "Authorization: Bearer metorial_sk_io2h4..."

Dismiss skill security review

POST/skills/:skill_id/security-review/dismiss

Stops reviewing the skill. Its verdict becomes `dismissed` and no longer holds back the skill.

Path parameters

skill_idstringrequired

The unique identifier for the skill

Example request

curl -X POST "https://api.metorial.com/skills/ski_Rm4Mnheq2bfEPhBhP7SY/security-review/dismiss" \
  -H "Authorization: Bearer metorial_sk_io2h4..."

Restore skill security review

POST/skills/:skill_id/security-review/restore

Resumes reviewing a dismissed skill and starts a new review.

Path parameters

skill_idstringrequired

The unique identifier for the skill

Example request

curl -X POST "https://api.metorial.com/skills/ski_Rm4Mnheq2bfEPhBhP7SY/security-review/restore" \
  -H "Authorization: Bearer metorial_sk_io2h4..."

List skill security review revisions

GET/skills/:skill_id/security-review/revisions

Returns the most recent finished revisions of a skill's security review.

Path parameters

skill_idstringrequired

The unique identifier for the skill

Query parameters

Example request

curl -X GET "https://api.metorial.com/skills/ski_Rm4Mnheq2bfEPhBhP7SY/security-review/revisions" \
  -H "Authorization: Bearer metorial_sk_io2h4..."

Get skill security review revision

GET/skills/:skill_id/security-review/revisions/:revision_id

Retrieves a single revision of a skill's security review.

Path parameters

skill_idstringrequired

The unique identifier for the skill

revision_idstringrequired

The unique identifier for the revision

Example request

curl -X GET "https://api.metorial.com/skills/ski_Rm4Mnheq2bfEPhBhP7SY/security-review/revisions/rev_Rm4Mnheq2bfEPhBhP7SY" \
  -H "Authorization: Bearer metorial_sk_io2h4..."