test: rename boundary bypass suites
This commit is contained in:
parent
cbe59d156a
commit
9cbee5d1b7
@ -47,7 +47,7 @@ afterEach(async () => {
|
||||
await Promise.all(tempDirs.splice(0).map((dir) => fsp.rm(dir, { force: true, recursive: true })));
|
||||
});
|
||||
|
||||
describe("additional bypass parity", () => {
|
||||
describe("additional helper boundary bypass attempts", () => {
|
||||
it("rejects archive traversal payloads before resolving output paths", async () => {
|
||||
const layout = await makeTempLayout("fs-safe-archive-payloads");
|
||||
|
||||
@ -33,7 +33,7 @@ afterEach(async () => {
|
||||
await Promise.all(tempDirs.splice(0).map((dir) => fsp.rm(dir, { force: true, recursive: true })));
|
||||
});
|
||||
|
||||
describe("OpenClaw read bypass parity", () => {
|
||||
describe("read boundary bypass attempts", () => {
|
||||
it("rejects a payload corpus of traversal, encoded, NUL, Windows, and UNC read attempts", async () => {
|
||||
const layout = await makeTempLayout("fs-safe-read-payloads");
|
||||
await fsp.mkdir(path.join(layout.root, "nested"), { recursive: true });
|
||||
@ -28,7 +28,7 @@ afterEach(async () => {
|
||||
await Promise.all(tempDirs.splice(0).map((dir) => fsp.rm(dir, { force: true, recursive: true })));
|
||||
});
|
||||
|
||||
describe("OpenClaw write/move/delete bypass parity", () => {
|
||||
describe("write, move, and delete boundary bypass attempts", () => {
|
||||
it("rejects payload corpus write/create/append/openWritable attempts without touching outside files", async () => {
|
||||
const layout = await makeTempLayout("fs-safe-write-payloads");
|
||||
await fsp.mkdir(path.join(layout.root, "nested"), { recursive: true });
|
||||
Loading…
Reference in New Issue
Block a user