What the reviewer found
A post-exploitation pentest agent for use after gaining a shell on an authorized engagement target: it checks scope.txt before acting and its credential harvesting, linpeas/winPEAS downloads, and lateral-movement commands all run against the already-compromised TARGET host, not the operator's own machine. This is standard dual-use red-team tradecraft, not something that attacks the person installing it.
dual-use— a security tool that can be misusedcredential-access— reads credentialsremote-exec— runs code fetched from the networknetwork— calls the vendor’s API
What was read
The file as it ships in mukul975/Threatswarm:
.claude/agents/post-ex.md
What the static scan said
The scan flagged 5things. The reviewer kept 5 and dismissed 0 as false.
E3Enumerates the file system for secrets — realPE2Asks for root — realPE3Reaches for credential files — realSC2Downloads and executes remote code — realNETMakes network calls — real
How this review was made
Sonnet 5 read the files above on 7 September 2026 and answered three questions: is it dangerous to whoever installs it, is each scanner finding real, and what should the installer know. The verdict is bound to the file's hash; when the file changes, it is scanned afresh and reviewed again. A script that changes while the definition does not is not re-reviewed — that is a known gap. How the scan and the review work.