Labs/Jetpack/Binary Components: Difference between revisions

Jump to navigation Jump to search
→‎Security Concerns: added more notes
(added security notes)
(→‎Security Concerns: added more notes)
Line 23: Line 23:


# The membrane methods have a tendency to get called very frequently, and as a result, implementing them in JavaScript is likely to not be efficient.
# The membrane methods have a tendency to get called very frequently, and as a result, implementing them in JavaScript is likely to not be efficient.
# JavaScript is an inherently dynamic language, and it's very hard to predict what all the possible outcomes of JavaScript code for a membrane might be.  Because of this, it's hard to code review a Flexible Membrane for security vulnerabilities.
# JavaScript is an inherently dynamic language, and it's very hard to predict what all the possible outcomes of JavaScript code for a membrane might be&mdash;especially when the membrane's script is in the same <code>JSRuntime</code> as the code it's trying to protect.  Because of this, it's hard to code review a Flexible Membrane for security vulnerabilities.


Because of these concerns, it's advised that any flexible membranes be re-written in C++ before being reviewed for security and placed in production code.
Because of these concerns, it's advised that any flexible membranes be re-written in C++ before being reviewed for security and placed in production code.
93

edits

Navigation menu