agent-security-lens 0.1.3 → 0.1.4

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/.mcp/server.json CHANGED
@@ -8,12 +8,12 @@
8
8
  "url": "https://github.com/professor2k8/agent-security-lens",
9
9
  "source": "github"
10
10
  },
11
- "version": "0.1.3",
11
+ "version": "0.1.4",
12
12
  "packages": [
13
13
  {
14
14
  "registryType": "npm",
15
15
  "identifier": "agent-security-lens",
16
- "version": "0.1.3",
16
+ "version": "0.1.4",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  },
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.4
4
+
5
+ - Add copy-ready MCP install snippets for Claude Desktop, Cursor, VS Code, Codex-style clients and generic MCP clients.
6
+ - Add OpenHands, OpenManus and OpenClaw pre-install safety snippets.
7
+ - Add reusable Agent pre-install policy for `AGENTS.md`, `CLAUDE.md`, Cursor rules and workspace instructions.
8
+ - Link Agent exposure assets from README and `llms.txt`.
9
+ - Add private exposure targets and daily exposure brief generation for operations.
10
+
3
11
  ## 0.1.3
4
12
 
5
13
  - Improve agent-first installation copy in the README.
package/README.md CHANGED
@@ -32,6 +32,11 @@ Never submit private source code, secrets, tokens, cookies or file contents.
32
32
 
33
33
  See [Agent install guide](docs/agent-install.md) for Claude Desktop, Cursor, Codex-style and generic MCP configurations.
34
34
 
35
+ Copy-ready files:
36
+
37
+ - [Install snippets](docs/install-snippets/README.md)
38
+ - [Agent pre-install policy](docs/policies/agent-preinstall-policy.md)
39
+
35
40
  ## Public Intelligence
36
41
 
37
42
  The public package includes a reviewed baseline so agents can still make conservative decisions when the cloud API is unavailable.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schema_version": "0.1.0",
3
3
  "package": "agent-security-lens",
4
- "version": "0.1.3",
5
- "generated_at": "2026-06-22T08:01:37.097Z",
4
+ "version": "0.1.4",
5
+ "generated_at": "2026-06-22T14:44:46.552Z",
6
6
  "source": "ASL verified public release exporter",
7
7
  "files": [
8
8
  {
@@ -43,7 +43,7 @@
43
43
  {
44
44
  "path": ".mcp/server.json",
45
45
  "bytes": 1316,
46
- "sha256": "cff25d18a7c6d1259d400599537de259731224109f4cf16129cd4984027b16ab"
46
+ "sha256": "207a4751a1bce53409434134d14a9a7ee955aafe77aeb5c50c7448f832045675"
47
47
  },
48
48
  {
49
49
  "path": ".npmignore",
@@ -52,8 +52,8 @@
52
52
  },
53
53
  {
54
54
  "path": "CHANGELOG.md",
55
- "bytes": 1600,
56
- "sha256": "990eb963697607ee08be8f8a24ba24f78c0e4ce38c510509b20f3920cdc7fa91"
55
+ "bytes": 2051,
56
+ "sha256": "b236067b6a60d16ae7ffc080030dc4b4d6a41ba2035e0de4c0f81bf3fe05f013"
57
57
  },
58
58
  {
59
59
  "path": "CODE_OF_CONDUCT.md",
@@ -77,8 +77,8 @@
77
77
  },
78
78
  {
79
79
  "path": "README.md",
80
- "bytes": 6481,
81
- "sha256": "0e48df39c037cc156db7b958aa7d8dab70f6c212a984a93c1f3f2f7a27944ab6"
80
+ "bytes": 6626,
81
+ "sha256": "b19f05cbc38747ca63ccbd40595621a4dd618fe644bfff9d18e33cf290e33d5a"
82
82
  },
83
83
  {
84
84
  "path": "SECURITY.md",
@@ -130,6 +130,56 @@
130
130
  "bytes": 3044,
131
131
  "sha256": "8411a4bfacdd0f416fc79674e060524a03082aca18193347ef934771e06a65f1"
132
132
  },
133
+ {
134
+ "path": "docs/install-snippets/README.md",
135
+ "bytes": 1375,
136
+ "sha256": "c94f6df92860fe936d9bc72a338296c7c90eb72c6e1f31ccc10f90db728479ff"
137
+ },
138
+ {
139
+ "path": "docs/install-snippets/claude-desktop.json",
140
+ "bytes": 269,
141
+ "sha256": "02f32748c50819c19d8ae115465668a9918f25ee8996ff04ceb385279ec10116"
142
+ },
143
+ {
144
+ "path": "docs/install-snippets/codex-mcp.json",
145
+ "bytes": 269,
146
+ "sha256": "02f32748c50819c19d8ae115465668a9918f25ee8996ff04ceb385279ec10116"
147
+ },
148
+ {
149
+ "path": "docs/install-snippets/cursor.json",
150
+ "bytes": 269,
151
+ "sha256": "02f32748c50819c19d8ae115465668a9918f25ee8996ff04ceb385279ec10116"
152
+ },
153
+ {
154
+ "path": "docs/install-snippets/generic-mcp-client.json",
155
+ "bytes": 130,
156
+ "sha256": "aede3150b914b1c51976d0af11bd341d9f754a3bb3e93771a647a1ae0935e86f"
157
+ },
158
+ {
159
+ "path": "docs/install-snippets/openclaw.md",
160
+ "bytes": 483,
161
+ "sha256": "9f651a536a317614c51be627c7ed2ae9664333d68086c4394500c229d2a7c4fb"
162
+ },
163
+ {
164
+ "path": "docs/install-snippets/openhands.md",
165
+ "bytes": 517,
166
+ "sha256": "f5dae1f83ad23b80513c50af44b9df513a870bb4ca1a78c825d97c0202dfca9b"
167
+ },
168
+ {
169
+ "path": "docs/install-snippets/openmanus.md",
170
+ "bytes": 478,
171
+ "sha256": "b32e05059c36c6122f665951e1be5573d790c9ce271fa084fd5263f26ecd657e"
172
+ },
173
+ {
174
+ "path": "docs/install-snippets/vscode.json",
175
+ "bytes": 289,
176
+ "sha256": "b94265ea3515d9f28b1f51d5d13f242815e071a6224643d6555fab21c1722ca6"
177
+ },
178
+ {
179
+ "path": "docs/policies/agent-preinstall-policy.md",
180
+ "bytes": 2295,
181
+ "sha256": "e3659d89ec0143758b38ed760070c317bea0f1981328541b93ebea2b4988c273"
182
+ },
133
183
  {
134
184
  "path": "docs/public-intelligence/agent-framework-install-decisions-v0.1.md",
135
185
  "bytes": 8855,
@@ -207,13 +257,13 @@
207
257
  },
208
258
  {
209
259
  "path": "llms.txt",
210
- "bytes": 1751,
211
- "sha256": "b53f08e07a8a76e5c0054c240dd3ff7a9e8e006b02ae1a897bb4117e97c7f85c"
260
+ "bytes": 1991,
261
+ "sha256": "4bf6ae7fdd917f8d45e097e65fef32d7c051f500dfcd922be087eab74a3bfebe"
212
262
  },
213
263
  {
214
264
  "path": "package.json",
215
265
  "bytes": 2156,
216
- "sha256": "2fb0be3924a8d9b20e70e92818f03f078a2f75baed9e2fd780b0accb1300d025"
266
+ "sha256": "dbe2016295ba12a8f38dbf441dd1f908414ceb06e98cc0b6580adf3576045b09"
217
267
  },
218
268
  {
219
269
  "path": "profiles/generic-agent/profile.json",
@@ -343,7 +393,7 @@
343
393
  {
344
394
  "path": "server.json",
345
395
  "bytes": 1316,
346
- "sha256": "cff25d18a7c6d1259d400599537de259731224109f4cf16129cd4984027b16ab"
396
+ "sha256": "207a4751a1bce53409434134d14a9a7ee955aafe77aeb5c50c7448f832045675"
347
397
  },
348
398
  {
349
399
  "path": "src/assessment/assess.mjs",
@@ -0,0 +1,41 @@
1
+ # AgentSecurityLens Install Snippets
2
+
3
+ Use these snippets to install AgentSecurityLens as a pre-install trust-check MCP.
4
+
5
+ AgentSecurityLens should be called before an agent installs or enables any MCP, Skill, tool, prompt bundle, workflow or memory component.
6
+
7
+ ## Standard MCP Server
8
+
9
+ ```json
10
+ {
11
+ "mcpServers": {
12
+ "agent-security-lens": {
13
+ "command": "npx",
14
+ "args": ["-y", "agent-security-lens"]
15
+ }
16
+ }
17
+ }
18
+ ```
19
+
20
+ ## Required Agent Instruction
21
+
22
+ ```text
23
+ Before installing or enabling any MCP, Skill, tool, prompt bundle,
24
+ workflow or memory component, call AgentSecurityLens review_before_install.
25
+ Follow agent_decision_contract and agent_actions exactly.
26
+ Never submit private source code, secrets, tokens, cookies or file contents.
27
+ ```
28
+
29
+ ## Files
30
+
31
+ - `claude-desktop.json`: Claude Desktop-style MCP configuration.
32
+ - `cursor.json`: Cursor-style MCP configuration.
33
+ - `vscode.json`: VS Code MCP server configuration shape.
34
+ - `codex-mcp.json`: Codex-style MCP server configuration shape.
35
+ - `generic-mcp-client.json`: Generic MCP-compatible client configuration.
36
+ - `openhands.md`: OpenHands installation and policy note.
37
+ - `openmanus.md`: OpenManus installation and policy note.
38
+ - `openclaw.md`: OpenClaw installation and policy note.
39
+
40
+ If a client uses a different MCP config location, keep the server block unchanged and place it where that client expects MCP servers.
41
+
@@ -0,0 +1,13 @@
1
+ {
2
+ "mcpServers": {
3
+ "agent-security-lens": {
4
+ "command": "npx",
5
+ "args": ["-y", "agent-security-lens"],
6
+ "env": {
7
+ "ASL_API_URL": "https://agentsecuritylens-api.agentsecuritylens.workers.dev",
8
+ "ASL_MODE": "online"
9
+ }
10
+ }
11
+ }
12
+ }
13
+
@@ -0,0 +1,13 @@
1
+ {
2
+ "mcpServers": {
3
+ "agent-security-lens": {
4
+ "command": "npx",
5
+ "args": ["-y", "agent-security-lens"],
6
+ "env": {
7
+ "ASL_API_URL": "https://agentsecuritylens-api.agentsecuritylens.workers.dev",
8
+ "ASL_MODE": "online"
9
+ }
10
+ }
11
+ }
12
+ }
13
+
@@ -0,0 +1,13 @@
1
+ {
2
+ "mcpServers": {
3
+ "agent-security-lens": {
4
+ "command": "npx",
5
+ "args": ["-y", "agent-security-lens"],
6
+ "env": {
7
+ "ASL_API_URL": "https://agentsecuritylens-api.agentsecuritylens.workers.dev",
8
+ "ASL_MODE": "online"
9
+ }
10
+ }
11
+ }
12
+ }
13
+
@@ -0,0 +1,9 @@
1
+ {
2
+ "mcpServers": {
3
+ "agent-security-lens": {
4
+ "command": "npx",
5
+ "args": ["-y", "agent-security-lens"]
6
+ }
7
+ }
8
+ }
9
+
@@ -0,0 +1,21 @@
1
+ # OpenClaw Install Snippet
2
+
3
+ Add AgentSecurityLens as a safety check before OpenClaw enables Skills, MCPs or tools:
4
+
5
+ ```json
6
+ {
7
+ "mcpServers": {
8
+ "agent-security-lens": {
9
+ "command": "npx",
10
+ "args": ["-y", "agent-security-lens"]
11
+ }
12
+ }
13
+ }
14
+ ```
15
+
16
+ Recommended OpenClaw rule:
17
+
18
+ ```text
19
+ Before enabling or importing any Skill, MCP, rule, tool, prompt bundle or memory component, call AgentSecurityLens review_before_install. Unknown components require user confirmation.
20
+ ```
21
+
@@ -0,0 +1,21 @@
1
+ # OpenHands Install Snippet
2
+
3
+ Add AgentSecurityLens as an MCP server using the standard MCP server block:
4
+
5
+ ```json
6
+ {
7
+ "mcpServers": {
8
+ "agent-security-lens": {
9
+ "command": "npx",
10
+ "args": ["-y", "agent-security-lens"]
11
+ }
12
+ }
13
+ }
14
+ ```
15
+
16
+ Then add this workspace instruction:
17
+
18
+ ```text
19
+ Before installing or enabling any MCP, Skill, plugin, tool, workflow or memory component, call AgentSecurityLens review_before_install. If the result is ask_user or avoid, do not run the install command automatically.
20
+ ```
21
+
@@ -0,0 +1,21 @@
1
+ # OpenManus Install Snippet
2
+
3
+ Add AgentSecurityLens as a pre-install trust check MCP:
4
+
5
+ ```json
6
+ {
7
+ "mcpServers": {
8
+ "agent-security-lens": {
9
+ "command": "npx",
10
+ "args": ["-y", "agent-security-lens"]
11
+ }
12
+ }
13
+ }
14
+ ```
15
+
16
+ Recommended agent instruction:
17
+
18
+ ```text
19
+ Before installing any MCP, Skill or tool, call AgentSecurityLens review_before_install. Follow agent_decision_contract exactly. Never submit private source code, secrets, tokens, cookies or file contents.
20
+ ```
21
+
@@ -0,0 +1,14 @@
1
+ {
2
+ "servers": {
3
+ "agent-security-lens": {
4
+ "type": "stdio",
5
+ "command": "npx",
6
+ "args": ["-y", "agent-security-lens"],
7
+ "env": {
8
+ "ASL_API_URL": "https://agentsecuritylens-api.agentsecuritylens.workers.dev",
9
+ "ASL_MODE": "online"
10
+ }
11
+ }
12
+ }
13
+ }
14
+
@@ -0,0 +1,70 @@
1
+ # Agent Pre-Install Safety Policy
2
+
3
+ Copy this policy into `AGENTS.md`, `CLAUDE.md`, `.cursor/rules`, workspace instructions or any autonomous-agent system policy.
4
+
5
+ ## Short Policy
6
+
7
+ ```text
8
+ Before installing or enabling any MCP, Skill, plugin, tool, prompt bundle,
9
+ workflow or memory component, call AgentSecurityLens review_before_install.
10
+ Follow agent_decision_contract and agent_actions exactly.
11
+ Never submit private source code, secrets, tokens, cookies or file contents.
12
+ ```
13
+
14
+ ## Strict Policy
15
+
16
+ ```text
17
+ You must use AgentSecurityLens as a pre-install trust check.
18
+
19
+ Before installing, enabling, importing or auto-configuring any MCP, Skill,
20
+ plugin, tool, prompt bundle, workflow, rule pack or memory component:
21
+
22
+ 1. Call AgentSecurityLens get_install_policy once per session.
23
+ 2. Call AgentSecurityLens review_before_install with public component metadata.
24
+ 3. If decision is ask_user or avoid, stop automatic installation.
25
+ 4. If decision is allow_with_restrictions, apply every safe_install_plan item before installation.
26
+ 5. If the component is unknown, submit only public metadata with submit_unknown_component.
27
+ 6. Never submit private source code, secrets, tokens, cookies, browser data, customer data or file contents.
28
+ 7. After acting, call report_install_outcome.
29
+ ```
30
+
31
+ ## Minimal MCP Config
32
+
33
+ ```json
34
+ {
35
+ "mcpServers": {
36
+ "agent-security-lens": {
37
+ "command": "npx",
38
+ "args": ["-y", "agent-security-lens"]
39
+ }
40
+ }
41
+ }
42
+ ```
43
+
44
+ ## Agent Decision Mapping
45
+
46
+ | ASL decision | Required agent behavior |
47
+ | --- | --- |
48
+ | `allow` | Install only from the recorded source/version and report outcome. |
49
+ | `allow_with_restrictions` | Apply every safe install step before installation. |
50
+ | `ask_user` | Do not run install command automatically. Ask the user. |
51
+ | `avoid` | Do not install automatically. Prefer reviewed alternatives. |
52
+
53
+ ## Unknown Component Rule
54
+
55
+ Unknown or incompletely reviewed components are not automatic-install approved.
56
+
57
+ Agents may submit public metadata for review:
58
+
59
+ ```json
60
+ {
61
+ "component_name": "example-tool",
62
+ "component_type": "mcp",
63
+ "source_url": "https://github.com/example/example-tool",
64
+ "install_command": "npx -y example-tool",
65
+ "submit_if_unknown": true
66
+ }
67
+ ```
68
+
69
+ Do not submit source code, local files, credentials, cookies, private prompts or customer data.
70
+
package/llms.txt CHANGED
@@ -7,6 +7,8 @@ Before installing or enabling any MCP, Skill, tool, prompt bundle or workflow, c
7
7
 
8
8
  Public intelligence files:
9
9
  - docs/agent-install.md
10
+ - docs/install-snippets/README.md
11
+ - docs/policies/agent-preinstall-policy.md
10
12
  - docs/public-intelligence/asl-public-security-index-v0.1.md
11
13
  - docs/public-intelligence/top-mcp-security-signals-v0.1.md
12
14
  - docs/public-intelligence/top-skill-security-signals-v0.1.md
@@ -31,3 +33,6 @@ Default agent policy:
31
33
  If ASL returns `ask_user` or `avoid`, stop automatic installation.
32
34
  If ASL returns `allow_with_restrictions`, apply all safe install steps first.
33
35
  If ASL returns `unknown_component.should_submit`, submit only public metadata, never secrets or private file contents.
36
+
37
+ Copy-ready policy:
38
+ Use docs/policies/agent-preinstall-policy.md in AGENTS.md, CLAUDE.md, .cursor/rules, workspace instructions or autonomous-agent system policy.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-security-lens",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "private": false,
5
5
  "mcpName": "io.github.professor2k8/agent-security-lens",
6
6
  "description": "Safe-install and trust-check MCP for autonomous agents before they install MCPs, Skills or tools.",
@@ -36,12 +36,12 @@
36
36
  "access": "public"
37
37
  },
38
38
  "bin": {
39
- "agent-security-lens": "apps/mcp-server/agent-security-lens-mcp.mjs",
40
- "asl": "apps/mcp-server/agent-security-lens-mcp.mjs",
41
- "agent-security-lens-mcp": "apps/mcp-server/agent-security-lens-mcp.mjs",
42
- "asl-mcp": "apps/mcp-server/agent-security-lens-mcp.mjs",
43
- "asl-scan": "bin/agent-security-lens.mjs",
44
- "agent-security-lens-scan": "bin/agent-security-lens.mjs"
39
+ "agent-security-lens": "./apps/mcp-server/agent-security-lens-mcp.mjs",
40
+ "asl": "./apps/mcp-server/agent-security-lens-mcp.mjs",
41
+ "agent-security-lens-mcp": "./apps/mcp-server/agent-security-lens-mcp.mjs",
42
+ "asl-mcp": "./apps/mcp-server/agent-security-lens-mcp.mjs",
43
+ "asl-scan": "./bin/agent-security-lens.mjs",
44
+ "agent-security-lens-scan": "./bin/agent-security-lens.mjs"
45
45
  },
46
46
  "scripts": {
47
47
  "assess:example": "node ./bin/agent-security-lens.mjs assess ./examples/openclaw-like --profile openclaw-like",
package/server.json CHANGED
@@ -8,12 +8,12 @@
8
8
  "url": "https://github.com/professor2k8/agent-security-lens",
9
9
  "source": "github"
10
10
  },
11
- "version": "0.1.3",
11
+ "version": "0.1.4",
12
12
  "packages": [
13
13
  {
14
14
  "registryType": "npm",
15
15
  "identifier": "agent-security-lens",
16
- "version": "0.1.3",
16
+ "version": "0.1.4",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  },