uri-normalization

Official

Block path-encoding ACL bypasses reliably.

AuthorPandaala
Version1.0.0
Installs0

System Documentation

What problem does it solve?

URI/path normalization prevents security gaps where encoded or obfuscated path variants can slip past path-class ACL enforcement, especially via percent-encoding, double slashes, dot-segments, or path-parameter tricks.

Core Features & Use Cases

  • Dual-view URI model (entry vs current): preserves the client’s raw entry path for audit/deny semantics while using a normalized current view for routing and ACL decisions.
  • Always-on fixed normalization pipeline: applies a deterministic sequence (strip path parameters → percent-decode → merge slashes → remove dot-segments) to close traversal-style bypass vectors.
  • Rewrite-safe cache synchronization: when rewrite plugins update the upstream URI via set_upstream_uri, the skill refreshes the normalized current-view cache so $path/$uri and route/ACL reads stay consistent.
  • Security guarantee scope: provides explicit protection coverage and documents what is and is not guaranteed, including recommended high-security rejection settings.

Quick Start

Ask an engineer to enable and rely on URI normalization for every request entry so that ACLs and route matching always evaluate the normalized current path while audit logs retain the original entry URI.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: uri-normalization
Download link: https://github.com/Pandaala/Edgion/archive/main.zip#uri-normalization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.