Skip to content

Conversation

@chessbyte
Copy link
Contributor

Issue # (if available)

Closes #686

Description of changes

Add LLRT_FS_ALLOW and LLRT_FS_DENY environment variables to control filesystem access, similar to existing network isolation (LLRT_NET_ALLOW/DENY).

  • LLRT_FS_ALLOW: whitespace-separated list of allowed paths/patterns
  • LLRT_FS_DENY: whitespace-separated list of denied paths/patterns

Supports exact paths (/tmp/file.txt), directory prefixes (/tmp/), and glob patterns (/tmp/*.txt).

Checklist

  • Created unit tests in tests/unit and/or in Rust for my feature if needed
  • Ran make fix to format JS and apply Clippy auto fixes
  • Made sure my code didn't add any additional warnings: make check
  • Added relevant type info in types/ directory
  • Updated documentation if needed (API.md/README.md/Other)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Add LLRT_FS_ALLOW and LLRT_FS_DENY environment variables to control
filesystem access, similar to existing network isolation (LLRT_NET_ALLOW/DENY).

- LLRT_FS_ALLOW: whitespace-separated list of allowed paths/patterns
- LLRT_FS_DENY: whitespace-separated list of denied paths/patterns

Supports exact paths (/tmp/file.txt), directory prefixes (/tmp/),
and glob patterns (/tmp/*.txt).

Closes awslabs#686
@chessbyte chessbyte force-pushed the feature/fs-isolation branch from 2109afe to 8fe76a6 Compare December 13, 2025 18:07
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.

Suggestion: FS, network, etc isolation

1 participant