cdk-team/CDK ? reverse-engineered prompt
Reverse engineered prompt
Build me a Go command line tool for container security testing that can run inside slim Docker or Kubernetes containers without needing extra dependencies.
I want it to first inspect the current environment and tell me what looks risky, like Linux capabilities, mounts, service account details, sensitive env vars, local files, and whether it might be connected to Docker or K8s APIs. Then it should be able to list and run a set of known proof of concept checks for common container escape and privilege issues, and explain what each one is trying to test. Also include a few built in utility commands for things like editing files, checking processes, making TCP connections, scanning ports, and sending simple HTTP requests to Docker and Kubernetes endpoints.
Make the output clear and practical, so someone doing authorized security testing can quickly see what to try next. If you need to look up current docs or implementation details online, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit