mirror of
https://github.com/openclaw/clawhub.git
synced 2026-08-14 08:52:21 +00:00
90 lines
2.7 KiB
JSON
90 lines
2.7 KiB
JSON
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"verdict",
|
|
"confidence",
|
|
"summary",
|
|
"dimensions",
|
|
"scan_findings_in_context",
|
|
"user_guidance"
|
|
],
|
|
"properties": {
|
|
"verdict": { "type": "string", "enum": ["benign", "suspicious", "malicious"] },
|
|
"confidence": { "type": "string", "enum": ["high", "medium", "low"] },
|
|
"summary": { "type": "string" },
|
|
"dimensions": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"purpose_capability",
|
|
"instruction_scope",
|
|
"install_mechanism",
|
|
"environment_proportionality",
|
|
"persistence_privilege"
|
|
],
|
|
"properties": {
|
|
"purpose_capability": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["status", "detail"],
|
|
"properties": {
|
|
"status": { "type": "string", "enum": ["ok", "note", "concern"] },
|
|
"detail": { "type": "string" }
|
|
}
|
|
},
|
|
"instruction_scope": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["status", "detail"],
|
|
"properties": {
|
|
"status": { "type": "string", "enum": ["ok", "note", "concern"] },
|
|
"detail": { "type": "string" }
|
|
}
|
|
},
|
|
"install_mechanism": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["status", "detail"],
|
|
"properties": {
|
|
"status": { "type": "string", "enum": ["ok", "note", "concern"] },
|
|
"detail": { "type": "string" }
|
|
}
|
|
},
|
|
"environment_proportionality": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["status", "detail"],
|
|
"properties": {
|
|
"status": { "type": "string", "enum": ["ok", "note", "concern"] },
|
|
"detail": { "type": "string" }
|
|
}
|
|
},
|
|
"persistence_privilege": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["status", "detail"],
|
|
"properties": {
|
|
"status": { "type": "string", "enum": ["ok", "note", "concern"] },
|
|
"detail": { "type": "string" }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scan_findings_in_context": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["ruleId", "expected_for_purpose", "note"],
|
|
"properties": {
|
|
"ruleId": { "type": "string" },
|
|
"expected_for_purpose": { "type": "boolean" },
|
|
"note": { "type": "string" }
|
|
}
|
|
}
|
|
},
|
|
"user_guidance": { "type": "string" }
|
|
}
|
|
}
|