thoughtworks / talisman

Using a pre-commit hook, Talisman validates the outgoing changeset for things that look suspicious — such as tokens, passwords, and private keys.
https://thoughtworks.github.io/talisman/
MIT License
1.91k stars 242 forks source link

Password secret not detected on commit #404

Open sarnya opened 1 year ago

sarnya commented 1 year ago

Describe the bug Password secret not detected on commit when talisman was added as a pre-commit hook.

To Reproduce Steps to reproduce the behaviour:

  1. Add func("password', "asdfasdfa"); to some file in the repo
  2. Make a commit

Expected behavior Commit should fail, and talisman should show the text as a potential secret.

Desktop (please complete the following information):