Skip to content

security: bound and validate discovered project configuration - #419

Open
codeforester wants to merge 8 commits into
enhancement/386-20261003-perf-retention-serializes-concurrent-invocations-on-an-untimfrom
security/385-20261003-security-validate-trust-of-ancestor-discovered-project-confi
Open

codeforester wants to merge 8 commits into
enhancement/386-20261003-perf-retention-serializes-concurrent-invocations-on-an-untimfrom
security/385-20261003-security-validate-trust-of-ancestor-discovered-project-confi

Conversation

@codeforester

Copy link
Copy Markdown
Contributor

The convenience profile now bounds ancestor discovery, stops at project/filesystem boundaries, and validates discovered configuration permissions and path components before loading. Project environment files receive the same gate. An explicit opt-out supports knowingly shared workspaces; the Windows ACL limitation is documented.

YAML input is capped at 1 MiB and its composed graph is bounded before constructors expand merge aliases. Generic-profile behavior and merge precedence remain unchanged.

Validation: 614 tests and 254 subtests before the alias-construction guard; focused configuration regressions after it; strict typing and repository style. Tests cover unsafe files/directories, explicit opt-out, boundaries, environment files, large inputs, and merge alias expansion.

Train: follows the retention contention fix. Fixes #385.

…urrent-invocations-on-an-untim' into security/385-20261003-security-validate-trust-of-ancestor-discovered-project-confi
…urrent-invocations-on-an-untim' into security/385-20261003-security-validate-trust-of-ancestor-discovered-project-confi
…urrent-invocations-on-an-untim' into security/385-20261003-security-validate-trust-of-ancestor-discovered-project-confi
…urrent-invocations-on-an-untim' into security/385-20261003-security-validate-trust-of-ancestor-discovered-project-confi
…urrent-invocations-on-an-untim' into security/385-20261003-security-validate-trust-of-ancestor-discovered-project-confi

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant