Skip to content

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

Closed

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.

Activity

  1. added 2 commits that reference this issue on Mar 30, 2018
    0e9a721
    f574f81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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