pwnkit-cli 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +188 -21
- package/README.md +64 -33
- package/dist/index.js +51898 -9624
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,21 +1,188 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship made available under
|
|
36
|
+
the License, as indicated by a copyright notice that is included in
|
|
37
|
+
or attached to the work (an example is provided in the Appendix below).
|
|
38
|
+
|
|
39
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
40
|
+
form, that is based on (or derived from) the Work and for which the
|
|
41
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
42
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
43
|
+
of this License, Derivative Works shall not include works that remain
|
|
44
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
45
|
+
the Work and Derivative Works thereof.
|
|
46
|
+
|
|
47
|
+
"Contribution" shall mean, as submitted to the Licensor for inclusion
|
|
48
|
+
in the Work by the copyright owner or by an individual or Legal Entity
|
|
49
|
+
authorized to submit on behalf of the copyright owner. For the purposes
|
|
50
|
+
of this definition, "submitted" means any form of electronic, verbal,
|
|
51
|
+
or written communication sent to the Licensor or its representatives,
|
|
52
|
+
including but not limited to communication on electronic mailing lists,
|
|
53
|
+
source code control systems, and issue tracking systems that are managed
|
|
54
|
+
by, or on behalf of, the Licensor for the purpose of submitting and
|
|
55
|
+
discussing improvements to the Work, but excluding communication that is
|
|
56
|
+
conspicuously marked or designated in writing by the copyright owner as
|
|
57
|
+
"Not a Contribution."
|
|
58
|
+
|
|
59
|
+
"Contributor" shall mean Licensor and any Legal Entity on behalf of
|
|
60
|
+
whom a Contribution has been received by the Licensor and included
|
|
61
|
+
within the Work.
|
|
62
|
+
|
|
63
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
64
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
65
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
66
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
67
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
68
|
+
Work and such Derivative Works in Source or Object form.
|
|
69
|
+
|
|
70
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
71
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
72
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
73
|
+
(except as stated in this section) patent license to make, have made,
|
|
74
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
75
|
+
where such license applies only to those patent claims licensable
|
|
76
|
+
by such Contributor that are necessarily infringed by their
|
|
77
|
+
Contribution(s) alone or by the combined Work (with their
|
|
78
|
+
Contribution(s)). If You institute patent litigation against any
|
|
79
|
+
entity (including a cross-claim or counterclaim in a lawsuit)
|
|
80
|
+
alleging that the Work or any Contribution embodied within the Work
|
|
81
|
+
constitutes a patent or copyright infringement, then any patent
|
|
82
|
+
licenses granted to You under this License for that Work shall
|
|
83
|
+
terminate as of the date such litigation is filed.
|
|
84
|
+
|
|
85
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
86
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
87
|
+
modifications, and in Source or Object form, provided that You
|
|
88
|
+
meet the following conditions:
|
|
89
|
+
|
|
90
|
+
(a) You must give any other recipients of the Work or Derivative
|
|
91
|
+
Works a copy of this License; and
|
|
92
|
+
|
|
93
|
+
(b) You must cause any modified files to carry prominent notices
|
|
94
|
+
stating that You changed the files; and
|
|
95
|
+
|
|
96
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
97
|
+
that You distribute, all copyright, patent, trademark, and
|
|
98
|
+
attribution notices from the Source form of the Work,
|
|
99
|
+
excluding those notices that do not pertain to any part of
|
|
100
|
+
the Derivative Works; and
|
|
101
|
+
|
|
102
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
103
|
+
distribution, You must include a readable copy of the
|
|
104
|
+
attribution notices contained within such NOTICE file, in
|
|
105
|
+
at least one of the following places: within a NOTICE text
|
|
106
|
+
file distributed as part of the Derivative Works; within
|
|
107
|
+
the Source form or documentation, if provided along with the
|
|
108
|
+
Derivative Works; or, within a display generated by the
|
|
109
|
+
Derivative Works, if and wherever such third-party notices
|
|
110
|
+
normally appear. The contents of the NOTICE file are for
|
|
111
|
+
informational purposes only and do not modify the License.
|
|
112
|
+
You may add Your own attribution notices within Derivative
|
|
113
|
+
Works that You distribute, alongside or in addition to the
|
|
114
|
+
NOTICE text from the Work, provided that such additional
|
|
115
|
+
attribution notices cannot be construed as modifying the License.
|
|
116
|
+
|
|
117
|
+
You may add Your own license statement for Your modifications and
|
|
118
|
+
may provide additional grant of rights to use, copy, modify, merge,
|
|
119
|
+
publish, distribute, sublicense, and/or sell copies of the
|
|
120
|
+
Contribution.
|
|
121
|
+
|
|
122
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
123
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
124
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
125
|
+
this License, without any additional terms or conditions.
|
|
126
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
127
|
+
the terms of any separate license agreement you may have executed
|
|
128
|
+
with Licensor regarding such Contributions.
|
|
129
|
+
|
|
130
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
131
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
132
|
+
except as required for reasonable and customary use in describing the
|
|
133
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
134
|
+
|
|
135
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
136
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
137
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
138
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
139
|
+
implied, including, without limitation, any warranties or conditions
|
|
140
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
141
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
142
|
+
appropriateness of using or reproducing the Work and assume any
|
|
143
|
+
risks associated with Your exercise of permissions under this License.
|
|
144
|
+
|
|
145
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
146
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
147
|
+
unless required by applicable law (such as deliberate and grossly
|
|
148
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
149
|
+
liable to You for damages, including any direct, indirect, special,
|
|
150
|
+
incidental, or exemplary damages of any character arising as a
|
|
151
|
+
result of this License or out of the use or inability to use the
|
|
152
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
153
|
+
work stoppage, computer failure or malfunction, or all other
|
|
154
|
+
commercial damages or losses), even if such Contributor has been
|
|
155
|
+
advised of the possibility of such damages.
|
|
156
|
+
|
|
157
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
158
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
159
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
160
|
+
or other liability obligations and/or rights consistent with this
|
|
161
|
+
License. However, in accepting such obligations, You may offer only
|
|
162
|
+
conditions consistent with this License.
|
|
163
|
+
|
|
164
|
+
END OF TERMS AND CONDITIONS
|
|
165
|
+
|
|
166
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
167
|
+
|
|
168
|
+
To apply the Apache License to your work, attach the following
|
|
169
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
170
|
+
replaced with your own identifying information. (Don't include
|
|
171
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
172
|
+
comment syntax for the syntax of the file. We also recommend
|
|
173
|
+
that a file or directory "LICENSE" or "COPYING" be included with
|
|
174
|
+
your work.
|
|
175
|
+
|
|
176
|
+
Copyright 2026 Doruk Tan Ozturk (Peak Twilight)
|
|
177
|
+
|
|
178
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
179
|
+
you may not use this file except in compliance with the License.
|
|
180
|
+
You may obtain a copy of the License at
|
|
181
|
+
|
|
182
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
183
|
+
|
|
184
|
+
Unless required by applicable law or agreed to in writing, software
|
|
185
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
186
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
187
|
+
See the License for the specific language governing permissions and
|
|
188
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
<h1 align="center">pwnkit</h1>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<strong>
|
|
9
|
-
<em>Scan LLM endpoints. Audit npm packages. Review source code. Re-exploit to kill false positives.</em>
|
|
8
|
+
<strong>General-purpose autonomous pentesting framework</strong><br/>
|
|
9
|
+
<em>Scan LLM endpoints. Audit npm packages. Review source code. Pentest web apps. Re-exploit to kill false positives.</em>
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
13
|
<a href="https://www.npmjs.com/package/pwnkit-cli"><img src="https://img.shields.io/npm/v/pwnkit-cli?color=crimson&style=flat-square" alt="npm version" /></a>
|
|
14
|
-
<a href="https://github.com/peaktwilight/pwnkit/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-
|
|
14
|
+
<a href="https://github.com/peaktwilight/pwnkit/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square" alt="license" /></a>
|
|
15
15
|
<a href="https://github.com/peaktwilight/pwnkit/actions"><img src="https://img.shields.io/github/actions/workflow/status/peaktwilight/pwnkit/ci.yml?style=flat-square" alt="CI" /></a>
|
|
16
16
|
<a href="https://github.com/peaktwilight/pwnkit/stargazers"><img src="https://img.shields.io/github/stars/peaktwilight/pwnkit?style=flat-square&color=gold" alt="stars" /></a>
|
|
17
17
|
<a href="https://pwnkit.com"><img src="https://pwnkit.com/badge/peaktwilight/pwnkit" alt="pwnkit verified" /></a>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
---
|
|
35
35
|
|
|
36
|
-
pwnkit is an open-source agentic security toolkit.
|
|
36
|
+
pwnkit is an open-source agentic security toolkit. A research agent discovers, attacks, and writes proof-of-concept code for vulnerabilities across LLM endpoints, web applications, npm packages, and Git repositories. Then a blind verify agent — given ONLY the PoC and file path, not the reasoning — independently reproduces each finding to **kill false positives**. No templates, no static rules — multi-turn agentic reasoning that thinks like an attacker.
|
|
37
37
|
|
|
38
38
|
One command. Zero config. Every finding re-exploited or dropped.
|
|
39
39
|
|
|
@@ -48,12 +48,33 @@ npx pwnkit-cli audit lodash
|
|
|
48
48
|
|
|
49
49
|
# Deep security review of a codebase
|
|
50
50
|
npx pwnkit-cli review ./my-ai-app
|
|
51
|
+
|
|
52
|
+
# Or just point pwnkit at a target — it auto-detects what to do
|
|
53
|
+
npx pwnkit-cli express # audits npm package
|
|
54
|
+
npx pwnkit-cli ./my-repo # reviews source code
|
|
55
|
+
npx pwnkit-cli https://github.com/user/repo # clones and reviews
|
|
56
|
+
npx pwnkit-cli https://example.com # scans web endpoint
|
|
51
57
|
```
|
|
52
58
|
|
|
53
59
|
That's it. pwnkit discovers your attack surface, launches targeted attacks, verifies findings, and generates a report — all in under 5 minutes.
|
|
54
60
|
|
|
61
|
+
### Auto-Detect
|
|
62
|
+
|
|
63
|
+
`pwnkit <target>` figures out what you mean without explicit subcommands:
|
|
64
|
+
|
|
65
|
+
| Input | What pwnkit does |
|
|
66
|
+
|-------|-----------------|
|
|
67
|
+
| `pwnkit express` | Treats it as an npm package name and runs `audit` |
|
|
68
|
+
| `pwnkit ./my-repo` | Detects a local path and runs `review` |
|
|
69
|
+
| `pwnkit https://github.com/user/repo` | Clones the repo and runs `review` |
|
|
70
|
+
| `pwnkit https://example.com` | Detects an HTTP URL and runs `scan` |
|
|
71
|
+
|
|
72
|
+
Explicit subcommands (`scan`, `audit`, `review`) still work — auto-detect is just a convenience layer on top.
|
|
73
|
+
|
|
55
74
|
## Commands
|
|
56
75
|
|
|
76
|
+
All commands are available via `npx pwnkit-cli <command>`. Explicit subcommands are optional — thanks to auto-detect, `npx pwnkit-cli <target>` works for most use cases (see [Auto-Detect](#auto-detect) above).
|
|
77
|
+
|
|
57
78
|
pwnkit ships five commands — from quick API probes to deep source-level audits:
|
|
58
79
|
|
|
59
80
|
| Command | What It Does | Example |
|
|
@@ -66,27 +87,28 @@ pwnkit ships five commands — from quick API probes to deep source-level audits
|
|
|
66
87
|
|
|
67
88
|
## How It Works
|
|
68
89
|
|
|
69
|
-
pwnkit runs autonomous AI agents in
|
|
90
|
+
pwnkit runs autonomous AI agents in a research-then-verify pipeline. Each agent uses tools (`read_file`, `run_command`, `send_prompt`, `save_finding`) and makes multi-turn decisions — adapting its strategy based on what it learns:
|
|
70
91
|
|
|
71
92
|
```
|
|
72
|
-
+-----------+
|
|
73
|
-
|
|
|
74
|
-
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
93
|
+
+-----------+ +------------------+ +-----------+
|
|
94
|
+
| RESEARCH | --> | BLIND VERIFY | --> | REPORT |
|
|
95
|
+
| (Discover | | (PoC + path only | | (Output) |
|
|
96
|
+
| + Attack | | no reasoning) | | |
|
|
97
|
+
| + PoC) | +------------------+ +-----------+
|
|
98
|
+
+-----------+ Runs in parallel Only confirmed
|
|
99
|
+
Single agent per finding — findings in SARIF,
|
|
100
|
+
session: recon, independently Markdown, and JSON
|
|
101
|
+
payloads, and reproduces or with severity +
|
|
102
|
+
proof-of-concept kills finding remediation
|
|
80
103
|
```
|
|
81
104
|
|
|
82
105
|
| Agent | Role | What It Does |
|
|
83
106
|
|-------|------|-------------|
|
|
84
|
-
| **
|
|
85
|
-
| **
|
|
86
|
-
| **
|
|
87
|
-
| **Report** | Output | SARIF for GitHub Security tab, Markdown for humans, JSON for pipelines — with severity scores and remediation |
|
|
107
|
+
| **Research** | Discover + Attack + PoC | Maps endpoints, detects models, extracts system prompts, crafts multi-turn attacks (prompt injection, jailbreaks, tool poisoning, data exfiltration), and writes proof-of-concept code — all in one agent session |
|
|
108
|
+
| **Verify** | Blind validation | Gets ONLY the PoC code and file path — not the research agent's reasoning. Independently traces data flow and reproduces each finding. Can't reproduce? Killed as false positive |
|
|
109
|
+
| **Report** | Output | SARIF for GitHub Security tab, Markdown for humans, JSON for pipelines — only confirmed findings with severity scores and remediation |
|
|
88
110
|
|
|
89
|
-
The **verification
|
|
111
|
+
The **blind verification is the differentiator.** The verify agent can't be biased by the research agent's reasoning — same principle as double-blind peer review. No more triaging 200 "possible prompt injections" that turn out to be nothing.
|
|
90
112
|
|
|
91
113
|
## What pwnkit Scans
|
|
92
114
|
|
|
@@ -95,6 +117,7 @@ The **verification step is the differentiator.** No more triaging 200 "possible
|
|
|
95
117
|
| **LLM Endpoints** — ChatGPT, Claude, Llama APIs, custom chatbots | `scan --target <url>` | HTTP probing + multi-turn agent attacks |
|
|
96
118
|
| **MCP Servers** — Tool schemas, input validation, authorization | `scan --target <url> --mode mcp` | Connects to server, enumerates tools, tests each |
|
|
97
119
|
| **Web Apps & APIs** — AI-powered copilots, agents, RAG pipelines | `scan --target <url> --mode deep --repo ./src` | API probing + source code analysis |
|
|
120
|
+
| **Web Pentesting** — SQLi, XSS, SSRF, auth bypass, IDOR | `scan --target <url> --mode web` | Full autonomous web pentest, agents adapt per finding |
|
|
98
121
|
| **npm Packages** — Dependency supply chain, malicious code | `audit <package>` | Installs in sandbox, runs semgrep + AI code review |
|
|
99
122
|
| **Git Repositories** — Source-level security review | `review <path-or-url>` | Deep analysis with Claude Code, Codex, or Gemini CLI |
|
|
100
123
|
|
|
@@ -112,15 +135,15 @@ For a verbose view with the animated attack replay:
|
|
|
112
135
|
npx pwnkit-cli scan --target https://your-app.com/api/chat --verbose
|
|
113
136
|
```
|
|
114
137
|
|
|
115
|
-
## Scan Depth
|
|
138
|
+
## Scan Depth
|
|
116
139
|
|
|
117
|
-
| Depth | Test Cases | Time |
|
|
118
|
-
|
|
119
|
-
| `quick` | ~15 | ~1 min |
|
|
120
|
-
| `default` | ~50 | ~3 min |
|
|
121
|
-
| `deep` | ~150 | ~10 min |
|
|
140
|
+
| Depth | Test Cases | Time |
|
|
141
|
+
|-------|-----------|------|
|
|
142
|
+
| `quick` | ~15 | ~1 min |
|
|
143
|
+
| `default` | ~50 | ~3 min |
|
|
144
|
+
| `deep` | ~150 | ~10 min |
|
|
122
145
|
|
|
123
|
-
|
|
146
|
+
pwnkit is an agentic harness — bring your own AI. Use your API key (OpenRouter, Anthropic, OpenAI, Ollama), or use the Claude Code CLI or Codex CLI with your existing subscription via `--runtime claude` or `--runtime codex`.
|
|
124
147
|
|
|
125
148
|
```bash
|
|
126
149
|
# Quick scan for CI
|
|
@@ -135,6 +158,9 @@ npx pwnkit-cli scan --target https://api.example.com/chat --runtime claude --mod
|
|
|
135
158
|
# MCP server audit
|
|
136
159
|
npx pwnkit-cli scan --target https://mcp-server.example.com --mode mcp --runtime claude
|
|
137
160
|
|
|
161
|
+
# Full web pentest (SQLi, XSS, SSRF, auth bypass, IDOR)
|
|
162
|
+
npx pwnkit-cli scan --target https://example.com --mode web --runtime claude
|
|
163
|
+
|
|
138
164
|
# Audit an npm package
|
|
139
165
|
npx pwnkit-cli audit react --depth deep --runtime claude
|
|
140
166
|
|
|
@@ -162,24 +188,26 @@ Combined with scan modes:
|
|
|
162
188
|
| `probe` | `--mode probe` | Send payloads to API, check responses (default) |
|
|
163
189
|
| `deep` | `--mode deep` | API probing + source code audit (requires `--repo`) |
|
|
164
190
|
| `mcp` | `--mode mcp` | Connect to MCP server, enumerate tools, test each for security issues |
|
|
191
|
+
| `web` | `--mode web` | Full web pentesting — SQLi, XSS, SSRF, auth bypass, IDOR |
|
|
165
192
|
|
|
166
|
-
> `deep` and `
|
|
193
|
+
> `deep`, `mcp`, and `web` modes require a process runtime (`claude`, `codex`, `gemini`, `opencode`, or `auto`).
|
|
167
194
|
|
|
168
195
|
## How It Compares
|
|
169
196
|
|
|
170
197
|
| Feature | pwnkit | promptfoo | garak | semgrep | nuclei |
|
|
171
198
|
|---------|--------|-----------|-------|---------|--------|
|
|
172
|
-
| **Agentic multi-turn pipeline** | Yes — Autonomous agents with tool use | No Single runner | No Single runner | No Rule-based | No Template runner |
|
|
199
|
+
| **Agentic multi-turn pipeline** | Yes — Autonomous agents with tool use | No — Single runner | No — Single runner | No — Rule-based | No — Template runner |
|
|
173
200
|
| **Verification (no false positives)** | Yes — Re-exploits to confirm | No | No | No | No |
|
|
174
201
|
| **LLM endpoint scanning** | Yes — Prompt injection, jailbreaks, exfil | Yes — Red-teaming | Yes — Probes | No | No |
|
|
202
|
+
| **Web pentesting (SQLi, XSS, SSRF, IDOR)** | Yes — `--mode web` | No | No | No | Partial — Templates only |
|
|
175
203
|
| **MCP server security** | Yes — Tool poisoning, schema abuse | No | No | No | No |
|
|
176
204
|
| **npm package audit** | Yes — Semgrep + AI review | No | No | Yes — Rules only | No |
|
|
177
205
|
| **Source code review** | Yes — AI-powered deep analysis | No | No | Yes — Rules only | No |
|
|
178
206
|
| **OWASP LLM Top 10** | Yes — 8/10 covered | Partial | Partial | N/A | N/A |
|
|
179
|
-
| **SARIF + GitHub Security tab** | Yes
|
|
207
|
+
| **SARIF + GitHub Security tab** | Yes | Yes | No | Yes | Yes |
|
|
180
208
|
| **One command, zero config** | Yes — `npx pwnkit-cli scan` | Needs YAML config | Needs Python setup | Needs rules config | Needs templates |
|
|
181
|
-
| **Open source** | Yes —
|
|
182
|
-
| **
|
|
209
|
+
| **Open source** | Yes — Apache-2.0 | Yes — (acquired by OpenAI) | Yes — MIT | Yes — LGPL / Paid Pro | Yes — MIT |
|
|
210
|
+
| **Pricing** | Free + bring your own AI | Varies | Free (local) | Free (OSS) / Paid (Pro) | Free |
|
|
183
211
|
|
|
184
212
|
pwnkit isn't replacing semgrep or nuclei — it covers the AI-specific attack surface they can't see. Use them together.
|
|
185
213
|
|
|
@@ -257,7 +285,7 @@ Finding lifecycle: `discovered → verified → confirmed → scored → reporte
|
|
|
257
285
|
|
|
258
286
|
## Roadmap
|
|
259
287
|
|
|
260
|
-
- [x] Core
|
|
288
|
+
- [x] Core autonomous agent pipeline (research, blind verify, report)
|
|
261
289
|
- [x] OWASP LLM Top 10 coverage (8/10)
|
|
262
290
|
- [x] SARIF output + GitHub Action
|
|
263
291
|
- [x] MCP server scanning
|
|
@@ -265,6 +293,7 @@ Finding lifecycle: `discovered → verified → confirmed → scored → reporte
|
|
|
265
293
|
- [x] Source code review (local + GitHub)
|
|
266
294
|
- [x] Multi-runtime support (Claude, Codex, Gemini, OpenCode)
|
|
267
295
|
- [x] Multi-turn agentic attacks (agents adapt payloads based on responses)
|
|
296
|
+
- [x] Web pentesting mode (SQLi, XSS, SSRF, auth bypass, IDOR)
|
|
268
297
|
- [ ] RAG pipeline security (poisoning, extraction)
|
|
269
298
|
- [ ] Agentic workflow testing (multi-tool chains)
|
|
270
299
|
- [ ] VS Code extension
|
|
@@ -275,7 +304,9 @@ Finding lifecycle: `discovered → verified → confirmed → scored → reporte
|
|
|
275
304
|
|
|
276
305
|
Created by a security researcher with [7 published CVEs](https://doruk.ch/blog) across node-forge, mysql2, uptime-kuma, liquidjs, picomatch, and jspdf.
|
|
277
306
|
|
|
278
|
-
pwnkit exists because
|
|
307
|
+
pwnkit is a general-purpose autonomous pentesting framework. It exists because modern attack surfaces — LLM endpoints, MCP servers, AI-powered web apps — require agents that adapt, not static rules that don't. You can't `nmap` a language model. You can't write a rule for a jailbreak that hasn't been invented yet. And traditional web scanners don't understand context — they miss IDOR in paginated APIs and SSRF buried in AI pipeline callbacks.
|
|
308
|
+
|
|
309
|
+
pwnkit uses autonomous agents that think like attackers, adapt their strategy mid-scan, and re-exploit every finding before reporting it. The result: real vulnerabilities, zero noise.
|
|
279
310
|
|
|
280
311
|
## Contributing
|
|
281
312
|
|
|
@@ -290,4 +321,4 @@ pnpm test
|
|
|
290
321
|
|
|
291
322
|
## License
|
|
292
323
|
|
|
293
|
-
[
|
|
324
|
+
[Apache 2.0](LICENSE) — use it, fork it, ship it.
|