xploitscan-shared-rules 2.0.1 → 2.1.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/README.md +3 -3
- package/dist/index.cjs +711 -69
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +125 -7
- package/dist/index.d.ts +125 -7
- package/dist/index.js +704 -69
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,8 +6,8 @@ This package is the public half of XploitScan's detection logic. It's consumed b
|
|
|
6
6
|
|
|
7
7
|
## What's in here
|
|
8
8
|
|
|
9
|
-
- **The 30 free rules** — pattern + AST-based detection for hardcoded secrets, SQL injection, XSS, missing auth, unprotected Stripe webhooks, CORS wildcards, weak hashing, disabled TLS verification, and more. The other
|
|
10
|
-
- **Compliance mappings** — every one of the
|
|
9
|
+
- **The 30 free rules** — pattern + AST-based detection for hardcoded secrets, SQL injection, XSS, missing auth, unprotected Stripe webhooks, CORS wildcards, weak hashing, disabled TLS verification, and more. The other 193 of XploitScan's 223 rules are Pro rules. They are not in this package: the CLI, GitHub Action, MCP server and VS Code extension download them with a paid plan's API key, and the web scanner runs them for paid accounts.
|
|
10
|
+
- **Compliance mappings** — every one of the 223 rules tagged with its OWASP Top 10 (2021) category and CWE ID.
|
|
11
11
|
- **AI false-positive filter** — optional Claude Haiku integration that re-evaluates findings to suppress benign matches before reporting.
|
|
12
12
|
- **Entropy-based secret scanner** — detects high-entropy strings that look like credentials but don't match a known service-key pattern.
|
|
13
13
|
|
|
@@ -38,7 +38,7 @@ For the full API surface, see the TypeScript definitions in `dist/index.d.ts` (s
|
|
|
38
38
|
If you're scanning code, install the CLI instead:
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
npx xploitscan scan .
|
|
41
|
+
npx xploitscan@latest scan .
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
This package is published as a building block for the official XploitScan surfaces and for advanced users who want to call the detection engine directly from their own tooling.
|