计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
csp-gen【效率与协作】Generate Content Security Policy headers for your site. Use when you need to add CSP headers without spending hours reading the spec.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Content Security Policy headers are one of the best defenses against XSS attacks. But writing them is confusing. This tool analyzes your site and generates the right CSP headers automatically. No more guessing which directives you need or accidentally blocking your own scripts.
One command. Zero config. Just works.
npx ai-csp https://mysite.com
# Generate CSP for a production site
npx ai-csp https://mysite.com
# Generate CSP for local development
npx ai-csp http://localhost:3000
# Analyze a specific page
npx ai-csp https://mysite.com/dashboard
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
No install needed. Just run with npx. Node.js 18+ recommended.
npx ai-csp --help
The tool analyzes your site's resources by checking which scripts, styles, images, and APIs are loaded. It maps these to the appropriate CSP directives and generates a complete policy string. AI is used to recommend the right balance between security and functionality.
MIT. Free forever. Use it however you want.