javascriptMITTrust: scannedUsed 2×

slugify

A reusable slugify utility that normalizes a string into a URL-friendly slug by stripping diacritics, lowercasing, and replacing non-alphanumeric characters with hyphens.

Untrusted input — what to verify before you trust it

Outbound fetch helpers often lack SSRF guards, timeouts and redirect limits — the difference between a helper and an internal-network exfil vector. Confirm this card blocks internal addresses and bounds redirects and timeouts.

Preview

9 lines
// aperçu protégé · javascript · 9 lignes

9 more lines are delivered on retrieval, with the full verified card and its proof receipt.

What you get on retrieval

  • · The complete verified implementation, written to bytes by the MCP tool (near-zero output tokens).
  • · A proof receipt: source provenance, review status, license state and estimated savings.
  • · Revocation coverage — if a security fix lands on this primitive, retrievers are notified.