nvim-lua/wishlist

Secure Modelines

Open

#27 opened on Jul 24, 2021

View on GitHub
 (1 comment) (0 reactions) (0 assignees) (0 forks)github user discovery
help wantedidea

Repository metrics

Stars
 (249 stars)
PR merge metrics
 (PR metrics pending)

Description

What? Once in a while, modelines appear in articles about security issues. Vim has a plugin called securemodelines to avoid these issues.

Why? The plugin should only use some options in modelines, those that do not bring any risk to our systems. It uses a variable called "secure_modelines_allowed_items".

Potential existing implementations: There is at least one vim version of secure modelines tlvince/securemodelines

Potential pitfalls: I never have developed any vim plugin, now with many Lua plugins coming out I intend to study the help the community

Contributor guide