Node.Security

Security Audit of Gollum

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
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 5 lib/gollum/public/gollum/javascript/mousetrap.min.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 2 lib/gollum/public/gollum/javascript/jquery-1.7.2.min.js
Server Side Injection(SSI) - new Function() User controlled data in 'new Function()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 2 lib/gollum/public/gollum/javascript/jquery-1.7.2.min.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 4 lib/gollum/public/gollum/javascript/jquery-1.7.2.min.js
Server Side Injection(SSI) - setInterval() User controlled data in 'setInterval()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 4 lib/gollum/public/gollum/javascript/jquery-1.7.2.min.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 374 lib/gollum/public/gollum/livepreview/js/livepreview.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 17 lib/gollum/public/gollum/livepreview/js/requirejs.min.js
Server Side Injection(SSI) - eval() User controlled data in eval() can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 35 lib/gollum/public/gollum/livepreview/js/requirejs.min.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 2 lib/gollum/public/gollum/livepreview/js/jquery.ba-throttle-debounce.min.js
Server Side Injection(SSI) - eval() User controlled data in eval() can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 1 lib/gollum/public/gollum/livepreview/js/sundown.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 1 lib/gollum/public/gollum/livepreview/js/sundown.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 89 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 166 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 171 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 89 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/placeholder_test.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 145 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/placeholder_test.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 1062 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/edit_session_test.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 509 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/editor.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 532 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/editor.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 622 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/editor.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 65 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/placeholder.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 185 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/placeholder.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 197 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/placeholder.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 177 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/editor_change_document_test.js
Server Side Injection(SSI) - setInterval() User controlled data in 'setInterval()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 1325 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 47 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/html_worker.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 71 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker.js
Server Side Injection(SSI) - eval() User controlled data in eval() can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 108 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker.js
Escaping is Disabled Disabling Escaping is not a secure behaviour. 166 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules.js
Escaping is Disabled Disabling Escaping is not a secure behaviour. 184 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 40 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/lua_worker.js
Escaping is Disabled Disabling Escaping is not a secure behaviour. 156 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc_highlight_rules.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 43 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_worker.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 41 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 41 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xml_worker.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 40 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/php_worker.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 40 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 66 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_worker.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 695 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript/jshint.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 733 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript/jshint.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 749 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript/jshint.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 765 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript/jshint.js
Server Side Injection(SSI) - new Function() User controlled data in 'new Function()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 1290 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript/jshint.js
Server Side Injection(SSI) - eval() User controlled data in eval() can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 4401 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/css/csslint.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 10392 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/html/saxparser.js
Key Hardcoded A hardcoded key in plain text was identified. 85 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml_test.js
Server Side Injection(SSI) - setInterval() User controlled data in 'setInterval()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 202 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/multi_select_handler.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 129 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/default_gutter_handler.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 143 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/default_gutter_handler.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 74 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/dragdrop_handler.js
Server Side Injection(SSI) - setInterval() User controlled data in 'setInterval()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 271 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/dragdrop_handler.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 297 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/dragdrop_handler.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 174 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_handler.js
Server Side Injection(SSI) - setInterval() User controlled data in 'setInterval()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 179 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_handler.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 190 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_handler.js
Server Side Injection(SSI) - setInterval() User controlled data in 'setInterval()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 115 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/layer/font_metrics.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 147 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/layer/cursor.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 153 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/layer/cursor.js
Server Side Injection(SSI) - setInterval() User controlled data in 'setInterval()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 158 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/layer/cursor.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 82 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 190 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 287 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 310 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 358 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 394 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 488 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 598 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/emacs.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 850 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 1493 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 14 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/test/asyncjs/utils.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 26 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/test/asyncjs/utils.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 964 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/chromevox.js
Server Side Injection(SSI) - eval() User controlled data in eval() can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 38 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/old_ie.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 358 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/emmet.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 97 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/searchbox.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 162 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/searchbox.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 168 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/worker/worker_client.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 218 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/worker/worker_client.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 187 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/event.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 210 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/event.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 365 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/event.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 92 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/app_config.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 161 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/lang.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 196 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/lang.js
Server Side Injection(SSI) - setTimeout() User controlled data in 'setTimeout()' can result in Server Side Injection (SSI) or Remote Code Execution (RCE). 201 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/lang.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