agent-security-lens 0.1.0 → 0.1.1

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/.env.example CHANGED
@@ -1,8 +1,8 @@
1
1
  # AgentSecurityLens public MCP client configuration.
2
2
  ASL_MODE=online
3
3
  ASL_DISABLE_CLOUD=0
4
- ASL_API_URL=https://api.agentsecuritylens.com
5
- ASL_API_URLS=https://api.agentsecuritylens.com
4
+ ASL_API_URL=https://agentsecuritylens-api.agentsecuritylens.workers.dev
5
+ ASL_API_URLS=https://agentsecuritylens-api.agentsecuritylens.workers.dev
6
6
  ASL_API_TIMEOUT_MS=3500
7
7
  ASL_API_KEY=
8
8
  ASL_AGENT_ID=
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.0",
11
+ "version": "0.1.1",
12
12
  "packages": [
13
13
  {
14
14
  "registryType": "npm",
15
15
  "identifier": "agent-security-lens",
16
- "version": "0.1.0",
16
+ "version": "0.1.1",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  },
@@ -22,7 +22,7 @@
22
22
  "name": "ASL_API_URL",
23
23
  "description": "AgentSecurityLens Cloud Intelligence API URL.",
24
24
  "isRequired": false,
25
- "default": "https://api.agentsecuritylens.com"
25
+ "default": "https://agentsecuritylens-api.agentsecuritylens.workers.dev"
26
26
  },
27
27
  {
28
28
  "name": "ASL_API_KEY",
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1
4
+
5
+ - Connect the MCP to the live AgentSecurityLens Cloud Intelligence API by default.
6
+ - Fix D1 strict-review selection when superseded assessment history is retained.
7
+ - Normalize D1 evidence into the public Evidence Schema.
8
+ - Align production release readiness with D1, R2 and operational KV storage.
9
+
3
10
  ## 0.1.0
4
11
 
5
12
  First public release.
package/README.md CHANGED
@@ -24,8 +24,8 @@ Node.js 20 or newer is required.
24
24
  The public MCP uses online intelligence by default:
25
25
 
26
26
  ```text
27
- ASL_API_URL=https://api.agentsecuritylens.com
28
- ASL_API_URLS=https://api.agentsecuritylens.com
27
+ ASL_API_URL=https://agentsecuritylens-api.agentsecuritylens.workers.dev
28
+ ASL_API_URLS=https://agentsecuritylens-api.agentsecuritylens.workers.dev
29
29
  ```
30
30
 
31
31
  `ASL_API_URLS` may contain multiple comma-separated endpoints. The MCP tries them in order and falls back automatically.
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "schema_version": "0.1.0",
3
3
  "package": "agent-security-lens",
4
- "version": "0.1.0",
5
- "generated_at": "2026-06-15T10:17:03.672Z",
4
+ "version": "0.1.1",
5
+ "generated_at": "2026-06-15T14:53:25.682Z",
6
6
  "source": "ASL verified public release exporter",
7
7
  "files": [
8
8
  {
9
9
  "path": ".env.example",
10
- "bytes": 270,
11
- "sha256": "5a933f6d2a954f7438b89418631425bdcb0d2f5d53acc129a221282c976caef3"
10
+ "bytes": 322,
11
+ "sha256": "6a920a289e9b1c900fceeee7ba65a1c3518b61dd0e8ecedda8703219d7e6733a"
12
12
  },
13
13
  {
14
14
  "path": ".github/ISSUE_TEMPLATE/bug.yml",
@@ -37,8 +37,8 @@
37
37
  },
38
38
  {
39
39
  "path": ".mcp/server.json",
40
- "bytes": 1261,
41
- "sha256": "b8bd6fabc24bbe8bec904d4093c7506574c97ad5d8c344917144934904feba26"
40
+ "bytes": 1287,
41
+ "sha256": "8a872855f7e05655ca73c60a14fa6cc1d633ff9676284316de70c0a45cb9b824"
42
42
  },
43
43
  {
44
44
  "path": ".npmignore",
@@ -47,8 +47,8 @@
47
47
  },
48
48
  {
49
49
  "path": "CHANGELOG.md",
50
- "bytes": 583,
51
- "sha256": "8a2b684447e6adc75d860fd962802d685329e110d359a6e6ca0045b2e12fd1db"
50
+ "bytes": 892,
51
+ "sha256": "590336c3cfb72e2439b6d6c13fb640c5a937336a66003d0f8b0effd80f7084c1"
52
52
  },
53
53
  {
54
54
  "path": "CODE_OF_CONDUCT.md",
@@ -72,8 +72,8 @@
72
72
  },
73
73
  {
74
74
  "path": "README.md",
75
- "bytes": 4898,
76
- "sha256": "51fb4da9a0888d824d9a62366eb303987daedcef90aa8cd4a810847513852053"
75
+ "bytes": 4950,
76
+ "sha256": "04eb18598c417556f09c0672b6642ba84190fa6a09aaae83c686ae1aa45e4556"
77
77
  },
78
78
  {
79
79
  "path": "SECURITY.md",
@@ -178,7 +178,7 @@
178
178
  {
179
179
  "path": "package.json",
180
180
  "bytes": 1973,
181
- "sha256": "1f7527425a0c1c55eaec1a42ec99a7084abb7771453c38246187ef1362243ed0"
181
+ "sha256": "c151b9873a883b6390d206b5e85b6b6e104aa1f30594d1c02deea390c6545780"
182
182
  },
183
183
  {
184
184
  "path": "profiles/generic-agent/profile.json",
@@ -307,8 +307,8 @@
307
307
  },
308
308
  {
309
309
  "path": "server.json",
310
- "bytes": 1261,
311
- "sha256": "b8bd6fabc24bbe8bec904d4093c7506574c97ad5d8c344917144934904feba26"
310
+ "bytes": 1287,
311
+ "sha256": "8a872855f7e05655ca73c60a14fa6cc1d633ff9676284316de70c0a45cb9b824"
312
312
  },
313
313
  {
314
314
  "path": "src/assessment/assess.mjs",
@@ -337,8 +337,8 @@
337
337
  },
338
338
  {
339
339
  "path": "src/intelligence/cloud-client.mjs",
340
- "bytes": 7479,
341
- "sha256": "b8541e1cab43ccac3a7de16b7402c82108b0b113d4834499a0913f71750a6f33"
340
+ "bytes": 7505,
341
+ "sha256": "0878d7a3efdccd5fc788034f08d25712fe52b4c2107bf23d697bd961c0e6bfbb"
342
342
  },
343
343
  {
344
344
  "path": "src/intelligence/component-intelligence.mjs",
@@ -357,8 +357,8 @@
357
357
  },
358
358
  {
359
359
  "path": "src/intelligence/safety-score-v0.2.mjs",
360
- "bytes": 11957,
361
- "sha256": "9a9b302826d180e073be7bb98bcd506b5bb2cd430e480ee32d36838074b2b101"
360
+ "bytes": 12015,
361
+ "sha256": "f0c9f7b816403034c54ca0b86ae6d523102e209cabd10075a0cf4e159a633c16"
362
362
  },
363
363
  {
364
364
  "path": "src/observations/json-observations.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-security-lens",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "private": false,
5
5
  "mcpName": "io.github.professor2k8/agent-security-lens",
6
6
  "description": "Agent-facing security MCP that queries ASL intelligence before autonomous agents install tools.",
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.0",
11
+ "version": "0.1.1",
12
12
  "packages": [
13
13
  {
14
14
  "registryType": "npm",
15
15
  "identifier": "agent-security-lens",
16
- "version": "0.1.0",
16
+ "version": "0.1.1",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  },
@@ -22,7 +22,7 @@
22
22
  "name": "ASL_API_URL",
23
23
  "description": "AgentSecurityLens Cloud Intelligence API URL.",
24
24
  "isRequired": false,
25
- "default": "https://api.agentsecuritylens.com"
25
+ "default": "https://agentsecuritylens-api.agentsecuritylens.workers.dev"
26
26
  },
27
27
  {
28
28
  "name": "ASL_API_KEY",
@@ -1,4 +1,4 @@
1
- const DEFAULT_API_URL = "https://api.agentsecuritylens.com";
1
+ const DEFAULT_API_URL = "https://agentsecuritylens-api.agentsecuritylens.workers.dev";
2
2
  const DEFAULT_TIMEOUT_MS = 3500;
3
3
 
4
4
  const SECRET_PATTERNS = [
@@ -70,7 +70,8 @@ function unique(values = []) {
70
70
  }
71
71
 
72
72
  function evidenceGroups(known = {}) {
73
- return new Map((known?.evidence || []).map((item) => [item.kind, item]));
73
+ const evidence = Array.isArray(known?.evidence) ? known.evidence : [];
74
+ return new Map(evidence.map((item) => [item.kind, item]));
74
75
  }
75
76
 
76
77
  function sourceRecords(known = {}) {