apache / hop

Hop Orchestration Platform
https://hop.apache.org/
Apache License 2.0
937 stars 338 forks source link

[Feature Request]: Add a filter to check code used by the janino transforms #4238

Closed hansva closed 3 weeks ago

hansva commented 3 weeks ago

What would you like to happen?

Add a "code scanner" to the janino transforms:

Sandboxing is no longer an option after Java 17 as the security manager is deprecated. However, we want to limit the code a user can execute using the UDJE and UDJC. A simple approach is to search for strings in the code and block execution if it contains that code. This way we can block eg. System. calls

Issue Priority

Priority: 2

Issue Component

Component: Documentation, Component: Transforms

hansva commented 3 weeks ago

.take-issue