Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

JS engine security manager needs to check permission source #1

Open
warriordog opened this issue Jan 5, 2015 · 0 comments
Open

JS engine security manager needs to check permission source #1

warriordog opened this issue Jan 5, 2015 · 0 comments

Comments

@warriordog
Copy link
Owner

I cheated when writing the JS security manager by having it check if the call originated in the JSExecutor class, and if so verify that it was a whitelisted permission. However this opens the door for a compromised JS environment to be able to perform any of the whitelisted actions, including reflection and classloaders (why does something built into java need that?). This will also replace the long process of scanning the stack trace with a single check.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant