offense 0.1.0 → 0.1.1
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 +42 -0
- package/index.js +1 -1
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# offense
|
|
2
|
+
|
|
3
|
+
Offensive security tool for developers: automated safety-first checks and CI-ready reports.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Automated checks for OWASP Top 10 issues and common misconfigurations
|
|
8
|
+
- Safe, non-destructive exploit simulations and validation tests
|
|
9
|
+
- CI-friendly JSON and HTML reports with actionable remediation guidance
|
|
10
|
+
- Programmatic API and CLI with configurable profiles, rate limits, and scopes
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
npm install offense
|
|
15
|
+
|
|
16
|
+
## Quick Start
|
|
17
|
+
|
|
18
|
+
CLI:
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
npx offense scan --url http://localhost:3000 --profile safe-default
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Programmatic:
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
const offense = require('offense');
|
|
28
|
+
|
|
29
|
+
(async () => {
|
|
30
|
+
const result = await offense.scan({
|
|
31
|
+
url: 'http://localhost:3000',
|
|
32
|
+
profile: 'safe-default',
|
|
33
|
+
nonDestructive: true
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
console.log(result.summary);
|
|
37
|
+
})();
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## License
|
|
41
|
+
|
|
42
|
+
MIT
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// offense
|
|
1
|
+
// offense — Offensive security tool for developers: automated safety-first checks and CI-ready reports.
|
|
2
2
|
module.exports = {};
|
package/package.json
CHANGED