@securecode-ai/mcp 0.6.0 → 0.8.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 +32 -3
- package/dist/api/types.d.ts +27 -0
- package/dist/approval/policy.js +7 -2
- package/dist/approval/policy.js.map +1 -1
- package/dist/attack/agentCorroboration.d.ts +14 -0
- package/dist/attack/agentCorroboration.js +98 -0
- package/dist/attack/agentCorroboration.js.map +1 -0
- package/dist/attack/agentLoop.js +9 -6
- package/dist/attack/agentLoop.js.map +1 -1
- package/dist/attack/agentScanExecutor.d.ts +6 -2
- package/dist/attack/agentScanExecutor.js +62 -21
- package/dist/attack/agentScanExecutor.js.map +1 -1
- package/dist/attack/agentScanLoop.js +162 -94
- package/dist/attack/agentScanLoop.js.map +1 -1
- package/dist/attack/agentScanProtocol.d.ts +13 -4
- package/dist/attack/agentScanProtocol.js.map +1 -1
- package/dist/attack/architectureScoutLoop.js +1 -1
- package/dist/attack/architectureScoutLoop.js.map +1 -1
- package/dist/attack/investigationState.d.ts +32 -4
- package/dist/attack/investigationState.js +98 -10
- package/dist/attack/investigationState.js.map +1 -1
- package/dist/attack/observationLimits.d.ts +12 -0
- package/dist/attack/observationLimits.js +16 -0
- package/dist/attack/observationLimits.js.map +1 -0
- package/dist/attack/policy.d.ts +1 -0
- package/dist/attack/policy.js +1 -0
- package/dist/attack/policy.js.map +1 -1
- package/dist/attack/probeRules.d.ts +51 -0
- package/dist/attack/probeRules.js +291 -0
- package/dist/attack/probeRules.js.map +1 -0
- package/dist/attack/protocol.d.ts +16 -0
- package/dist/attack/qualityMetrics.js +3 -0
- package/dist/attack/qualityMetrics.js.map +1 -1
- package/dist/attack/report.d.ts +3 -1
- package/dist/attack/report.js +4 -2
- package/dist/attack/report.js.map +1 -1
- package/dist/attack/runtimeProbe.d.ts +71 -0
- package/dist/attack/runtimeProbe.js +300 -0
- package/dist/attack/runtimeProbe.js.map +1 -0
- package/dist/attack/scanScheduler.d.ts +7 -0
- package/dist/attack/scanScheduler.js +58 -33
- package/dist/attack/scanScheduler.js.map +1 -1
- package/dist/audit/findingReviewQueue.d.ts +1 -1
- package/dist/audit/findingReviewQueue.js.map +1 -1
- package/dist/auth/credentialStore.js +1 -1
- package/dist/auth/credentialStore.js.map +1 -1
- package/dist/auth/keychain.js +80 -80
- package/dist/auth/keychain.js.map +1 -1
- package/dist/mcp/server.js +5 -1
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tools.js +8 -9
- package/dist/mcp/tools.js.map +1 -1
- package/dist/project-map/architectureContext.d.ts +1 -1
- package/dist/project-map/architectureContext.js +1 -1
- package/dist/project-map/scanCache.d.ts +6 -1
- package/dist/project-map/scanCache.js +6 -1
- package/dist/project-map/scanCache.js.map +1 -1
- package/dist/tools/agentScan.d.ts +9 -1
- package/dist/tools/agentScan.js +156 -5
- package/dist/tools/agentScan.js.map +1 -1
- package/dist/tools/attack.js +1 -1
- package/dist/tools/attack.js.map +1 -1
- package/dist/tools/map.js +1 -1
- package/dist/utils/verificationSandbox.js +43 -2
- package/dist/utils/verificationSandbox.js.map +1 -1
- package/package.json +62 -62
package/package.json
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@securecode-ai/mcp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Standalone SecureCode MCP server — scan, map, fix, and attack tools for AI coding assistants. Works without the VS Code extension.",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"bin": {
|
|
7
|
-
"securecode-mcp": "dist/index.js"
|
|
8
|
-
},
|
|
9
|
-
"icon": "icon.svg",
|
|
10
|
-
"scripts": {
|
|
11
|
-
"build": "tsc -p ./",
|
|
12
|
-
"start": "node dist/index.js serve",
|
|
13
|
-
"test": "vitest run",
|
|
14
|
-
"test:watch": "vitest",
|
|
15
|
-
"typecheck": "tsc --noEmit",
|
|
16
|
-
"prepublishOnly": "npm run build && npm test"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"dist/",
|
|
20
|
-
"resources/tree-sitter/",
|
|
21
|
-
"icon.svg"
|
|
22
|
-
],
|
|
23
|
-
"keywords": [
|
|
24
|
-
"mcp",
|
|
25
|
-
"security",
|
|
26
|
-
"scanner",
|
|
27
|
-
"vulnerability",
|
|
28
|
-
"ai",
|
|
29
|
-
"code-analysis",
|
|
30
|
-
"securecode"
|
|
31
|
-
],
|
|
32
|
-
"license": "MIT",
|
|
33
|
-
"engines": {
|
|
34
|
-
"node": ">=18.0.0"
|
|
35
|
-
},
|
|
36
|
-
"repository": {
|
|
37
|
-
"type": "git",
|
|
38
|
-
"url": "https://github.com/AhmedSleem06/SecureCode-mcp.git"
|
|
39
|
-
},
|
|
40
|
-
"homepage": "https://usesecurecode.tech",
|
|
41
|
-
"bugs": {
|
|
42
|
-
"url": "https://github.com/AhmedSleem06/SecureCode-mcp/issues"
|
|
43
|
-
},
|
|
44
|
-
"publishConfig": {
|
|
45
|
-
"access": "public"
|
|
46
|
-
},
|
|
47
|
-
"dependencies": {
|
|
48
|
-
"@yarnpkg/lockfile": "^1.1.0",
|
|
49
|
-
"semver": "^7.5.4",
|
|
50
|
-
"spdx-correct": "^3.2.0",
|
|
51
|
-
"web-tree-sitter": "0.26.11",
|
|
52
|
-
"yaml": "^2.3.4"
|
|
53
|
-
},
|
|
54
|
-
"devDependencies": {
|
|
55
|
-
"@types/node": "^20.10.0",
|
|
56
|
-
"@types/semver": "^7.5.6",
|
|
57
|
-
"@types/spdx-correct": "^3.1.3",
|
|
58
|
-
"@types/yarnpkg__lockfile": "^1.1.9",
|
|
59
|
-
"typescript": "^5.3.2",
|
|
60
|
-
"vitest": "^2.1.0"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@securecode-ai/mcp",
|
|
3
|
+
"version": "0.8.0",
|
|
4
|
+
"description": "Standalone SecureCode MCP server — scan, map, fix, and attack tools for AI coding assistants. Works without the VS Code extension.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"securecode-mcp": "dist/index.js"
|
|
8
|
+
},
|
|
9
|
+
"icon": "icon.svg",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsc -p ./",
|
|
12
|
+
"start": "node dist/index.js serve",
|
|
13
|
+
"test": "vitest run",
|
|
14
|
+
"test:watch": "vitest",
|
|
15
|
+
"typecheck": "tsc --noEmit",
|
|
16
|
+
"prepublishOnly": "npm run build && npm test"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist/",
|
|
20
|
+
"resources/tree-sitter/",
|
|
21
|
+
"icon.svg"
|
|
22
|
+
],
|
|
23
|
+
"keywords": [
|
|
24
|
+
"mcp",
|
|
25
|
+
"security",
|
|
26
|
+
"scanner",
|
|
27
|
+
"vulnerability",
|
|
28
|
+
"ai",
|
|
29
|
+
"code-analysis",
|
|
30
|
+
"securecode"
|
|
31
|
+
],
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": ">=18.0.0"
|
|
35
|
+
},
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "https://github.com/AhmedSleem06/SecureCode-mcp.git"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://usesecurecode.tech",
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/AhmedSleem06/SecureCode-mcp/issues"
|
|
43
|
+
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@yarnpkg/lockfile": "^1.1.0",
|
|
49
|
+
"semver": "^7.5.4",
|
|
50
|
+
"spdx-correct": "^3.2.0",
|
|
51
|
+
"web-tree-sitter": "0.26.11",
|
|
52
|
+
"yaml": "^2.3.4"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@types/node": "^20.10.0",
|
|
56
|
+
"@types/semver": "^7.5.6",
|
|
57
|
+
"@types/spdx-correct": "^3.1.3",
|
|
58
|
+
"@types/yarnpkg__lockfile": "^1.1.9",
|
|
59
|
+
"typescript": "^5.3.2",
|
|
60
|
+
"vitest": "^2.1.0"
|
|
61
|
+
}
|
|
62
|
+
}
|