hackmyagent 0.5.1 → 0.5.2
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 +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -74,6 +74,7 @@ hackmyagent secure --fix --dry-run # preview fixes before applying
|
|
|
74
74
|
hackmyagent secure --ignore CRED-001,GIT-002 # skip specific checks
|
|
75
75
|
hackmyagent secure --json # JSON output for CI/CD
|
|
76
76
|
hackmyagent secure --verbose # show all checks including passed
|
|
77
|
+
hackmyagent secure --no-color # disable colored output
|
|
77
78
|
```
|
|
78
79
|
|
|
79
80
|
<details>
|
|
@@ -217,6 +218,11 @@ hackmyagent attack --local --category prompt-injection # single category
|
|
|
217
218
|
hackmyagent attack --local --intensity aggressive # full suite
|
|
218
219
|
hackmyagent attack --local -f sarif -o results.sarif # SARIF output
|
|
219
220
|
hackmyagent attack https://api.example.com --fail-on-vulnerable medium # CI gate
|
|
221
|
+
hackmyagent attack https://api.example.com --api-format anthropic # Anthropic API
|
|
222
|
+
hackmyagent attack https://api.example.com --model gpt-4o # specify model
|
|
223
|
+
hackmyagent attack https://api.example.com -H "Authorization: Bearer tk" # custom header
|
|
224
|
+
hackmyagent attack --local --timeout 5000 --delay 500 # timing controls
|
|
225
|
+
hackmyagent attack --local --stop-on-success # stop at first hit
|
|
220
226
|
```
|
|
221
227
|
|
|
222
228
|
<details>
|
|
@@ -267,6 +273,7 @@ Run the [OASB-1](https://oasb.ai/oasb-1) (Open Agent Security Benchmark) — 46
|
|
|
267
273
|
hackmyagent secure -b oasb-1 # L1 baseline (26 controls)
|
|
268
274
|
hackmyagent secure -b oasb-1 -l L2 # L2 standard (44 controls)
|
|
269
275
|
hackmyagent secure -b oasb-1 -l L3 # L3 hardened (46 controls)
|
|
276
|
+
hackmyagent secure -b oasb-1 -c "Input Security" # filter to one category
|
|
270
277
|
hackmyagent secure -b oasb-1 -v # verbose (every control)
|
|
271
278
|
hackmyagent secure -b oasb-1 -f html -o report.html # HTML report
|
|
272
279
|
hackmyagent secure -b oasb-1 --fail-below 70 # CI gate
|