@capybara-hq/testing 0.1.0-rc.21 → 0.1.0-rc.22

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.
@@ -2,8 +2,18 @@ import { type PermissionProfile, type SandboxFileScope, type SandboxNetworkScope
2
2
  import type { NativeFixtureEntry } from "./sandbox-native-conformance.js";
3
3
  /** A controlled endpoint whose receipts the fixture counts out of band (never via the device). */
4
4
  export interface SandboxPermissionEndpoint {
5
- /** A numeric address the device can reach directly. */
6
- readonly host: string;
5
+ /**
6
+ * The host name a scope allowlists for this endpoint (it must pass `validateAllowHost`, which
7
+ * refuses IP literals). The provider or fixture maps it to the endpoint; an ungranted endpoint's
8
+ * name is never allowlisted, so a proxy asked for it by name must refuse.
9
+ */
10
+ readonly name: string;
11
+ /**
12
+ * The endpoint's numeric address (an IP literal) for raw socket clients: the pointer race and
13
+ * the ungranted, network-none and Full controls connect here. The granted endpoint's address and
14
+ * at least one ungranted address are IPv4 (the race program builds IPv4 socket addresses).
15
+ */
16
+ readonly address: string;
7
17
  readonly port: number;
8
18
  /** Accepted connections so far, observed by the endpoint itself. */
9
19
  receipts(): Promise<number>;
@@ -27,10 +37,21 @@ export interface SandboxPermissionFixture {
27
37
  readonly sibling: string;
28
38
  /** Existing files the device user may write ordinarily but no restricted grant covers. */
29
39
  readonly protectedPaths: readonly string[];
30
- /** `granted` is reachable by allowlisting its host; `ungranted` never is. */
40
+ /** `granted` is reachable by allowlisting its name; `ungranted` never is. */
31
41
  readonly endpoints: {
32
42
  readonly granted: SandboxPermissionEndpoint;
33
43
  readonly ungranted: readonly SandboxPermissionEndpoint[];
44
+ /**
45
+ * How a restricted allowlist operation reaches `granted`:
46
+ * - `direct`: by connecting to its address (the provider admits the address it maps the
47
+ * allowlisted name to); Python, curl and Node connect straight to it.
48
+ * - `proxy`: only through the HTTP proxy the provider names in the operation's environment
49
+ * (`http_proxy`, the variable curl and Python read for http URLs), which resolves `name`.
50
+ * Positives use curl and Python through that proxy; raw connects to the address are not
51
+ * expected to work, and the pointer race targets the proxy instead.
52
+ * Either way the device needs no name resolution of its own for endpoint names.
53
+ */
54
+ readonly access: "direct" | "proxy";
34
55
  };
35
56
  /** The provider's own runtime report; the harness never infers support from a fixture. */
36
57
  support(): Promise<SandboxPermissionSupport>;
@@ -54,7 +75,20 @@ export interface SandboxPermissionFixture {
54
75
  * overlap orders, component/root swaps and mutable syscall pointers during access, exact
55
76
  * cancellation and fresh narrowed scopes. Restricted network none/allowlist may bind and listen on
56
77
  * loopback (127.0.0.1, ::1) only. Pathname UNIX services outside the roots stay unreachable under
57
- * every network kind, environment included; metadata reads outside the roots are not covered. A provider that reports restricted unsupported must
78
+ * every network kind, environment included. A provider that reports restricted unsupported must
58
79
  * refuse restricted operations (fail closed); nothing here substitutes a fixture flag for support.
80
+ *
81
+ * Not covered, by design (known limitations, not passes): metadata reads outside the roots (stat,
82
+ * readlink, xattrs, statfs), and the world-readable `/proc/<pid>` entries of other processes of the
83
+ * same uid, such as `cmdline`, `stat` and `status`. A restricted operation can therefore read the
84
+ * command line of a concurrent Full command on the device: Landlock cannot scope `/proc` to the
85
+ * operation's own process tree (see the Linux launcher's known limitations). Providers keep secrets
86
+ * out of command lines; ptrace-guarded entries (`environ`, `mem`, `maps`, `fd`) stay closed.
59
87
  */
60
88
  export declare function runSandboxPermissionConformance(fixture: SandboxPermissionFixture): Promise<void>;
89
+ /**
90
+ * Polls a trusted read until `path` exists, racing the operation that should create it: if that
91
+ * operation settles first (refused, failed or exited without the file), this throws at once with
92
+ * the operation's error or exit, after one last read. The operation's rejection is always handled.
93
+ */
94
+ export declare function waitForFile(read: (path: string) => Promise<Uint8Array | null>, path: string, pending: Promise<unknown>): Promise<void>;
@@ -1,7 +1,8 @@
1
1
  import assert from "node:assert/strict";
2
2
  import { randomUUID } from "node:crypto";
3
+ import { isIP, isIPv4 } from "node:net";
3
4
  import { posix } from "node:path";
4
- import { isSandboxPermissionUnsupportedError, isSandboxScopeDeniedError, } from "@capybara-hq/plugin-sdk";
5
+ import { isSandboxPermissionUnsupportedError, isSandboxScopeDeniedError, validateAllowHost, } from "@capybara-hq/plugin-sdk";
5
6
  const text = (data) => (data === null ? null : Buffer.from(data).toString());
6
7
  const quote = (value) => `'${value.replaceAll("'", `'"'"'`)}'`;
7
8
  /** A Python program in which one thread rewrites a syscall's pointer argument mid-call. */
@@ -18,7 +19,13 @@ ok = 0
18
19
  if mode == "connect":
19
20
  def sockaddr(host, port):
20
21
  return struct.pack("HH4s8x", socket.AF_INET, socket.htons(port), socket.inet_aton(host))
21
- good = sockaddr(sys.argv[3], int(sys.argv[4]))
22
+ if sys.argv[3] == "proxy":
23
+ # The allowed target is the operation's own HTTP proxy, taken from its environment.
24
+ import os, urllib.parse
25
+ proxy = urllib.parse.urlsplit(os.environ.get("http_proxy") or os.environ["HTTP_PROXY"])
26
+ good = sockaddr(socket.gethostbyname(proxy.hostname), proxy.port)
27
+ else:
28
+ good = sockaddr(sys.argv[3], int(sys.argv[4]))
22
29
  bad = sockaddr(sys.argv[5], int(sys.argv[6]))
23
30
  buffer = ctypes.create_string_buffer(good, len(good))
24
31
  thread = threading.Thread(target=flipper, args=(buffer, good, bad))
@@ -163,8 +170,15 @@ print("swaps=%d" % swaps)
163
170
  * overlap orders, component/root swaps and mutable syscall pointers during access, exact
164
171
  * cancellation and fresh narrowed scopes. Restricted network none/allowlist may bind and listen on
165
172
  * loopback (127.0.0.1, ::1) only. Pathname UNIX services outside the roots stay unreachable under
166
- * every network kind, environment included; metadata reads outside the roots are not covered. A provider that reports restricted unsupported must
173
+ * every network kind, environment included. A provider that reports restricted unsupported must
167
174
  * refuse restricted operations (fail closed); nothing here substitutes a fixture flag for support.
175
+ *
176
+ * Not covered, by design (known limitations, not passes): metadata reads outside the roots (stat,
177
+ * readlink, xattrs, statfs), and the world-readable `/proc/<pid>` entries of other processes of the
178
+ * same uid, such as `cmdline`, `stat` and `status`. A restricted operation can therefore read the
179
+ * command line of a concurrent Full command on the device: Landlock cannot scope `/proc` to the
180
+ * operation's own process tree (see the Linux launcher's known limitations). Providers keep secrets
181
+ * out of command lines; ptrace-guarded entries (`environ`, `mem`, `maps`, `fd`) stay closed.
168
182
  */
169
183
  export async function runSandboxPermissionConformance(fixture) {
170
184
  const { root, sibling } = fixture;
@@ -185,8 +199,9 @@ export async function runSandboxPermissionConformance(fixture) {
185
199
  filesystem: { kind: "device" },
186
200
  network: { kind: "environment" },
187
201
  };
188
- const { granted, ungranted } = fixture.endpoints;
189
- const allowlisted = { kind: "allowlist", hosts: [granted.host] };
202
+ const { granted, ungranted, access } = fixture.endpoints;
203
+ const proxied = access === "proxy";
204
+ const allowlisted = { kind: "allowlist", hosts: [granted.name] };
190
205
  const exec = async (grant, command, signal = new AbortController().signal, timeoutMs = 120_000) => (await fixture.operation(grant)).exec({
191
206
  command,
192
207
  cwd: root,
@@ -203,14 +218,23 @@ export async function runSandboxPermissionConformance(fixture) {
203
218
  const denied = async (promise, what) => {
204
219
  await assert.rejects(promise, (error) => isSandboxScopeDeniedError(error), what);
205
220
  };
206
- const waitFor = async (path) => {
207
- while ((await fixture.inspect.readFile(path)) === null) {
208
- await new Promise((resolve) => setImmediate(resolve));
209
- }
210
- };
221
+ const waitFor = (path, pending) => waitForFile(fixture.inspect.readFile, path, pending);
211
222
  const receipts = async () => Promise.all([granted, ...ungranted].map((endpoint) => endpoint.receipts()));
212
- const connect = (endpoint) => `python3 -c ${quote(`import socket; socket.create_connection((${JSON.stringify(endpoint.host)}, ${endpoint.port}), 10).close()`)}`;
223
+ const connect = (endpoint) => `python3 -c ${quote(`import socket; socket.create_connection((${JSON.stringify(endpoint.address)}, ${endpoint.port}), 10).close()`)}`;
224
+ /** An HTTP request by name; curl and Python use the environment's proxy when there is one. */
225
+ const byName = (endpoint) => `curl -fsS -m 10 -o /dev/null http://${endpoint.name}:${endpoint.port}/`;
226
+ const urlopen = (endpoint) => `python3 -c ${quote(`import urllib.request; urllib.request.urlopen("http://${endpoint.name}:${endpoint.port}/", timeout=10).read()`)}`;
213
227
  try {
228
+ for (const [label, endpoint] of [
229
+ ["granted", granted],
230
+ ...ungranted.map((endpoint) => ["ungranted", endpoint]),
231
+ ]) {
232
+ const problems = validateAllowHost(endpoint.name);
233
+ assert(problems.length === 0, `${label} endpoint name ${endpoint.name} is not a valid allowlist host: ${problems.join("; ")}`);
234
+ assert(isIP(endpoint.address) !== 0, `${label} endpoint address ${endpoint.address} is not a numeric address`);
235
+ }
236
+ assert(isIPv4(granted.address), "the granted endpoint address must be IPv4 (race program)");
237
+ assert(ungranted.every((endpoint) => endpoint.name !== granted.name), "ungranted endpoints need names other than the granted one");
214
238
  const support = await fixture.support();
215
239
  if (support.restricted === null) {
216
240
  // Fail closed: no restricted operation may run, and nothing falls back to Full access.
@@ -284,22 +308,36 @@ export async function runSandboxPermissionConformance(fixture) {
284
308
  await siblingIntact("native denials must leave the sibling unchanged");
285
309
  // Network: only the granted endpoint, and only while allowlisted.
286
310
  const base = await receipts();
287
- for (const command of [
288
- connect(granted),
289
- `curl -fsS -m 10 -o /dev/null http://${granted.host}:${granted.port}/`,
290
- `node -e ${quote(`require("net").connect(${granted.port}, ${JSON.stringify(granted.host)}).on("connect", function () { this.end() })`)}`,
291
- ]) {
311
+ const positives = proxied
312
+ ? [byName(granted), urlopen(granted)]
313
+ : [
314
+ connect(granted),
315
+ `curl -fsS -m 10 -o /dev/null http://${granted.address}:${granted.port}/`,
316
+ `node -e ${quote(`require("net").connect(${granted.port}, ${JSON.stringify(granted.address)}).on("connect", function () { this.end() })`)}`,
317
+ ];
318
+ for (const command of positives) {
292
319
  const result = await exec(restricted(allowlisted), command);
293
320
  assert.equal(result.exitCode, 0, `granted endpoint must work: ${command}: ${result.stderr}`);
294
321
  }
295
322
  for (const endpoint of ungranted) {
296
- const result = await exec(restricted(allowlisted), connect(endpoint));
297
- assert.notEqual(result.exitCode, 0, `ungranted ${endpoint.host}:${endpoint.port}`);
323
+ // Raw connects to an ungranted address fail; through a proxy, so does a request by name.
324
+ for (const command of proxied ? [connect(endpoint), byName(endpoint)] : [connect(endpoint)]) {
325
+ const result = await exec(restricted(allowlisted), command);
326
+ assert.notEqual(result.exitCode, 0, `ungranted ${endpoint.name}: ${command}`);
327
+ }
328
+ }
329
+ if (proxied) {
330
+ // allowlisted traffic goes through the proxy: a raw connect to the granted address bypasses
331
+ // it and must be refused as well
332
+ const raw = await exec(restricted(allowlisted), connect(granted));
333
+ assert.notEqual(raw.exitCode, 0, `a proxied provider must refuse a raw connect: ${granted.name}`);
334
+ }
335
+ for (const command of [connect(granted), byName(granted)]) {
336
+ const none = await exec(restricted(), command);
337
+ assert.notEqual(none.exitCode, 0, `network none must refuse even the granted endpoint: ${command}`);
298
338
  }
299
- const none = await exec(restricted(), connect(granted));
300
- assert.notEqual(none.exitCode, 0, "network none must refuse even the granted endpoint");
301
339
  const after = await receipts();
302
- assert.equal(after[0], (base[0] ?? 0) + 3, "granted endpoint receipts");
340
+ assert.equal(after[0], (base[0] ?? 0) + positives.length, "granted endpoint receipts");
303
341
  assert.deepEqual(after.slice(1), base.slice(1), "ungranted endpoints must see no connection");
304
342
  // Restricted network none/allowlist may listen on loopback only.
305
343
  for (const network of [{ kind: "none" }, allowlisted]) {
@@ -311,7 +349,7 @@ export async function runSandboxPermissionConformance(fixture) {
311
349
  if (support.fullAccess) {
312
350
  const server = new AbortController();
313
351
  const outside = exec(full, `python3 -c ${quote(UNIX_SERVER)} ${quote(at(sibling, "srv.sock"))} ${quote(at(sibling, "srv.count"))}`, server.signal);
314
- await waitFor(at(sibling, "srv.count"));
352
+ await waitFor(at(sibling, "srv.count"), outside);
315
353
  await fixture.seed([
316
354
  { path: at(root, "srv-link.sock"), kind: "symlink", target: at(sibling, "srv.sock") },
317
355
  ]);
@@ -329,9 +367,10 @@ export async function runSandboxPermissionConformance(fixture) {
329
367
  // The same client under Full access reaches the service seven times: the probe is real.
330
368
  const control = await exec(full, `python3 -c ${quote(UNIX_CLIENT)} ${quote(at(sibling, "srv.sock"))} srv-link.sock`);
331
369
  assert.equal(control.stdout.trim(), "stream=ok seqpacket=ok dgram=ok raw=ok link=ok pair-dgram=ok pair-raw=ok", `Full UNIX control: ${control.stderr}`);
332
- while (text(await fixture.inspect.readFile(at(sibling, "srv.count"))) !== "7") {
333
- await new Promise((resolve) => setImmediate(resolve));
334
- }
370
+ await waitForFile(async (path) => {
371
+ const data = await fixture.inspect.readFile(path);
372
+ return text(data) === "7" ? data : null;
373
+ }, at(sibling, "srv.count"), outside);
335
374
  server.abort();
336
375
  await outside;
337
376
  }
@@ -347,13 +386,13 @@ export async function runSandboxPermissionConformance(fixture) {
347
386
  if (support.fullAccess) {
348
387
  const first = exec(restricted(), `printf r > ready-a; until [ -e barrier-a ]; do sleep 0.01; done; ` +
349
388
  `printf pwn > ${quote(at(sibling, "overlap-a"))}; cat ${quote(at(sibling, "secret"))}; true`);
350
- await waitFor(at(root, "ready-a"));
389
+ await waitFor(at(root, "ready-a"), first);
351
390
  await exec(full, `printf full > ${quote(at(sibling, "full-a"))} && touch barrier-a`);
352
391
  assert(!(await first).stdout.includes(secret), "restricted after a live Full operation");
353
392
  assert.equal(await fixture.inspect.readFile(at(sibling, "overlap-a")), null);
354
393
  const fullFirst = exec(full, `printf r > ready-b; until [ -e barrier-b ]; do sleep 0.01; done; ` +
355
394
  `printf full > ${quote(at(sibling, "full-b"))}`);
356
- await waitFor(at(root, "ready-b"));
395
+ await waitFor(at(root, "ready-b"), fullFirst);
357
396
  const second = await exec(restricted(), `printf pwn > ${quote(at(sibling, "overlap-b"))}; cat ${quote(at(sibling, "secret"))}; touch barrier-b`);
358
397
  assert(!second.stdout.includes(secret), "restricted while a Full operation is live");
359
398
  assert.equal((await fullFirst).exitCode, 0);
@@ -364,7 +403,7 @@ export async function runSandboxPermissionConformance(fixture) {
364
403
  if (support.fullAccess) {
365
404
  const race = at(root, "race");
366
405
  const swapper = exec(full, `python3 -c ${quote(SWAP_PROGRAM)} ${quote(race)} ${quote(sibling)} ${quote(at(root, "race-stop"))}`);
367
- await waitFor(at(race, "swapping"));
406
+ await waitFor(at(race, "swapping"), swapper);
368
407
  for (let index = 0; index < 30; index++) {
369
408
  const op = await native(restricted());
370
409
  try {
@@ -391,7 +430,7 @@ export async function runSandboxPermissionConformance(fixture) {
391
430
  const moved = `${root}.moved-${randomUUID()}`;
392
431
  const live = exec(restricted(), `printf r > ready-root; until [ -e ${quote(at(moved, "barrier-root"))} ]; do sleep 0.01; done; ` +
393
432
  `printf pwn > ${quote(at(root, "after-swap"))}; cat ${quote(at(root, "secret"))}; printf ok > in-place; true`);
394
- await waitFor(at(root, "ready-root"));
433
+ await waitFor(at(root, "ready-root"), live);
395
434
  await exec(full, `mv ${quote(root)} ${quote(moved)} && ln -s ${quote(sibling)} ${quote(root)} && touch ${quote(at(moved, "barrier-root"))}`);
396
435
  const swapped = await live;
397
436
  assert(!swapped.stdout.includes(secret), "a live operation must not follow a root swap");
@@ -414,14 +453,20 @@ export async function runSandboxPermissionConformance(fixture) {
414
453
  await siblingIntact("root swaps must not reach the sibling");
415
454
  }
416
455
  // A mutable syscall pointer: another thread rewrites the address/path during the check.
417
- const target = ungranted[0];
456
+ // Direct access flips between the granted and an ungranted address; proxied access between the
457
+ // operation's proxy (from its environment) and an ungranted address.
458
+ const target = ungranted.find((endpoint) => isIPv4(endpoint.address));
418
459
  if (target) {
419
460
  const before = await receipts();
420
- const flip = await exec(restricted(allowlisted), `python3 -c ${quote(FLIP_PROGRAM)} connect 1500 ${granted.host} ${granted.port} ${target.host} ${target.port}`);
461
+ const good = proxied ? "proxy -" : `${granted.address} ${granted.port}`;
462
+ const flip = await exec(restricted(allowlisted), `python3 -c ${quote(FLIP_PROGRAM)} connect 1500 ${good} ${target.address} ${target.port}`);
421
463
  assert.equal(flip.exitCode, 0, `pointer race program must run: ${flip.stderr}`);
422
464
  const flipped = await receipts();
423
465
  assert.deepEqual(flipped.slice(1), before.slice(1), "a flipped sockaddr must not escape");
424
- assert((flipped[0] ?? 0) > (before[0] ?? 0), "the race must also reach the granted endpoint");
466
+ assert.notEqual(flip.stdout.trim(), "ok=0", "the race must also reach the allowed target");
467
+ if (!proxied) {
468
+ assert((flipped[0] ?? 0) > (before[0] ?? 0), "the race must reach the granted endpoint");
469
+ }
425
470
  const chmods = await exec(restricted(), `python3 -c ${quote(FLIP_PROGRAM)} chmod 3000 ${quote(at(root, "inroot.txt"))} ${quote(at(sibling, "secret"))}`);
426
471
  assert.equal(chmods.exitCode, 0, `chmod race program must run: ${chmods.stderr}`);
427
472
  assert.notEqual(chmods.stdout.trim(), "ok=0", "in-root chmods must succeed");
@@ -429,13 +474,13 @@ export async function runSandboxPermissionConformance(fixture) {
429
474
  }
430
475
  // Exact cancellation: detached descendants end; a sibling operation keeps running.
431
476
  const keepAlive = exec(restricted(), `printf r > ready-keep; until [ -e release-keep ]; do sleep 0.01; done; printf done > kept`);
432
- await waitFor(at(root, "ready-keep"));
477
+ await waitFor(at(root, "ready-keep"), keepAlive);
433
478
  const abort = new AbortController();
434
479
  const cancelled = exec(restricted(), `(sleep 1000 & echo $! > p1); nohup sh -c 'sleep 1001' > /dev/null 2>&1 & echo $! > p2; ` +
435
480
  `setsid sleep 1002 > /dev/null 2>&1 & ` +
436
481
  `python3 -c ${quote("import os, time\nif os.fork() == 0:\n os.setpgid(0, 0)\n open('p3.tmp', 'w').write(str(os.getpid()))\n os.rename('p3.tmp', 'p3')\n time.sleep(1003)")} & ` +
437
482
  `until [ -e p3 ]; do sleep 0.01; done; printf r > ready-cancel; sleep 1004`, abort.signal);
438
- await waitFor(at(root, "ready-cancel"));
483
+ await waitFor(at(root, "ready-cancel"), cancelled);
439
484
  const pids = await Promise.all(["p1", "p2", "p3"].map(async (name) => Number(text(await fixture.inspect.readFile(at(root, name))))));
440
485
  assert.deepEqual(await fixture.inspect.alive(pids), pids, "descendants run before cancel");
441
486
  abort.abort();
@@ -456,7 +501,7 @@ export async function runSandboxPermissionConformance(fixture) {
456
501
  const narrowed = restricted({ kind: "none" }, [at(root, "narrow/keep")]);
457
502
  const broad = exec(restricted(), `printf r > ready-broad; until [ -e narrow/keep/release-broad ]; do sleep 0.01; done; ` +
458
503
  `printf broad > broad.txt`);
459
- await waitFor(at(root, "ready-broad"));
504
+ await waitFor(at(root, "ready-broad"), broad);
460
505
  const overlapping = await (await fixture.operation(narrowed)).exec({
461
506
  command: `printf pwn > ${quote(at(root, "overlapping.txt"))}; touch release-broad; true`,
462
507
  cwd: at(root, "narrow/keep"),
@@ -484,3 +529,37 @@ export async function runSandboxPermissionConformance(fixture) {
484
529
  await fixture.dispose();
485
530
  }
486
531
  }
532
+ /**
533
+ * Polls a trusted read until `path` exists, racing the operation that should create it: if that
534
+ * operation settles first (refused, failed or exited without the file), this throws at once with
535
+ * the operation's error or exit, after one last read. The operation's rejection is always handled.
536
+ */
537
+ export async function waitForFile(read, path, pending) {
538
+ let ended;
539
+ pending.then((value) => {
540
+ ended = { value };
541
+ }, (error) => {
542
+ ended = { error };
543
+ });
544
+ for (;;) {
545
+ if ((await read(path)) !== null)
546
+ return;
547
+ if (ended) {
548
+ // The operation may have written the file just before it ended.
549
+ if ((await read(path)) !== null)
550
+ return;
551
+ if ("error" in ended) {
552
+ const reason = ended.error instanceof Error ? ended.error.message : String(ended.error);
553
+ throw new Error(`operation ended before ${path} existed: ${reason}`, {
554
+ cause: ended.error,
555
+ });
556
+ }
557
+ const result = ended.value;
558
+ const detail = result && "exitCode" in result
559
+ ? `exit ${result.exitCode}${result.timedOut ? " (timed out)" : ""}: ${result.stderr ?? ""}`
560
+ : "it returned";
561
+ throw new Error(`operation ended before ${path} existed: ${detail}`);
562
+ }
563
+ await new Promise((resolve) => setImmediate(resolve));
564
+ }
565
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capybara-hq/testing",
3
- "version": "0.1.0-rc.21",
3
+ "version": "0.1.0-rc.22",
4
4
  "description": "Test helpers for Capybara: test containers, dual-replica harness and fake third-party servers",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -52,12 +52,12 @@
52
52
  "devDependencies": {
53
53
  "@types/pg": "^8.23.1",
54
54
  "@types/ws": "^8.18.2",
55
- "@capybara-hq/plugin-sdk": "^0.1.0-rc.27",
55
+ "@capybara-hq/plugin-sdk": "^0.1.0-rc.28",
56
56
  "@capybara-hq/plugin-client": "^0.1.0-rc.5"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "vitest": "^5.0.5",
60
- "@capybara-hq/plugin-sdk": "^0.1.0-rc.27",
60
+ "@capybara-hq/plugin-sdk": "^0.1.0-rc.28",
61
61
  "@capybara-hq/plugin-tools": "^0.1.0-rc.16"
62
62
  },
63
63
  "peerDependenciesMeta": {