shellward 0.5.11 → 0.5.13

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.
@@ -1,2 +1,2 @@
1
- #!/usr/bin/env npx tsx
1
+ #!/usr/bin/env node
2
2
  export {};
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env npx tsx
1
+ #!/usr/bin/env node
2
2
  // src/mcp-server.ts — ShellWard MCP Server
3
3
  //
4
4
  // Exposes ShellWard's 8-layer security engine as an MCP server.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shellward",
3
- "version": "0.5.11",
3
+ "version": "0.5.13",
4
4
  "mcpName": "io.github.jnMetaCode/shellward",
5
5
  "description": "AI agent security & MCP security middleware — prompt injection detection, AI firewall, runtime guardrails & data-loss prevention for LLM tool calls. 8-layer defense against data exfiltration & dangerous commands. Zero dependencies. SDK + OpenClaw plugin. Supports LangChain, AutoGPT, Claude Code, Cursor, OpenAI Agents.",
6
6
  "keywords": [
@@ -42,6 +42,10 @@
42
42
  "url": "https://github.com/jnMetaCode/shellward"
43
43
  },
44
44
  "type": "module",
45
+ "bin": {
46
+ "shellward": "dist/mcp-server.js",
47
+ "shellward-mcp": "dist/mcp-server.js"
48
+ },
45
49
  "main": "dist/index.js",
46
50
  "types": "dist/index.d.ts",
47
51
  "exports": {
@@ -70,6 +74,7 @@
70
74
  "dist/",
71
75
  "skills/",
72
76
  "openclaw.plugin.json",
77
+ "server.json",
73
78
  "vuln-db.json",
74
79
  "install.sh",
75
80
  "install.ps1",
package/server.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.jnMetaCode/shellward",
4
+ "description": "AI agent security: 7 MCP tools for injection detection, PII scanning, command safety, DLP.",
5
+ "repository": {
6
+ "url": "https://github.com/jnMetaCode/shellward",
7
+ "source": "github"
8
+ },
9
+ "version": "0.5.13",
10
+ "packages": [
11
+ {
12
+ "registryType": "npm",
13
+ "identifier": "shellward",
14
+ "version": "0.5.13",
15
+ "runtime": "node",
16
+ "transport": {
17
+ "type": "stdio"
18
+ },
19
+ "environmentVariables": [
20
+ {
21
+ "description": "Security mode: enforce (block + log) or audit (log only)",
22
+ "isRequired": false,
23
+ "format": "string",
24
+ "isSecret": false,
25
+ "name": "SHELLWARD_MODE"
26
+ },
27
+ {
28
+ "description": "Locale: auto, zh, or en",
29
+ "isRequired": false,
30
+ "format": "string",
31
+ "isSecret": false,
32
+ "name": "SHELLWARD_LOCALE"
33
+ },
34
+ {
35
+ "description": "Injection detection threshold 0-100 (lower = stricter)",
36
+ "isRequired": false,
37
+ "format": "string",
38
+ "isSecret": false,
39
+ "name": "SHELLWARD_THRESHOLD"
40
+ }
41
+ ]
42
+ }
43
+ ]
44
+ }
package/src/mcp-server.ts CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env npx tsx
1
+ #!/usr/bin/env node
2
2
  // src/mcp-server.ts — ShellWard MCP Server
3
3
  //
4
4
  // Exposes ShellWard's 8-layer security engine as an MCP server.