Just for the fun, I solved a challenge to emulate a with behavior (valid in strict mode & CSP) and I share it with you because I found it interesting even if it isn't intended to be used into a project.
Does that work with script-src: unsafe-eval disabled via CSP? If so, you should bring it up in an issue against the CSP spec, not here, as that's a potential source of vulnerabilities.