Permzplus: A 2KB Zero-Dependency Auth Engine for High-Performance ABAC
These articles are AI-generated summaries. Please check the original sources for full details.
I’m 12 and I built a 2KB 0 dependency alternative to CASL!
Developer CreeperGuy released permzplus, a lightweight authentication engine designed to replace CASL. The library maintains a 100/100 Socket quality score while weighing only 2KB.
Why This Matters
Traditional authorization libraries like CASL can introduce significant bundle bloat, often exceeding 100KB, and rely on complex recursive graph-walking for role inheritance. Permzplus addresses this by implementing a one-pass linear scan that converts complex inheritance into O(1) cached lookups, prioritizing performance and supply chain security through zero dependencies.
Key Insights
- Permzplus achieves a 100/100 Socket quality score for supply chain security in 2026.
- The engine utilizes a one-pass linear scan logic instead of traditional recursive graph-walking.
- Complex role-inheritance is transformed into O(1) cached lookups for high-performance authorization.
- The library eliminates 100KB of bloat common in alternative ABAC libraries.
- Permzplus is built with TypeScript and maintains zero external dependencies.
Practical Applications
- Use case: High-performance ABAC implementation requiring O(1) lookup speeds and minimal bundle impact.
- Pitfall: Relying on recursive graph-walking for role resolution which scales poorly compared to linear scans.
References:
Continue reading
Next article
MiniStack vs Floci vs LocalStack: 2026 Local Cloud Performance Benchmark
Related Content
12MB Rust CLI Refuses to Lie: KiloCheck Returns 0.0 Confidence on Suspicious Recruiter Pitch, Exposes Social Engineering Signal
A 12MB Rust CLI tool returns 'I don't know' with 0.0 confidence on a recruiter pitch, exposing social engineering over malware.
Catching AI Red-Handed in Financial Data: Deterministic Guardrails for Zero-Tolerance Compliance
FinGuard-RAG is an open-source Python library that deterministically blocks hallucinations in financial LLM outputs, catching swapped currencies like $45.2M vs €45.2M.
How to Build an AI-Driven Property Management Email Agent Without Shared Inbox Chaos
Build a property-management email agent that auto-prioritizes tenant requests with an LLM and routes vendors via server-side rules, eliminating the bottleneck of manual triage in a shared human inbox.