you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 7 months ago (1 child)

Remember when writing a client side JavaScript application all that code is transferred to the client machine and executed. Don't put any sensitive code or strings in that code.

  • source
  • hideshow 1 child comment
  • [–] 5 points 7 months ago

    Yep. Use free tools like gitguardian, gitleaks, etc. and run them in pre-commit hooks. Makes it a lot easier to catch.

    And if you leak one by accident, change it immediately. There are bots trolling sites and repos for this information.

  • source
  • parent