Repository navigation
fix: safer saves, imports, settings writes and Windows agent starts - #37
Merged
Merged
Conversation
… case or cleaning
…heck arguments that still need it An npm .cmd shim is started as the program or node script it names. Another .cmd or .bat keeps the interpreter, with quotes passed as apostrophes and %, control characters and unquoted special characters refused. Shared finder 1.0.2, hash recorded.
Pass -protocol_whitelist file to every ffmpeg read of an import, refuse an import that starts as a text list of files, and store list endings as in.bin.
…ndoes another Choosing a library folder now records the choice after the copy against the settings as they are then. Each write uses its own part file.
When the program path is quoted, & | < > and ^ are refused in every argument. A name ending in dots or spaces counts as a .cmd or .bat, a shim whose node is itself a .cmd or .bat keeps the interpreter, and a refused version check reports the program as broken. Finder 1.0.2 hash updated.
….cmd A .cmd or .bat that is not an npm shim still runs through the command interpreter, now with /d. Any word, the program path included, with & | < > ^ ( ) ! % " or a control character is refused whether or not it has spaces, and the message points to standard input or a file for long text. Words are passed unchanged. Finder 1.0.2 hash updated.
…er and npm shims still start directly
The probe is held to an allowlist of containers with -format_whitelist, a list or manifest container is refused, and the conversion is pinned with -f to the container the probe found and given -protocol_whitelist file,pipe.
…e list containers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tests
For the owner
How to ship