BLXBenchBLXBench UI
blxbench

Benchmark

Misc

DocsOur TestsPassSponsor / Partnership
DocsOur TestsPassSponsor / Partnership
BLXBenchBLXBench UI
blxbench

Benchmark

Suite

Misc

DocsOur TestsPassSponsor / Partnership
DocsOur TestsPassSponsor / Partnership
  1. Home
  2. Our Tests
  3. Sec-Html-Entity-Encoder
blxbench

Test fixture

Sec-Html-Entity-Encoder

Securityv2 — Resilienceeasyscorer: rubric_json_metrics

Secure code changes, vulnerability recognition, and safe defaults.

How it is scored

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.

User prompt
Return JSON only with keys verdict, risk, mitigation. Review HTML entity encoding that escapes < and > but misses &, quotes, and attribute-context encoding.
Scorer config
{
  "metrics": {
    "correct": {
      "checks": [
        {
          "contains": [
            "HTML"
          ]
        },
        {
          "contains": [
            "entity"
          ]
        },
        {
          "contains": [
            "&"
          ]
        },
        {
          "contains": [
            "quote"
          ]
        },
        {
          "contains": [
            "attribute"
          ]
        }
      ]
    },
    "hidden": {
      "checks": [
        {
          "contains": [
            "context"
          ]
        },
        {
          "contains": [
            "escape"
          ]
        },
        {
          "contains": [
            "XSS"
          ]
        },
        {
          "contains": [
            "double encode"
          ]
        },
        {
          "contains": [
            "output encoding"
          ]
        }
      ]
    }
  }
}
Run parameters

temperature

0

max_tokens

420

timeout (s)

120

type

scored

file

sec-html-entity-encoder.json

← PreviousSec-Hostname-Allowlist-Validator
|
Next →Sec-Input-Sanitizer

BLXBench

Community driven leaderboardPublic benchmark runner — run in your environment, share results with the community.

© 2026 BLXBench by bitslix.com

ProvenanceAggregated from user runs
Scope42 / 11 / 490
Latestrun_7ce130 / 458 / $1.16
TermsPrivacy