Script Runner is a python web application that can run arbitrary python code.