nvim-lua/wishlist

Secure Modelines

Open

#27 aperta il 24 lug 2021

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari) (0 fork)github user discovery
help wantedidea

Metriche repository

Star
 (249 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor