The Fetch the Flag CTF 2022 Treasure Trove challenge involved reverse engineering and exploiting a swashbuckle.js endpoint to extract a license key from a website. The challenge required teams to use browser console commands to invoke the `validate` method on the `window` object, which returned an integer that was used to verify the license key. The code used a series of checks to validate the input characters and calculate their sum, before posting it to an API endpoint if the value matched 1800. Teams were able to solve this challenge without engaging with the obfuscator codebase, using browser console commands to bypass the encryption and extract the flag.