nccgroup/sobelow

sobelow should not accept `# sobelow_skip` that are not needed

Open

#159 ouverte le 3 avr. 2024

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)Elixir (119 forks)batch import
backlogfeaturegood first issue

Métriques du dépôt

Stars
 (1 780 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

I notice in our code an instance of

  # sobelow_skip ["XSS.Raw"]
  def a_function(arg) do
    that_does_not_call_raw()
  end

I believe sobelow should raise an error on these. They do not reflect the code / current intention. Although unlikely, they could allow someone to add raw without it being super apparent in the diff of the resulting PR.

Thanks for sobelow

Guide contributeur