3 ms·
>You'd have to hack the interpeters to do signature validation on your scripts The proposed polyscripting mitigation already requires extensive changes to the
by imtringued 8y ago
>You'd have to hack the interpeters to do signature validation on your scripts
The proposed polyscripting mitigation already requires extensive changes to the interpreter. You have to generate a new grammar. Transform the current php, js, python, etc AST to the new grammar and then reimplement the interpreter to work on the generated grammar.
Implementing code signing in the interpreter is far simpler. A single method "checkSignature" and corresponding calls to it every time a script file is opened.