Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Security: CSP allows 'unsafe-inline' for scripts and styles

Open
#97 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
html
Domain
devops, security

Research direction

Start by comparing the CSP definitions in netlify.toml and static/_headers, then locate how the inline Typekit loader is served. Determine how a nonce or hash can be applied without weakening the existing policy, and verify that the resulting headers no longer require 'unsafe-inline' for scripts or styles. Consider the optional HSTS preload separately.

Written by the indexing model from the issue text.

Description

priority: low

Problem

The CSP includes script-src 'self' 'unsafe-inline' use.typekit.net ... and style-src 'self' 'unsafe-inline' .... Not an SEO ranking factor, but 'unsafe-inline' weakens XSS protection. (The rest of the header set is excellent: HSTS, nosniff, X-Frame-Options DENY, Referrer-Policy, Permissions-Policy.)

Fix

Move to a nonce/hash-based CSP for the inline Typekit loader; optionally add preload to HSTS.

Files: netlify.toml / static/_headers
Found by /seo audit (technical), 2026-05-29.

Dominant language
HTML
Stars
1
Forks
0
Avg merge
23h 24m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PythonIreland/2026.pycon.ie

All issues in PythonIreland/2026.pycon.ie

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.