Skip to content

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

@hansva

Description

@hansva

What would you like to happen?

Add a "code scanner" to the janino transforms:

  • Allow Admins/Users to define a list of strings that are not allowed to be executed

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

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions