xploitscan 1.1.11 → 1.2.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 CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  **Security scanner for AI-generated code.** Find vulnerabilities before attackers do.
7
7
 
8
- Built for developers shipping code via Cursor, Lovable, Bolt, Replit, and Claude Code. 210 security rules. Plain-English results. Copy-paste fixes.
8
+ Built for developers shipping code via Cursor, Lovable, Bolt, Replit, and Claude Code. 210+ security rules. Plain-English results. Copy-paste fixes.
9
9
 
10
10
  ## Quick Start
11
11
 
@@ -17,7 +17,7 @@ No install, no config, no account required. Your code stays 100% local.
17
17
 
18
18
  ## What It Catches
19
19
 
20
- 210 rules across 15+ categories:
20
+ 210+ rules across 15+ categories:
21
21
 
22
22
  | Category | Examples | Rules |
23
23
  |----------|---------|-------|
@@ -36,8 +36,8 @@ Every finding includes OWASP Top 10 and CWE compliance mappings.
36
36
 
37
37
  Detection is scored publicly on a labeled fixture corpus that's refreshed on every commit. Current numbers live at **[xploitscan.com/benchmark](https://xploitscan.com/benchmark)**:
38
38
 
39
- - **100% precision** (zero false positives) across 151 labeled fixtures covering 25+ vulnerability classes
40
- - **80%+ recall** on rules with active test coverage
39
+ - **100% precision** (zero false positives) across a 200+ fixture labeled corpus covering 25+ vulnerability classes
40
+ - **98%+ recall** live numbers at [xploitscan.com/benchmark](https://xploitscan.com/benchmark)
41
41
  - Side-by-side comparison with Semgrep (community rulesets) and Bearer on the same corpus
42
42
 
43
43
  The scanner uses a two-layer architecture: a fast regex pre-filter for pattern-based rules (secrets, missing headers, container misconfigs), and a Babel-parsed AST layer with local taint tracking for data-flow rules (SSRF, prototype pollution, mass assignment, SSTI, command injection from user input). Recognized taint sources: Express / Fastify / Koa / Next.js App Router / Web Fetch API / AWS Lambda.
@@ -131,6 +131,30 @@ Create a `.xploitscanrc` file in your project root:
131
131
  }
132
132
  ```
133
133
 
134
+ ### `.xploitscanignore`
135
+
136
+ A `.gitignore`-style file in your project root. Plain lines exclude whole
137
+ files from scanning (negate with `!`). A line may also carry a trailing
138
+ rule-ID list to suppress **only those rules** on matching paths while still
139
+ scanning the files for everything else:
140
+
141
+ ```gitignore
142
+ # Don't scan generated code at all
143
+ generated/**
144
+
145
+ # Allow log-injection (VC044) in internal cron scripts only
146
+ scripts/cron/** VC044
147
+
148
+ # Silence two rules across all test files
149
+ **/*.test.ts VC031, VC043
150
+
151
+ # Suppress every rule on a legacy tree (the `scanner` wildcard)
152
+ legacy/** scanner
153
+ ```
154
+
155
+ For a single reviewed-and-accepted finding, prefer an inline
156
+ `// VC<id>-OK: <reason>` comment instead of a file- or path-wide rule.
157
+
134
158
  ## Web Dashboard
135
159
 
136
160
  Scan via the web at [xploitscan.com](https://xploitscan.com):
@@ -142,7 +166,7 @@ Scan via the web at [xploitscan.com](https://xploitscan.com):
142
166
  - SOC2/ISO27001 compliance mapping
143
167
  - Slack and Discord webhook notifications
144
168
 
145
- **Free**: 5 scans/day, 30 core rules. **Indie** ($9/mo): 500 scans/month, all 210 rules, scan history. **Pro** ($19/mo): unlimited scans, all 210 rules, PDF reports, compliance mapping, webhooks, AI false-positive filter. **Team** ($99/mo): everything in Pro plus 5 seats, shared scan history, RBAC, and portfolio reports. Annual plans save 40%.
169
+ **Free**: 5 scans/day, 30 core rules. **Indie** ($9/mo): 500 scans/month, all 210+ rules, scan history. **Pro** ($19/mo): unlimited scans, all 210+ rules, PDF reports, compliance mapping, webhooks, AI false-positive filter. **Team** ($99/mo): everything in Pro plus 5 seats, shared scan history, RBAC, and portfolio reports. Annual plans save 40%.
146
170
 
147
171
  ## Supported Languages
148
172
 
@@ -14,7 +14,7 @@ import {
14
14
  storeToken,
15
15
  syncUser,
16
16
  uploadScanResults
17
- } from "./chunk-HYXMH2H6.js";
17
+ } from "./chunk-4OFR3SIS.js";
18
18
  export {
19
19
  checkUsage,
20
20
  clearProRulesCache,
@@ -29,4 +29,4 @@ export {
29
29
  syncUser,
30
30
  uploadScanResults
31
31
  };
32
- //# sourceMappingURL=api-GHG3FCFB.js.map
32
+ //# sourceMappingURL=api-MFCSQQ2Y.js.map