Abstract
Many approaches has been proposed to dynamically secure client side web applications allowing developers to express they security policies using some sort of policy language. Those security policies are usually expressed in JavaScript, which has some features like the dynamic type coercion that allow an attacker to bypass those security mechanisms. This has been addressed by giving the developer the option of specifying “inspection types” during the policy declaration. Those inspection types are used to safely coerce the values used during the enforcement and afterwards. However, those mechanism are mostly limited to primitive types and require carefully design of the policy and its inspection types.
We propose the extension of a policy declaration and enforcement mechanism by constructing a coercion model for all the language built-ins. Then, the model is used to safely coerce all the operands or arguments used by the built-ins operations during the policy enforcement and afterwards removing the need of inspection types.
We propose the extension of a policy declaration and enforcement mechanism by constructing a coercion model for all the language built-ins. Then, the model is used to safely coerce all the operands or arguments used by the built-ins operations during the policy enforcement and afterwards removing the need of inspection types.
Original language | English |
---|---|
Publication status | Unpublished - 23 Mar 2020 |
Event | Programming: The International Conference on the Art, Science and Engineering of Programming - Porto, Portugal Duration: 25 Mar 2020 → 26 Mar 2020 |
Conference
Conference | Programming: The International Conference on the Art, Science and Engineering of Programming |
---|---|
Abbreviated title | Programming |
Country | Portugal |
City | Porto |
Period | 25/03/20 → 26/03/20 |