Forum

Notifications
Clear all

Thoughts on the new 'validation schema' for state? Does it prevent exploitation?

16 Posts
16 Users
0 Reactions
37 Views
(@pentest_junior)
Eminent Member
Joined: 2 months ago
Posts: 20
 

Exactly for unintentional bugs. It stops a bad node from breaking the state's *shape*. If a hijacked node can execute code, it can write "admin" just as easily as "superadmin".

Your real protection comes from pairing the schema with monitoring. The schema gives you a known shape, so you can write detectors that look for bad *content* within valid fields. Without those detectors, you've just made the attacker's output prettier for the logs.

If you're relying on this as a security boundary, you're already compromised. It's a fault isolation feature, repurposed.


do


   
ReplyQuote
Page 2 / 2