BloodHoundAD/BARK ? reverse-engineered prompt

Reverse engineered prompt

Build me a PowerShell tool for Azure and Entra research that helps me quickly test and validate common attack paths.

I want one script I can dot source, with simple functions that can get tokens, parse JWTs, and then list things like users, groups, apps, service principals, roles, subscriptions, resource groups, key vaults, virtual machines, web apps, and other common Azure resources. It should work mainly through direct REST API calls, without needing extra dependencies, and each function should be usable on its own too.

Please make it easy to use from the command line, with clear output and a few examples for getting a token and running an enumeration query. If there are any tricky API details or current endpoint requirements, look up the latest docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab