@securityreviewai/securityreview-kit 0.1.11 → 0.1.12
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 +11 -11
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
# securityreview-kit
|
|
1
|
+
# @securityreviewai/securityreview-kit
|
|
2
2
|
|
|
3
3
|
> Bootstrap [security-review-mcp](https://www.npmjs.com/package/security-review-mcp) for AI IDEs and CLI tools in one command.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**@securityreviewai/securityreview-kit** configures the SRAI security review MCP server and installs workspace rules so your AI assistant consults security threat models and countermeasures *before* generating code.
|
|
6
6
|
|
|
7
7
|
## Quick Start
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
# Interactive mode (recommended)
|
|
11
|
-
npx securityreview-kit init
|
|
11
|
+
npx @securityreviewai/securityreview-kit init
|
|
12
12
|
|
|
13
13
|
# Or specify targets directly
|
|
14
|
-
npx securityreview-kit init --target cursor --api-url https://api.example.com --api-key YOUR_TOKEN
|
|
14
|
+
npx @securityreviewai/securityreview-kit init --target cursor --api-url https://api.example.com --api-key YOUR_TOKEN
|
|
15
15
|
|
|
16
16
|
# Install for multiple targets
|
|
17
|
-
npx securityreview-kit init --target cursor claude vscode
|
|
17
|
+
npx @securityreviewai/securityreview-kit init --target cursor claude vscode
|
|
18
18
|
|
|
19
19
|
# Install for all supported targets
|
|
20
|
-
npx securityreview-kit init --all --api-url https://api.example.com --api-key YOUR_TOKEN
|
|
20
|
+
npx @securityreviewai/securityreview-kit init --all --api-url https://api.example.com --api-key YOUR_TOKEN
|
|
21
21
|
|
|
22
22
|
# Re-open project selection menu and update installed rules
|
|
23
|
-
npx securityreview-kit init --switch-project
|
|
23
|
+
npx @securityreviewai/securityreview-kit init --switch-project
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
## Supported Targets
|
|
@@ -37,7 +37,7 @@ npx securityreview-kit init --switch-project
|
|
|
37
37
|
|
|
38
38
|
## Commands
|
|
39
39
|
|
|
40
|
-
###
|
|
40
|
+
### `@securityreviewai/securityreview-kit init`
|
|
41
41
|
|
|
42
42
|
Configure security-review-mcp for your IDE/CLI. Runs interactively when no flags are provided.
|
|
43
43
|
|
|
@@ -53,11 +53,11 @@ Options:
|
|
|
53
53
|
--skip-rules Skip workspace rule installation
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
###
|
|
56
|
+
### `@securityreviewai/securityreview-kit init --switch-project`
|
|
57
57
|
|
|
58
58
|
Fetches projects from `https://<api-url>/api/projects/` using `Authorization: Bearer <api-key>`, shows a single-select menu, and updates installed workspace rules with the selected project.
|
|
59
59
|
|
|
60
|
-
###
|
|
60
|
+
### `@securityreviewai/securityreview-kit status`
|
|
61
61
|
|
|
62
62
|
Show current configuration status for all supported targets in the workspace.
|
|
63
63
|
|
|
@@ -79,7 +79,7 @@ These can be provided via CLI flags, environment variables, or interactive promp
|
|
|
79
79
|
|
|
80
80
|
## How It Works
|
|
81
81
|
|
|
82
|
-
1. Run
|
|
82
|
+
1. Run `@securityreviewai/securityreview-kit init`
|
|
83
83
|
2. Select your IDE/CLI target(s)
|
|
84
84
|
3. Choose whether to install workspace rules and MCP config
|
|
85
85
|
4. If MCP is selected, enter your SRAI credentials (API URL, token)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@securityreviewai/securityreview-kit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "Bootstrap security-review-mcp for AI IDEs and CLI tools",
|
|
5
5
|
"author": "Debarshi Das <debarshi.das@we45.com>",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"vscode"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
+
"@securityreviewai/securityreview-kit": "^0.1.11",
|
|
37
38
|
"chalk": "^5.4.0",
|
|
38
39
|
"commander": "^13.0.0",
|
|
39
40
|
"inquirer": "^12.0.0"
|
|
@@ -41,4 +42,4 @@
|
|
|
41
42
|
"publishConfig": {
|
|
42
43
|
"access": "public"
|
|
43
44
|
}
|
|
44
|
-
}
|
|
45
|
+
}
|