translate-tools/linguist

Implement sandbox for custom translators

Open

#238 opened on Mar 11, 2023

 (0 comments) (0 reactions) (0 assignees)TypeScript (50 forks)auto 404
enhancementhelp wantedpostponed

Repository metrics

Stars
 (1,033 stars)
PR merge metrics
 (PR metrics pending)

Description

Execute custom translators code in a sandbox. We should provide to sandbox a basic JS features and objects to fetch requests. We should always warn users about potentially dangerous translators code, but try to decrease possible attack vectors.

Probably, to implement it, we have to create WASM module and then provide JS features to this module.

Links to explore

Contributor guide