prototype-pollution
CommunityPrevent prototype pollution in JS/TS code.
Software Engineering#typescript#security#javascript#prototype#input-validation#code-review#pollution
Authorthejefflarson
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Protects code from prototype pollution by detecting and mitigating unsafe patterns such as deep merges and dynamic property assignment that can modify the global Object prototype.
Core Features & Use Cases
- Detects dangerous patterns like proto and constructor pollution in deep merges, clones, and dynamic property assignments.
- Recommends safe data structures (e.g., Object.create(null)) and guarded merging strategies to prevent prototype pollution.
- Use cases include secure library development, code review, and input validation in web services.
Quick Start
Identify and fix prototype-pollution risks by filtering dangerous keys and using safe merging patterns.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: prototype-pollution Download link: https://github.com/thejefflarson/soundcheck/archive/main.zip#prototype-pollution Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.