@weave_protocol/ward 0.1.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.
@@ -0,0 +1,127 @@
1
+ ---
2
+ ward: "1.0"
3
+ agent: production-deployer
4
+ name: Strict Production Deployment Agent
5
+ description: Locked-down policy for an agent that deploys code to production. Approval required for all elevated actions. Mandatory blockchain attestation.
6
+ ---
7
+
8
+ # WARD.md
9
+
10
+ Strict policy for a production deployment agent. Default-deny across the
11
+ board. Any action that could affect production goes through human approval.
12
+ Every action is cryptographically attested.
13
+
14
+ ## Filesystem
15
+
16
+ allow:
17
+ - read: /workspace/build/**
18
+ - read: /workspace/config/**
19
+ - write: /workspace/logs/**
20
+ deny:
21
+ - read: ~/.ssh/**
22
+ - read: ~/.aws/**
23
+ - read: ~/.kube/**
24
+ - write: /etc/**
25
+ - write: /usr/**
26
+ - execute: "**"
27
+ - delete: "**"
28
+ default: deny
29
+
30
+ ## Network
31
+
32
+ allow:
33
+ - url: "https://api.github.com/**"
34
+ methods: [GET]
35
+ - url: "https://registry.npmjs.org/**"
36
+ methods: [GET]
37
+ default: deny
38
+
39
+ ## Capabilities
40
+
41
+ allow:
42
+ - file_read
43
+ - file_write
44
+ - log_write
45
+ requireApproval:
46
+ - deploy
47
+ - rollback
48
+ - http_request
49
+ - secrets_read
50
+ deny:
51
+ - shell_exec
52
+ - ssh
53
+ - sudo
54
+ - kubectl
55
+ - terraform_apply
56
+ default: deny
57
+
58
+ ## Data Boundaries
59
+
60
+ egressAllow:
61
+ - public
62
+ egressDeny:
63
+ - internal
64
+ - confidential
65
+ - secret
66
+ - pii
67
+ - phi
68
+ - pci
69
+ - credentials
70
+
71
+ ## Behavioral Limits
72
+
73
+ maxIterations: 20
74
+ maxRuntimeSeconds: 600
75
+ maxCostUSD: 1.00
76
+ maxTokens: 25000
77
+ maxToolCalls: 15
78
+ maxExternalServices: 2
79
+
80
+ ## Multi-Agent
81
+
82
+ isolation: strict
83
+ maxSemanticDrift: 0.2
84
+ trustChain:
85
+ upstream:
86
+ - ci-orchestrator
87
+ downstream:
88
+ - notification-agent
89
+
90
+ ## Compliance
91
+
92
+ frameworks:
93
+ - soc2
94
+ - iso27001
95
+ backend: domere
96
+
97
+ ## Verification
98
+
99
+ required: true
100
+ backend: domere
101
+ blockchain: solana
102
+ frequency: every_action
103
+
104
+ ## Threat Model
105
+
106
+ inScope:
107
+ - prompt_injection
108
+ - data_exfil
109
+ - credential_theft
110
+ - tool_misuse
111
+ - semantic_drift
112
+ - emergent_behavior
113
+ - supply_chain
114
+ outOfScope:
115
+ - physical_attack
116
+ - side_channel
117
+
118
+ ## Incident Response
119
+
120
+ onViolation:
121
+ - log
122
+ - alert
123
+ - terminate
124
+ - attest_violation
125
+ - notify_human
126
+ - block_further
127
+ severityThreshold: low
package/package.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@weave_protocol/ward",
3
+ "version": "0.1.0",
4
+ "description": "WARD.md — the agent security policy standard. Define what your agents can and cannot do, version-controlled alongside AGENTS.md and SKILL.md.",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "bin": {
9
+ "weave-ward": "dist/cli.js"
10
+ },
11
+ "scripts": {
12
+ "build": "tsc",
13
+ "dev": "tsc --watch",
14
+ "test": "node --test tests/",
15
+ "prepublishOnly": "npm run build"
16
+ },
17
+ "keywords": [
18
+ "weave-protocol",
19
+ "ward",
20
+ "agent-security",
21
+ "ai-security",
22
+ "ai-agents",
23
+ "infrastructure-as-code",
24
+ "policy",
25
+ "guardrails",
26
+ "agents-md",
27
+ "skill-md",
28
+ "antigravity",
29
+ "claude-code",
30
+ "mdash",
31
+ "harness",
32
+ "mcp",
33
+ "model-context-protocol"
34
+ ],
35
+ "author": "Trent Yoxall",
36
+ "license": "Apache-2.0",
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "git+https://github.com/Tyox-all/Weave_Protocol.git",
40
+ "directory": "ward"
41
+ },
42
+ "homepage": "https://github.com/Tyox-all/Weave_Protocol/tree/main/ward#readme",
43
+ "bugs": {
44
+ "url": "https://github.com/Tyox-all/Weave_Protocol/issues"
45
+ },
46
+ "dependencies": {
47
+ "@modelcontextprotocol/sdk": "^1.0.0"
48
+ },
49
+ "devDependencies": {
50
+ "@types/node": "^20.0.0",
51
+ "typescript": "^5.3.0"
52
+ },
53
+ "engines": {
54
+ "node": ">=18.0.0"
55
+ },
56
+ "files": [
57
+ "dist/",
58
+ "examples/",
59
+ "README.md",
60
+ "SPEC.md",
61
+ "SKILL.md",
62
+ "LICENSE"
63
+ ]
64
+ }