Test fixture
Secure code changes, vulnerability recognition, and safe defaults.
The model receives the prompt (and optional system message). The run uses scorer rubric_json_metrics with the JSON configuration below. Pass/fail and partial credit are determined entirely by that scorer against the model output; no human grading.
Return JSON only with keys verdict, risk, mitigation. A JWT verifier trusts the alg header from the token and accepts tokens with alg set to none.
{
"metrics": {
"correct": {
"checks": [
{
"contains": [
"JWT"
]
},
{
"contains": [
"alg none"
]
},
{
"contains": [
"signature"
]
}
]
},
"hidden": {
"checks": [
{
"contains": [
"allowed algorithms"
]
},
{
"contains": [
"verify"
]
},
{
"contains": [
"reject none"
]
}
]
}
}
}temperature
0
max_tokens
460
timeout (s)
120
type
scored
file
sec-jwt-alg-none.json