About TruffleHog Browser Extension
Researchers from Truffle Security have developed the TruffleHog tool as a handy browser extension for security researchers.
Sharing the details via a blog post, Dylan Ayrey, cofounder of the firm, explained that the tool can help organizations prevent security risks due to exposed secret keys.
TruffleHog itself isn’t a new tool and has been around for many years with developers making constant improvements.
TruffleHog is available as an open-source Chrome browser extension.
By default websites can’t just make request and read the response to other API’s without the foreign API inviting them to do so with a permissive CORS header.
Amazon AWS API’s as well as many other SaaS and Cloud provider API’s have extremely permissive CORS settings.
Because multiple frontend applications often consume the same backend API, many internal apps unfortunately get scopes with permissive CORS settings… a foreign origin from the open internet with the ability to make requests to internal apps and API’s, view the responses, and steal API keys hardcoded client-side in the internal applications.
Bounty hunters and researchers can use this tool to find such keys and report them to the firms and vendors. This tool may also help security teams within businesses for internal assessments.
Researchers have submitted the tool for review on the Chrome Store. Meanwhile, interested users can sideload the tool from GitHub.
Let us know your thoughts in the comments.