Skip to content
Tech News
← Back to articles

Psalm 7 adds built-in security scanning and dead code detection for PHP

read original more articles
GoKawiil Brief

Vimeo and Daniil Gentili have released Psalm 7, a major update to the PHP static analysis tool. The release turns on security analysis by default alongside type checking, expands taint tracking to cover NoSQL, LLM prompt and URL injection, and introduces a purity model inspired by Hack's capabilities system as well as graph-based dead code detection and template defaults for generics.

Why It Matters

GoKawiil's interpretation of the reporting above, not reported fact.

Bundling security taint analysis into the same pass as type checking could make it easier for PHP teams to catch vulnerabilities like injection flaws without running separate tools, potentially lowering the barrier to adopting security scanning in everyday workflows. The addition of a purity model and smarter dead code detection suggests Psalm is pushing toward richer static guarantees similar to those found in more strictly typed languages.

Key Takeaways

Source: psalm.dev, 2026-11-07

Published there as: “Psalm 7 release: PHP security&static analysis software”

Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.
Keep reading
php security 7 briefs → static analysis 3 briefs →