Skip to content

Commit

Permalink
fix: Add additional classes to Polymod Blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteMasterEric authored and ninjamuffin99 committed Oct 4, 2024
1 parent 5141ac1 commit b0b73c8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source/funkin/modding/PolymodHandler.hx
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,13 @@ class PolymodHandler
// System.load() can load malicious DLLs
Polymod.blacklistImport('lime.system.System');

// `lime.utils.Assets`
// Literally just has a private `resolveClass` function for some reason?
Polymod.blacklistImport('lime.utils.Assets');
Polymod.blacklistImport('openfl.utils.Assets');
Polymod.blacklistImport('openfl.Lib');
Polymod.blacklistImport('openfl.system.ApplicationDomain');

// `openfl.desktop.NativeProcess`
// Can load native processes on the host operating system.
Polymod.blacklistImport('openfl.desktop.NativeProcess');
Expand Down

0 comments on commit b0b73c8

Please sign in to comment.