Hacker News | 📄 原文链接 | 2026-11-10 收录

Psalm 7 发布:PHP 安全分析默认开启

来源:psalm.dev — 2026-11-02

📋 概述

Psalm 7 把安全分析改成默认打开,与类型检查、死代码检测在同一次运行里完成,并为性能做了重写——官方称覆盖更广、速度快 10 倍以上。污点追踪扩展到 NoSQL、LLM 提示词与 URL 注入,并新增 php://input、上传文件名等污染源。

🔑 核心要点

💡 金句

security analysis on by default: fully refactored for 10x+ performance and much greater coverage, in the same run as type checking and dead code detection
← 返回 Hacker News 首页