All processing that is potentially dangerous, such as parsing files or re-rendering images, should be performed in an isolated sandbox.