Skip to content

Wrapper around emulated/host file paths #114

Open
@kvalakuzhyzp

Description

@kvalakuzhyzp

Is your feature request related to a problem? Please describe.
Within Zelos, there are file paths that are within the emulated system, and paths in the host system. We want to ensure that a emulated path never gets accessed as a host path and vice versa.
Host path used as emulated path (Information leakage in host machine)
Emulated path used as host path (potential modification of files outside of the sandbox)

Describe the solution you'd like
We could use a wrapper around paths to keep track of whether the path is an emulated path or host path, and validate when they are used to ensure that we are using the appropriate path.

Describe alternatives you've considered
We currently do validation in methods that use these paths in kernel.py, we should probably do a bit more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions