Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
function(){try{if(ea>=ka.length)ca();else{var S=ka[ea];StorageFile.getFileContent(this,S,mxUtils.bind(this,function(da){null==da||".scratchpad"==S&&da==this.emptyLibraryXml?K.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",funtionName:"getLocalStorageFile",functionArgs:[S]}),"*"):ja()}),ja)}}catch(da){console.log(da)}}),Z=mxUtils.bind(this,function(S){try{this.setDatabaseItem(null,[{title:S.title,size:S.data.length,lastModified:Date.now(),type:S.isLib?"L":"F"},{title:S.title,data:S.data}],
ja,ja,["filesInfo","files"])}catch(da){console.log(da)}});F=mxUtils.bind(this,function(S){try{if(S.source==K.contentWindow){var da={};try{da=JSON.parse(S.data)}catch(P){}"init"==da.event?(K.contentWindow.postMessage(JSON.stringify({action:"remoteInvokeReady"}),"*"),K.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",funtionName:"getLocalStorageFileNames"}),"*")):"remoteInvokeResponse"!=da.event||H||(N?null!=da.resp&&0<da.resp.length&&null!=da.resp[0]?(ka=da.resp[0],N=!1,ma()):ca():null!=