title: Is it risky to use drush command in your custom module?
body: <p>I want to run SQL query using drush sqlq command in my custom module and want to export data in a csv file. </p>
  
  <pre><code>drush sqlq “select nid, title from node_field_data” &gt; test.csv
  </code></pre>
  
  <p>This is working fine but is it risky to use on live project? Or can it be a security vulnerability?</p>
  
  <p>Please suggest.  </p>