@iicp/client 0.7.82 → 0.7.84
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 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +59 -23
- package/dist/cli.js.map +1 -1
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +120 -47
- package/dist/client.js.map +1 -1
- package/dist/delegation.d.ts +4 -0
- package/dist/delegation.d.ts.map +1 -1
- package/dist/delegation.js +15 -0
- package/dist/delegation.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/mcp_policy.d.ts +20 -0
- package/dist/mcp_policy.d.ts.map +1 -0
- package/dist/mcp_policy.js +60 -0
- package/dist/mcp_policy.js.map +1 -0
- package/dist/node.js +3 -3
- package/dist/node.js.map +1 -1
- package/dist/policy.d.ts +3 -0
- package/dist/policy.d.ts.map +1 -1
- package/dist/policy.js +28 -4
- package/dist/policy.js.map +1 -1
- package/dist/proxy/index.d.ts.map +1 -1
- package/dist/proxy/index.js +11 -7
- package/dist/proxy/index.js.map +1 -1
- package/dist/types.d.ts +6 -0
- package/dist/types.d.ts.map +1 -1
- package/intent-risk-taxonomy.json +34 -0
- package/mcp-tool-risk-taxonomy.json +26 -0
- package/package.json +5 -3
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://iicp.network/spec/mcp-tool-risk-taxonomy.json",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"default_class": "benign_read",
|
|
6
|
+
"dangerous_classes": [
|
|
7
|
+
"shell_exec", "data_read", "file_read", "file_write", "network_fetch",
|
|
8
|
+
"browser_control", "credential_access", "system_control", "physical_world", "regulated_decision"
|
|
9
|
+
],
|
|
10
|
+
"risk_keywords": {
|
|
11
|
+
"shell_exec": ["bash", "shell", "exec", "run_command", "command", "eval", "python_exec"],
|
|
12
|
+
"data_read": ["read_document", "query_database", "list_resource", "dataset_read", "record_lookup"],
|
|
13
|
+
"file_read": ["read_file", "list_dir", "cat", "open_file", "file_read", "list_files"],
|
|
14
|
+
"file_write": ["write_file", "delete_file", "remove_file", "edit_file", "save_file", "mkdir", "rmdir"],
|
|
15
|
+
"network_fetch": ["fetch", "crawl", "http", "web_request", "search_web", "url"],
|
|
16
|
+
"browser_control": ["browser", "computer_use", "click", "type", "screenshot", "navigate"],
|
|
17
|
+
"credential_access": ["secret", "credential", "token", "ssh_key", "wallet", "password"],
|
|
18
|
+
"system_control": ["systemctl", "launchctl", "service_restart", "install_package", "firewall", "reboot", "shutdown"],
|
|
19
|
+
"physical_world": ["robot", "drone", "actuator", "iot_control", "medical_device", "industrial_control"],
|
|
20
|
+
"regulated_decision": ["credit_score", "hire", "employment", "benefit_eligibility", "diagnose", "triage_patient"]
|
|
21
|
+
},
|
|
22
|
+
"dangerous_policy_requirements": [
|
|
23
|
+
"explicit_operator_opt_in", "authz_policy", "sandbox_profile", "redacted_audit"
|
|
24
|
+
],
|
|
25
|
+
"safe_sandbox_profiles": ["1", "true", "strict", "container", "sandbox"]
|
|
26
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iicp/client",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.84",
|
|
4
4
|
"description": "Use the open IICP AI mesh from TypeScript or JavaScript without running a node",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"bin": {
|
|
8
|
-
"iicp-node": "
|
|
8
|
+
"iicp-node": "dist/cli.js"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
@@ -63,7 +63,9 @@
|
|
|
63
63
|
},
|
|
64
64
|
"files": [
|
|
65
65
|
"dist",
|
|
66
|
-
"README.md"
|
|
66
|
+
"README.md",
|
|
67
|
+
"intent-risk-taxonomy.json",
|
|
68
|
+
"mcp-tool-risk-taxonomy.json"
|
|
67
69
|
],
|
|
68
70
|
"publishConfig": {
|
|
69
71
|
"access": "public",
|