{
  "code": null,
  "collection": "algorithms",
  "href": "https://banes-lab.com/ontology/algorithms#algorithms-defensive-string-normalization",
  "id": "defensive-string-normalization",
  "kind": "algorithm",
  "layer": null,
  "name": "Defensive String Normalization",
  "ref": "algorithms:defensive-string-normalization",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-domain-context-verification",
          "json": "https://banes-lab.com/json/records/algorithms-domain/context-verification",
          "label": "Context verification",
          "markdown": "https://banes-lab.com/records/algorithms-domain/context-verification.md",
          "ref": "algorithms-domain:context-verification"
        }
      ],
      "relation": "domain"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/reasoning#stage-act",
          "json": "https://banes-lab.com/json/records/stage/act",
          "label": "act",
          "markdown": "https://banes-lab.com/records/stage/act.md",
          "ref": "stage:act"
        }
      ],
      "relation": "stage"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/reasoning#reasoning-axis-formalization",
          "json": "https://banes-lab.com/json/records/reasoning/axis-formalization",
          "label": "formalization",
          "markdown": "https://banes-lab.com/records/reasoning/axis-formalization.md",
          "ref": "reasoning:axis-formalization"
        }
      ],
      "relation": "axis"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#vocabulary-domain-tier-process",
          "json": "https://banes-lab.com/json/records/vocabulary/domain-tier-process",
          "label": "process",
          "markdown": "https://banes-lab.com/records/vocabulary/domain-tier-process.md",
          "ref": "vocabulary:domain-tier-process"
        }
      ],
      "relation": "tier"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/reasoning#reasoning-math-type-computation",
          "json": "https://banes-lab.com/json/records/reasoning/math-type-computation",
          "label": "Computation",
          "markdown": "https://banes-lab.com/records/reasoning/math-type-computation.md",
          "ref": "reasoning:math-type-computation"
        }
      ],
      "relation": "math-type"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#force-modularity",
          "json": "https://banes-lab.com/json/records/force/modularity",
          "label": "Modularity",
          "markdown": "https://banes-lab.com/records/force/modularity.md",
          "ref": "force:modularity"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#force-semantic-consistency",
          "json": "https://banes-lab.com/json/records/force/semantic-consistency",
          "label": "Semantic consistency",
          "markdown": "https://banes-lab.com/records/force/semantic-consistency.md",
          "ref": "force:semantic-consistency"
        }
      ],
      "relation": "force"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/reasoning#reasoning-loop-derivation-loop",
          "json": "https://banes-lab.com/json/ontology/reasoning/reasoning-loop-derivation-loop",
          "label": "The derivation loop",
          "markdown": "https://banes-lab.com/ontology/reasoning/reasoning-loop-derivation-loop.md",
          "ref": "chapter:/ontology/reasoning#reasoning-loop-derivation-loop"
        },
        {
          "href": "https://banes-lab.com/ontology/reasoning#the-axes",
          "json": "https://banes-lab.com/json/ontology/reasoning/the-axes",
          "label": "The axes",
          "markdown": "https://banes-lab.com/ontology/reasoning/the-axes.md",
          "ref": "chapter:/ontology/reasoning#the-axes"
        },
        {
          "href": "https://banes-lab.com/ontology/reasoning#the-mathematics",
          "json": "https://banes-lab.com/json/ontology/reasoning/the-mathematics",
          "label": "The mathematics",
          "markdown": "https://banes-lab.com/ontology/reasoning/the-mathematics.md",
          "ref": "chapter:/ontology/reasoning#the-mathematics"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#the-vocabulary-domain-tier",
          "json": "https://banes-lab.com/json/ontology/schema/the-vocabulary-domain-tier",
          "label": "Domain tiers",
          "markdown": "https://banes-lab.com/ontology/schema/the-vocabulary-domain-tier.md",
          "ref": "chapter:/ontology/schema#the-vocabulary-domain-tier"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#the-forces",
          "json": "https://banes-lab.com/json/ontology/schema/the-forces",
          "label": "The forces",
          "markdown": "https://banes-lab.com/ontology/schema/the-forces.md",
          "ref": "chapter:/ontology/schema#the-forces"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "summary": "Reject null input, remove dangerous path/control patterns, normalize Unicode representation, and only pass sanitized strings to filesystem, parser, or command boundaries.",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/ontology/algorithms#algorithms-safe-arithmetic-contract",
      "json": "https://banes-lab.com/json/records/algorithms/safe-arithmetic-contract",
      "label": "Safe Arithmetic Contract",
      "markdown": "https://banes-lab.com/records/algorithms/safe-arithmetic-contract.md",
      "ref": "algorithms:safe-arithmetic-contract"
    },
    "previous": {
      "href": "https://banes-lab.com/ontology/algorithms#algorithms-adversarial-input-testing",
      "json": "https://banes-lab.com/json/records/algorithms/adversarial-input-testing",
      "label": "Adversarial Input Testing",
      "markdown": "https://banes-lab.com/records/algorithms/adversarial-input-testing.md",
      "ref": "algorithms:adversarial-input-testing"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/records/algorithms",
    "label": "Algorithm contracts",
    "markdown": "https://banes-lab.com/api/records/algorithms.md",
    "ref": "api:records/algorithms"
  },
  "closure": "https://banes-lab.com/json/records/algorithms/defensive-string-normalization/closure"
}
