Skip to content

CSP hardening #461

@attilaolah

Description

@attilaolah
  • img-src includes CDN (jsdelivr), which could be hashed easily

  • script-src includes unsafe-inline

  • style-src includes unsafe-inline

  • The style is probably only coming from /apks, which could be fixed easily by adding a hash to the CSS in the directory index page.

  • Scripts are loaded in several places:

    • Prometheus (setting global values).
    • Alertmanager (loading the app).
    • Homepage (JSON data).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions