fix: prevent zip slip attacks in DXT unpack function #74
Annotations
10 warnings
|
test/cli.test.ts#L224
Replace ``node·${cliPath}·unpack·${execPackedFilePath}·${execUnpackedDir}`,` with `⏎··········`node·${cliPath}·unpack·${execPackedFilePath}·${execUnpackedDir}`,⏎·········`
|
|
test/cli.test.ts#L210
Replace `executableScript,·"#!/bin/bash\necho·'Hello·from·executable'"` with `⏎··········executableScript,⏎··········"#!/bin/bash\necho·'Hello·from·executable'",⏎········`
|
|
test/cli.test.ts#L207
Delete `········`
|
|
src/cli/unpack.ts#L71
Delete `············`
|
|
src/cli/unpack.ts#L65
Insert `);⏎`
|
|
src/cli/unpack.ts#L64
Replace `'utf8',·offset·+·46,·offset·+·46·+·filenameLength);` with `⏎··············"utf8",⏎··············offset·+·46,⏎··············offset·+·46·+·filenameLength,`
|
|
src/cli/unpack.ts#L59
Delete `········`
|
|
src/cli/unpack.ts#L57
Delete `········`
|
|
src/cli/unpack.ts#L44
Delete `······`
|
|
src/cli/unpack.ts#L2
Replace `·chmodSync,·existsSync,·mkdirSync,·readFileSync,·writeFileSync·` with `⏎··chmodSync,⏎··existsSync,⏎··mkdirSync,⏎··readFileSync,⏎··writeFileSync,⏎`
|
The logs for this run have expired and are no longer available.
Loading