Skip to content

fix(cli): block config prototype pollution#54

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
lazyGPT07:codex/block-config-prototype-pollution
Jun 14, 2026
Merged

fix(cli): block config prototype pollution#54
ralyodio merged 1 commit into
profullstack:masterfrom
lazyGPT07:codex/block-config-prototype-pollution

Conversation

@lazyGPT07

Copy link
Copy Markdown
Contributor

Summary

  • reject __proto__, prototype, and constructor in config paths and merged config files
  • traverse only own config properties
  • avoid inherited-object traversal while creating nested config values
  • add regression coverage that verifies Object.prototype remains unchanged

Validation

  • CLI suite: 7 tests passed
  • CLI TypeScript check passed
  • git diff --check passed

Closes #53

@ralyodio ralyodio merged commit a4cc229 into profullstack:master Jun 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Config paths allow prototype pollution through __proto__

2 participants