https://github.com/EwenQuim/entropy Skip to content Navigation Menu Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + GitHub Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up 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 {{ message }} EwenQuim / entropy Public * Notifications You must be signed in to change notification settings * Fork 5 * Star 386 * Entropy is a CLI tool that will scan your codebase for high entropy lines, which are often secrets. License MIT license 386 stars 5 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 0 * Pull requests 1 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights EwenQuim/entropy This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master BranchesTags Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 8 Commits .github/workflows .github/ workflows testdata testdata .dockerignore .dockerignore Dockerfile Dockerfile LICENSE LICENSE Makefile Makefile README.md README.md entropy.png entropy.png go.mod go.mod go.sum go.sum main.go main.go main_test.go main_test.go View all files Repository files navigation * README * MIT license Entropy logo Paranoid about having secrets leaked in your huge codebase? Entropy is here to help you find them! Entropy Go Reference Go Report Card Entropy is a CLI tool that will scan your codebase for high entropy lines, which are often secrets. Installation From source with Go (preferred) go install github.com/EwenQuim/entropy@latest entropy # More options entropy -h entropy -top 20 -ext go,py,js entropy -top 5 -ignore-ext min.js,pdf,png,jpg,jpeg,zip,mp4,gif my-folder my-file1 my-file2 or in one line go run github.com/EwenQuim/entropy@latest With brew WIP With docker docker run --rm -v $(pwd):/data ewenquim/entropy /data # More options docker run --rm -v $(pwd):/data ewenquim/entropy -h docker run --rm -v $(pwd):/data ewenquim/entropy -top 20 -ext go,py,js /data docker run --rm -v $(pwd):/data ewenquim/entropy -top 5 /data/my-folder /data/my-file The docker image is available on Docker Hub. The -v option is used to mount the current directory into the container. The /data directory is the default directory where the tool will look for files. Don't forget to add /data at the end of the command, otherwise the tool will search inside the container, not your local filesystem. My other projects * Fuego: A Go framework that generates OpenAPI documentation from your codebase. * Renpy-Graphviz: A tool to generate a graph of the Ren'Py game engine's screens and labels. About Entropy is a CLI tool that will scan your codebase for high entropy lines, which are often secrets. Topics go cli entropy secrets-detection Resources Readme License MIT license Activity Stars 386 stars Watchers 1 watching Forks 5 forks Report repository Releases 3 tags Contributors 2 * @EwenQuim EwenQuim Ewen Quimerc'h * @ImgBotApp ImgBotApp Imgbot Languages * Go 95.3% * Dockerfile 2.7% * Makefile 2.0% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.