Skip to content

Finding

The content policy allows inline scripts

The script-src rule includes unsafe-inline, which removes most of the protection the policy would otherwise give.

Last updated September 20, 2026

This week · Needs a developer

Why AI-built apps get this

Response headers are written by nobody. Your framework does not add them, your builder does not add them, and your host adds one or two at most. They are the clearest example of a gap that no tool closes on your behalf, which is why almost every app built by a prompt ships without them.

What it affects

The script-src rule includes unsafe-inline, which removes most of the protection the policy would otherwise give.

What the evidence line looks like

GET https://example.com returned no strict-transport-security header

Every finding on a result carries a line like this one: the request that was made and the answer that came back. You can run the same request yourself and get the same answer, which is the point.

The fix

Remove unsafe-inline from script-src and move inline scripts into files, or use a nonce or hash. Observed: {value}.

Prompt for your coding agent

Your policy allows unsafe-inline for scripts ({value}). Use a nonce or hash for inline scripts instead, and move the rest into files, so the policy actually restricts what can run.

A result gives you this prompt written for your builder, in its own dialect, and a batch prompt that carries every fix at once.

Incidents that involved this

  • Not verified

    First-quarter 2026 assessment of 200 apps

    183 of 200 vibe-coded apps, 91.5 percent, contained at least one vulnerability traceable to AI hallucination or missing security context.

  • Declared

    CVE growth in AI-generated code

    CVE entries attributed to AI-generated code rose from 6 in January 2026 to more than 35 in March 2026.

  • Observed

    5,600 vibe-coded apps scanned

    More than 2,000 vulnerabilities and more than 400 exposed secrets found across vibe-coded apps.

  • Not verified

    Tenzai study of AI-built apps

    69 vulnerabilities across 15 apps built by five AI coding tools.

Related terms

Run the free Launch Risk Check on your app

ShipReady is not a penetration test or a security certification. No automated check can prove an application is secure.

Last updated September 20, 2026