WebAssembly / WebAssembly/WASI
Should `readlink` fail if the target is absolute?
Open
Nobody has claimed this yet.
P-filesystem
S-inactive
- Dominant language
- Rust
- Stars
- 5.8k
- Forks
- 333
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 3
Description
Since WASI can't currently open symlinks with absolute paths, should readlink, fail when reading a symlink with an absolute path? That would avoid accidental leakage of host filesystem paths in some cases.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the WASI specification and the documented readlink behavior, focusing on absolute symlink targets and the stated inability to open them. Determine whether the proposal should change the specification; done requires a clear decision on rejection behavior and its impact on host-path leakage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wasm
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100