1.2.1 • Published 8 years ago

@plugin.land/run-command v1.2.1

Weekly downloads
-
License
-
Repository
-
Last release
8 years ago

  • Avoid using child_process.exec, and never use it if the command contains any input that changes based on user input.
  • Try to avoid letting users pass in options to commands if possible. Typically values are okay when using spawn or execfile, but selecting options via a user controlled string is a bad idea.
  • If you must allow for user controlled options, look at the options for the command extensively, determine which options are safe, and whitelist only those options.