translate-tools/linguist

Implement sandbox for custom translators

Aperta

#238 aperta il 11 mar 2023

 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (50 fork)auto 404
enhancementhelp wantedpostponed

Metriche repository

Star
 (1033 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor