PentestCode
Hard fork of OpenCode with thirteen agents and a shared engagement state, aimed at internal networks and Active Directory.
About PentestCode
A lead agent splits the engagement and runs specialists in parallel: scanner, enumerator, identity, web, exploiter, post-exploitation. Its documented chain goes from a full port scan to AS-REP roasting, spraying each credential over SMB, WinRM, LDAP and RDP on every known host, then dumping SAM, LSA and DPAPI.
One mode bypasses the scope checks. It has no network signature towards its targets.
It is first a terminal tool. Its inherited local server (port 4096 when free) serves a web application titled "PentestCode"; its favicons are those of OpenCode and are not used here. It is tracked on that title alone, so a match is probable, never confirmed. No instance had been seen online when tracking started (27 November 2026): an empty list here means none was found, not that none exists.
- Language
- TypeScript
- License
- MIT
- First release
- 2026-07
- Capabilities
- reconnaissanceexploitationActive Directorycredential sprayingpost-exploitation
How to spot it in your own logs
Read from the published source, not observed in an attack. Whoever runs the tool can change them, so a missing trace proves nothing.
Behaviour
one account authenticating from one source to SMB, WinRM, LDAP and RDP on many hosts within minutes
Outbound traffic of a machine that runs it
User-Agent pentestcode/<version> towards model providers and web search
IPs seen per day
No data.
Countries
No data.
Hosters
No data.
Ports
No data.
How it is detected
ONYPHE category:ctiscan queries. Indicators of the same family are not independent.
Two families on one IP make it confirmed, one makes it probable.
html.title.raw:"PentestCode"
Hosts
| IP and domain | Agents | Ports | Hoster | Agent first seen | Agent last seen |
|---|---|---|---|---|---|
| No host matches. | |||||