A project created in the course Language-Based Security (http://www.cse.chalmers.se/edu/course/TDA602/)
This code only supposed to be used for education and it's based on source code from http://www.security-explorations.com/
Test the applet in your browser here: https://dl.dropboxusercontent.com/u/78870095/maliciousapplet.html
Demo in OS X can be found here: https://vimeo.com/166826552