Highlights
Auth Bypass: 8 prior fixes. Scrutinize any change in this area.
add-on/src/lib/ipfs-proxy/pre-mfs-scope.js: most-fixed (5 issues). Treat as high-risk during review.
12 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Path Traversal: Attackers can escape their designated DApp application directory via path manipulation in IPFS MFS file operations. Multiple fixes show a pattern of inadequate path canonicalization and failure to handle multi-argument structures in files operations.
Auth Bypass: Untrusted web applications can execute privileged IPFS RPC commands by bypassing the command dispatcher, spoofing port metadata, or exploiting pre-authorized whitelists. Defending this boundary requires retrieving origin details directly from the browser API rather than trusting sender-provided metadata.
Prototype Pollution: Using standard JavaScript objects for permission and access control tracking enables prototype pollution and parameter injection attacks. Storing tracking maps with null prototypes or explicit Map structures is required.