-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
mediumCould be disruptive, but might not happenCould be disruptive, but might not happen
Description
Security Improvement Suggestion
Review the use of ambient authority for directory access in glob.rs; if tighter sandboxing is possible (e.g. restricting to the manifest's directory), it would improve security and least-privilege adherence.
Context
Currently, the glob functionality in src/manifest/glob.rs may have broader directory access than necessary. Implementing tighter restrictions to limit access to only the manifest's directory would:
- Improve security posture by reducing attack surface
- Follow the principle of least privilege
- Provide better sandboxing for glob operations
Acceptance Criteria
- Review current directory access patterns in
glob.rs - Identify opportunities to restrict access to manifest directory only
- Implement sandboxing mechanisms if feasible
- Ensure no regression in legitimate glob functionality
- Update tests to verify security boundaries
References
- PR: Refactor manifest module into dedicated submodules #168
- Comment: Refactor manifest module into dedicated submodules #168 (comment)
Requested by: @leynos
Metadata
Metadata
Assignees
Labels
mediumCould be disruptive, but might not happenCould be disruptive, but might not happen