Difference between revisions of "report/security/report security check nodemodules"

Jump to: navigation, search
(Initial version of the page, content copied from Moodle)
 
m (Added link to spanish translation of page)
 
Line 6: Line 6:
  
 
It is strongly recommended to remove the directory if the site is available via a public URL, or at least prohibit web access to it.
 
It is strongly recommended to remove the directory if the site is available via a public URL, or at least prohibit web access to it.
 +
 +
 +
[[es:report/security/report security check nodemodules]]

Latest revision as of 14:12, 14 September 2017

Node.js modules directory security check

The node_modules directory should not be present on public sites.

The directory node_modules inside the Moodle dirroot contains Node.js modules and their dependencies, typically installed by the NPM utility. These modules may be required for Moodle development. They are not needed to run a Moodle site and they can contain potentially dangerous code exposing your site to remote attacks.

It is strongly recommended to remove the directory if the site is available via a public URL, or at least prohibit web access to it.