Node.Security

Security Audit of Deco-ide

ISGroup SRL performed an automated Code Review (not a real Static Analysis, more a grep-on-steroid) of this NodeJS project in order to identify potential security vulnerabilities. We do not guarantee that all the findings are valid, and for sure there are plenty of false-positives and false-negatives (undetected issues) but it's free and your project could benefit from this security analisys. The following data is also available in JSON format!

Possible Security Issues
Issue Description Line File
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 25 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 44 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 54 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 55 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 56 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 57 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 58 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 59 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 60 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 61 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 62 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 109 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 114 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 119 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 122 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 136 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 139 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 202 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 203 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 208 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 211 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 212 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 215 desktop/gulpfile.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 216 desktop/gulpfile.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 164 desktop/src/handlers/windowHandler.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 243 desktop/src/handlers/fileHandlerBackup.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 394 desktop/src/handlers/fileHandlerBackup.js
Server Side Injection(SSI) - setInterval() User controlled data in 'setInterval()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 102 desktop/src/handlers/processHandler.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 55 desktop/src/handlers/upgradeHandler.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 129 desktop/src/window/windowManager.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 136 desktop/src/window/windowManager.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 141 desktop/src/process/simulatorController.js
Server Side Injection(SSI) - setInterval() User controlled data in 'setInterval()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 156 desktop/src/process/packagerController.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 67 desktop/src/process/buildController.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 43 desktop/src/process/utils/xcodeUtils.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 28 desktop/deco_unpack_lib/Scripts/appWatcher.js
Server Side Injection(SSI) - setInterval() User controlled data in 'setInterval()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 71 desktop/deco_unpack_lib/Scripts/appWatcher.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 126 desktop/deco_unpack_lib/Scripts/deco-tool/configure.deco.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 211 desktop/deco_unpack_lib/Scripts/deco-tool/configure.deco.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 223 desktop/deco_unpack_lib/Scripts/deco-tool/configure.deco.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 293 desktop/deco_unpack_lib/Scripts/deco-tool/configure.deco.js
Server Side Injection(SSI) - setInterval() User controlled data in 'setInterval()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 378 desktop/deco_unpack_lib/Scripts/deco-tool/configure.deco.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 18 desktop/deco_unpack_lib/Scripts/deco-tool/node_modules/lodash/_baseDelay.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 7 desktop/deco_unpack_lib/Scripts/deco-tool/node_modules/lodash/core.min.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 99 desktop/deco_unpack_lib/Scripts/deco-tool/node_modules/lodash/debounce.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 129 desktop/deco_unpack_lib/Scripts/deco-tool/node_modules/lodash/debounce.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 167 desktop/deco_unpack_lib/Scripts/deco-tool/node_modules/lodash/debounce.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 172 desktop/deco_unpack_lib/Scripts/deco-tool/node_modules/lodash/debounce.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 423 desktop/deco_unpack_lib/Scripts/deco-tool/node_modules/lodash/core.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 2414 desktop/deco_unpack_lib/Scripts/deco-tool/node_modules/lodash/lodash.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 9665 desktop/deco_unpack_lib/Scripts/deco-tool/node_modules/lodash/lodash.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 9695 desktop/deco_unpack_lib/Scripts/deco-tool/node_modules/lodash/lodash.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 9733 desktop/deco_unpack_lib/Scripts/deco-tool/node_modules/lodash/lodash.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 9738 desktop/deco_unpack_lib/Scripts/deco-tool/node_modules/lodash/lodash.js
Remote OS Command Execution User controlled data in 'child_process.exec()' can result in Remote OS Command Execution. 41 desktop/deco_unpack_lib/Scripts/deco-tool/util/adb.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 34 web/src/scripts/factories/scaffold/ReactNativeScaffolds/RefreshControl.js
Key Hardcoded A hardcoded key in plain text was identified. 29 web/src/scripts/reducers/moduleReducer.js
Key Hardcoded A hardcoded key in plain text was identified. 20 web/src/scripts/constants/LayoutConstants.js
Key Hardcoded A hardcoded key in plain text was identified. 22 web/src/scripts/utils/OnboardingUtils.js
Key Hardcoded A hardcoded key in plain text was identified. 22 web/src/scripts/utils/SimulatorUtils.js
Key Hardcoded A hardcoded key in plain text was identified. 22 web/src/scripts/utils/RecentProjectUtils.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 79 web/src/scripts/actions/fileActions.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 349 web/src/scripts/actions/applicationActions.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 351 web/src/scripts/actions/applicationActions.js
Server Side Injection(SSI) - eval() User controlled data in eval() can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 25 web/tools/ReactNativeTemplates/convert.js
Key Hardcoded A hardcoded key in plain text was identified. 20 shared/src/constants/PreferencesConstants.js
Missing Security Features
Issue Description
Missing Security Header - X-Frame-Options (XFO) X-Frame-Options (XFO) header provides protection against Clickjacking attacks.
Missing Security Header - Content-Security-Policy (CSP) Content Security Policy (CSP), a mechanism web applications can use to mitigate a broad class of content injection vulnerabilities, such as cross-site scripting (XSS). CSP Header was not found.
Missing Security Header - Strict-Transport-Security (HSTS) Strict-Transport-Security (HSTS) header enforces secure (HTTP over SSL/TLS) connections to the server.
Missing 'httpOnly' in Cookie JavaScript can access Cookies if they are not marked httpOnly.
Infromation Disclosure - X-Powered-By Remove the X-Powered-By header to prevent information gathering.
Missing Security Header - X-Content-Type-Options X-Content-Type-Options header prevents Internet Explorer and Google Chrome from MIME-sniffing a response away from the declared content-type.
Missing Security Header - X-Download-Options: noopen X-Download-Options header set to noopen prevents IE users from directly opening and executing downloads in your site's context.
Missing Security Header - X-XSS-Protection:1 X-XSS-Protection header set to 1 enables the Cross-site scripting (XSS) filter built into most recent web browsers.
Missing Security Header - Public-Key-Pins (HPKP) Public-Key-Pins (HPKP) ensures that certificate is Pinned.
Outdated Libraries
File Library Reference