You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[REFACTOR] Replace source with value parsing for .vig-os config loading #285
area:workspaceWorkspace tooling, justfile, templateseffort:smallLess than 1 hourrefactorModifications that do not bring any significant change (e.g. style, reorganization)
initialize.sh and version-check.sh both load .vig-os using source "$config_file", which executes the file as shell code. Since .vig-os is a simple key-value config (DEVCONTAINER_VERSION=X.Y.Z), it should be parsed as data rather than executed.
This reduces the attack surface if .vig-os is ever modified by an untrusted source (e.g. a compromised installer or user-edited workspace).
area:workspaceWorkspace tooling, justfile, templateseffort:smallLess than 1 hourrefactorModifications that do not bring any significant change (e.g. style, reorganization)
Activity
test: add regression coverage for safe vig-os parsing
refactor: parse vig-os as data in init and version check
test(setup): restore .vig-os after mutation regression tests
test: make IN_CONTAINER=true hook tests deterministic
fix: guard unset line in initialize vig-os parser loop
refactor: parse .vig-os config as data (#287)