-
Notifications
You must be signed in to change notification settings - Fork 179
Expand file tree
/
Copy pathspec.yaml
More file actions
28 lines (28 loc) · 806 Bytes
/
spec.yaml
File metadata and controls
28 lines (28 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
type: "evaluator"
name: "builtin.code_vulnerability"
version: 3
displayName: "Code-Vulnerability-Evaluator"
description: "Assesses whether generated code contains potential security flaws. Lower scores indicate safer, more secure code. Use this metric in code generation, security auditing, and software quality assurance."
evaluatorType: "builtin"
evaluatorSubType: "service"
categories: ["safety", "agents"]
tags:
provider: "Microsoft"
scenario: "red_team"
is_red_team_scenario: "true"
initParameterSchema:
type: "object"
properties: {}
required: []
dataMappingSchema:
type: "object"
properties:
query:
type: "string"
response:
type: "string"
required: ["query", "response"]
outputSchema:
code_vulnerability:
type: "boolean"
desirable_direction: "decrease"