pentesting 0.100.2 → 0.100.3
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/README.md +25 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,16 +55,32 @@ No local Rust toolchain or native binary needed — the image ships the full
|
|
|
55
55
|
runtime plus the offensive testing toolchain:
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
+
export ANTHROPIC_AUTH_TOKEN="sk-..." # provider token
|
|
59
|
+
export ANTHROPIC_API_KEY="$ANTHROPIC_AUTH_TOKEN" # keep both for Anthropic-compatible gateways
|
|
60
|
+
export ANTHROPIC_BASE_URL="https://api.minimax.io/anthropic"
|
|
61
|
+
export ANTHROPIC_MODEL="MiniMax-M2.7"
|
|
62
|
+
export PENTESTING_SESSION__MODEL_ID="$ANTHROPIC_MODEL"
|
|
63
|
+
|
|
58
64
|
docker run -it --rm \
|
|
59
65
|
-v "$(pwd):/workspace" -w /workspace \
|
|
66
|
+
-e ANTHROPIC_AUTH_TOKEN \
|
|
60
67
|
-e ANTHROPIC_API_KEY \
|
|
68
|
+
-e ANTHROPIC_BASE_URL \
|
|
69
|
+
-e ANTHROPIC_MODEL \
|
|
70
|
+
-e PENTESTING_SESSION__MODEL_ID \
|
|
61
71
|
agnusdei1207/pentesting:latest
|
|
62
72
|
```
|
|
63
73
|
|
|
64
74
|
Or via Docker Compose:
|
|
65
75
|
|
|
66
76
|
```bash
|
|
67
|
-
PENTESTING_PROJECT_DIR=/path/to/project
|
|
77
|
+
PENTESTING_PROJECT_DIR=/path/to/project \
|
|
78
|
+
ANTHROPIC_AUTH_TOKEN=sk-... \
|
|
79
|
+
ANTHROPIC_API_KEY=sk-... \
|
|
80
|
+
ANTHROPIC_BASE_URL=https://api.minimax.io/anthropic \
|
|
81
|
+
ANTHROPIC_MODEL=MiniMax-M2.7 \
|
|
82
|
+
PENTESTING_SESSION__MODEL_ID=MiniMax-M2.7 \
|
|
83
|
+
docker compose run pentesting
|
|
68
84
|
```
|
|
69
85
|
|
|
70
86
|
### Common commands
|
|
@@ -118,11 +134,14 @@ Environment variables use the `PENTESTING_` prefix (`__` for nested keys, e.g. `
|
|
|
118
134
|
```bash
|
|
119
135
|
# Model provider credentials — set whichever provider(s) you use
|
|
120
136
|
export ANTHROPIC_API_KEY="sk-ant-..."
|
|
137
|
+
export ANTHROPIC_AUTH_TOKEN="$ANTHROPIC_API_KEY" # token used by Anthropic-compatible providers
|
|
138
|
+
export ANTHROPIC_BASE_URL="https://api.minimax.io/anthropic"
|
|
139
|
+
export ANTHROPIC_MODEL="MiniMax-M2.7"
|
|
121
140
|
export OPENAI_API_KEY="sk-..."
|
|
122
141
|
export OPENROUTER_API_KEY="sk-or-..."
|
|
123
142
|
|
|
124
143
|
# Runtime overrides (optional)
|
|
125
|
-
export PENTESTING_SESSION__MODEL_ID="
|
|
144
|
+
export PENTESTING_SESSION__MODEL_ID="$ANTHROPIC_MODEL" # default model for new sessions
|
|
126
145
|
export PENTESTING_CONFIG="$HOME/.config/pentesting" # move the global config dir
|
|
127
146
|
export PENTESTING_SKIP_DOWNLOAD=1 # skip postinstall binary download (CI)
|
|
128
147
|
```
|
|
@@ -132,8 +151,11 @@ With Docker, pass the same variables through with `-e`:
|
|
|
132
151
|
```bash
|
|
133
152
|
docker run -it --rm \
|
|
134
153
|
-v "$(pwd):/workspace" -w /workspace \
|
|
154
|
+
-e ANTHROPIC_AUTH_TOKEN \
|
|
135
155
|
-e ANTHROPIC_API_KEY \
|
|
136
|
-
-e
|
|
156
|
+
-e ANTHROPIC_BASE_URL \
|
|
157
|
+
-e ANTHROPIC_MODEL \
|
|
158
|
+
-e PENTESTING_SESSION__MODEL_ID \
|
|
137
159
|
agnusdei1207/pentesting:latest
|
|
138
160
|
```
|
|
139
161
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pentesting",
|
|
3
|
-
"version": "0.100.
|
|
3
|
+
"version": "0.100.3",
|
|
4
4
|
"builderReleaseTag": "v0.100.0",
|
|
5
5
|
"description": "pentesting — coding agent runtime with audited reverse-shell capture, verified PTY session upgrades, pivot control, evidence transcripts, and safe session reclamation.",
|
|
6
6
|
"license": "MIT",
|