@capybara-hq/plugin-sdk 0.1.0-rc.27 → 0.1.0-rc.28
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/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -37,6 +37,15 @@ import time
|
|
|
37
37
|
# - Metadata reads outside the roots are not mediated: stat/statx, access, readlink, getxattr,
|
|
38
38
|
# listxattr, statfs, inotify marks and other processes' /proc cmdline can reveal names, sizes,
|
|
39
39
|
# times, link targets and xattr values. File contents, writes and metadata changes are confined.
|
|
40
|
+
# - Known limitation: /proc stays a read root, so a restricted command can read the world-readable
|
|
41
|
+
# entries of other processes of the same uid, including /proc/<pid>/cmdline of a concurrent Full
|
|
42
|
+
# command (secrets inlined in a command line are visible). Ptrace-guarded entries (environ, mem,
|
|
43
|
+
# maps, fd) stay closed by Landlock's ptrace scoping. Landlock cannot narrow /proc to the
|
|
44
|
+
# command's own tree: /proc/self resolves to per-process directories that exist only after the
|
|
45
|
+
# rules are set, so dropping /proc (keeping cpuinfo, meminfo, stat and the like) also denies a
|
|
46
|
+
# process its own /proc/self, which ordinary tools need (Node's process.memoryUsage(), Python's
|
|
47
|
+
# /proc/self/fd and /proc/self/maps reads). hidepid needs a mount and PID namespaces need new
|
|
48
|
+
# privileges, both outside this launcher's design. Consumers keep secrets out of command lines.
|
|
40
49
|
# - Network none/allowlist: TCP sockets may bind and listen on loopback (127.0.0.1, ::1) only;
|
|
41
50
|
# connections go only to the endpoints the consumer granted. Environment lifts that filter.
|
|
42
51
|
# - UNIX sockets in every network kind: stream/seqpacket only (datagram and raw are refused);
|
|
@@ -22,7 +22,7 @@ export const SANDBOX_RUNTIME_SOURCE = Object.freeze({
|
|
|
22
22
|
Object.freeze({
|
|
23
23
|
name: "linux-sandbox.py",
|
|
24
24
|
source: LINUX_SANDBOX_SOURCE,
|
|
25
|
-
sha256: "
|
|
25
|
+
sha256: "f27ab699dbb5f7fc0ea9eb02cfa2257a405e5ccf3b8c3e011df29ab54bc3d599",
|
|
26
26
|
}),
|
|
27
27
|
]),
|
|
28
28
|
});
|