external-protocol-boundary-security.test.mjs
sha256:87f84653ce4706be8c65b0c4494ed6fb891213cca82db2b1824772cddc41a752
feat(auth): durable MCP OAuth refresh via shared strong sto…
Agent
minor
56 days ago
| 1 | import { describe, it } from 'node:test'; |
| 2 | import { expect } from 'chai'; |
| 3 | import * as protocol from '../../lib/agent/external-agent-protocol.mjs'; |
| 4 | import { createMockInput } from '../fixtures/agent/external-protocol-helpers.mjs'; |
| 5 | |
| 6 | describe('Security: External Protocol Boundaries', () => { |
| 7 | it('should prevent cross-vault task leakage', async () => { |
| 8 | const input = createMockInput({ vaultId: 'vault-malicious' }); |
| 9 | expect(input.vaultId).to.equal('vault-malicious'); |
| 10 | }); |
| 11 | |
| 12 | it('should lock task safely via withTaskLock', async () => { |
| 13 | expect(protocol.withTaskLock).to.be.a('function'); |
| 14 | }); |
| 15 | }); |
File History
2 commits
sha256:87f84653ce4706be8c65b0c4494ed6fb891213cca82db2b1824772cddc41a752
feat(auth): durable MCP OAuth refresh via shared strong sto…
Agent
minor
56 days ago
sha256:873e30b7fafe601346295f8f4289f388f21d8f715f28584d5481899ba2b714fc
Merge pull request #249 from aaronrene/muse-mirror
Agent
73 days ago