{"library":"detect-secrets","type":"library","category":null,"description":"Detect-secrets is a tool designed to identify and prevent sensitive information, such as API keys, passwords, and other credentials, from being committed into source code repositories. It leverages various detectors, including regex, keyword, and optional machine learning-based algorithms. The current version is 1.5.0, with minor releases typically occurring every few months.","language":"python","status":"active","version":"1.5.0","tags":["security","static analysis","secrets detection","pre-commit","devsecops"],"last_verified":"Wed May 20","install":[{"cmd":"pip install detect-secrets","imports":["from detect_secrets.core.usage import run_as_library","from detect_secrets.settings import TransientSettings","from detect_secrets.core.baseline import Baseline"]},{"cmd":"pip install 'detect-secrets[ml]'","imports":[]}],"homepage":null,"github":"https://github.com/Yelp/detect-secrets","docs":null,"changelog":null,"pypi":"https://pypi.org/project/detect-secrets/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":2.3,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/detect-secrets/compatibility"}}