You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A text-based lockfile (bun.lock) was recently added to Bun (to replace the previously used binary bun.lockb file). It can be created with bun install --save-text-lockfile. (Currently only the nightly builds have this feature.)
The plain-text file contains many checksums, and trufflehog mistakenly detects some checksums as access tokens.
This is a line from bun.lock that triggers a false positive:
Thank you for taking the time to open this issue, we really appreciate your contribution to the project!
We’ll take a look and get back to you as soon as we can. If we need any clarification, we’ll follow up here.
Thanks again for helping make this project better!
For now, you can try ignoring this file as explained here, the --exclude-paths flag can be used to skip specific files or directories during scanning.
How to do that:
Create a file exclude.txt and add all the paths separated by newline that need to be excluded. and then add the following to your command:
--exclude-paths exclude.txt
This approach offers greater flexibility compared to permanently excluding a file or updating the detector, as there may be scenarios where scanning that file is desired. We’d appreciate your thoughts on this.
A text-based lockfile (
bun.lock
) was recently added to Bun (to replace the previously used binarybun.lockb
file). It can be created withbun install --save-text-lockfile
. (Currently only the nightly builds have this feature.)The plain-text file contains many checksums, and
trufflehog
mistakenly detects some checksums as access tokens.This is a line from
bun.lock
that triggers a false positive:It says
q0hJ9scDTNNailT8qytvOjuiUhyJpAPA
(part of the checksum) is a Box access token.The text was updated successfully, but these errors were encountered: