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 +2 -2
- package/.mcp/server.json +3 -3
- package/CHANGELOG.md +7 -0
- package/README.md +2 -2
- package/RELEASE-MANIFEST.json +17 -17
- package/package.json +1 -1
- package/server.json +3 -3
- package/src/intelligence/cloud-client.mjs +1 -1
- package/src/intelligence/safety-score-v0.2.mjs +2 -1
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.
|
|
5
|
-
ASL_API_URLS=https://api.agentsecuritylens.
|
|
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.
|
|
11
|
+
"version": "0.1.1",
|
|
12
12
|
"packages": [
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"identifier": "agent-security-lens",
|
|
16
|
-
"version": "0.1.
|
|
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.
|
|
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.
|
|
28
|
-
ASL_API_URLS=https://api.agentsecuritylens.
|
|
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.
|
package/RELEASE-MANIFEST.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": "0.1.0",
|
|
3
3
|
"package": "agent-security-lens",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"generated_at": "2026-06-
|
|
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":
|
|
11
|
-
"sha256": "
|
|
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":
|
|
41
|
-
"sha256": "
|
|
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":
|
|
51
|
-
"sha256": "
|
|
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":
|
|
76
|
-
"sha256": "
|
|
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": "
|
|
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":
|
|
311
|
-
"sha256": "
|
|
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":
|
|
341
|
-
"sha256": "
|
|
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":
|
|
361
|
-
"sha256": "
|
|
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.
|
|
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.
|
|
11
|
+
"version": "0.1.1",
|
|
12
12
|
"packages": [
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"identifier": "agent-security-lens",
|
|
16
|
-
"version": "0.1.
|
|
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.
|
|
25
|
+
"default": "https://agentsecuritylens-api.agentsecuritylens.workers.dev"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "ASL_API_KEY",
|
|
@@ -70,7 +70,8 @@ function unique(values = []) {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
function evidenceGroups(known = {}) {
|
|
73
|
-
|
|
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 = {}) {
|