Skip to content

Don't execute commands which can modify files in root privilege #205

@tyru

Description

@tyru

Problem

Some commands like volt get, volt rm, ... could modify files under $HOME/volt and $HOME/.vim with root privilege.
It can cause a problem when volt accesses to the files (e.g. permission denied).

Solution

Volt must not creates files with root permission under /home/{user}/volt, /home/{user}/.vim.

Link

Plugins for Popular Text Editors Could Help Hackers Gain Elevated Privileges

This post describes the problem of editors which have plugin system, and plugins are executed in same permission with that editor.
It is 'security' issue at 'runtime. it is different topic and not related to the problem of this issue directly.
But I found this problem when reading this post.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions