Web Security
Headers, CORS, injection and the rest of the browser-facing attack surface of a modern web app.
32primary guides
Search all guides in this category.
Search results
No guides match your search. Try a broader topic or clear the search to browse.
How to check your PHP version for PHP2Shell
Check CLI, FPM, Apache, containers and vendor backports for PHP2Shell. Separate declared PHP requirements from evidence of the runtime serving requests.
Oct 24, 2026CVE-2026-115560: session upload progress review
Review PHP's October 23 serializer-switch advisory, disable session upload progress before request parsing where needed and verify worker configuration.
Oct 24, 2026Patch PHP2Shell in Docker, PHP-FPM and Apache
Update the PHP artifact, restart the correct workers and verify each replica. A practical PHP2Shell rollout guide for Docker, FPM and Apache operators.
Oct 24, 2026PHP2Shell explained: affected versions and fixes
Understand the two PHP2Shell CVEs, fixed PHP branches, temporary mitigations and the evidence needed to confirm your web workers were updated.
Oct 24, 2026Patched PHP2Shell? Check for earlier compromise
Investigate PHP2Shell exposure before disclosure, preserve useful evidence and interpret logs and shared indicators without assuming compromise or safety.
Oct 24, 2026PHP2Shell still flagged? Verify vendor backports
Resolve PHP2Shell alerts after patching by matching vendor backports, exact package revisions and running workers instead of trusting a version banner alone.
Oct 24, 2026PHP2Shell and WordPress: what to ask your host
Check who owns your WordPress PHP runtime, request useful patch evidence from your host and test the site without confusing plugin updates with PHP fixes.
Oct 24, 2026Insecure File Upload in AI-Built Apps
Why AI generated file upload code fails open, what attackers abuse and how to verify type size and storage safely in production.
Sep 25, 2026Race Conditions in AI-Built Apps and Fixes
Learn how AI generated handlers create race conditions, why check then act fails and how to fix with atomic updates and constraints.
Sep 21, 2026Privacy checklist for AI-built apps
Map personal data, purposes, retention, processors, user rights, deletion and incident handling before an AI-built app reaches real users.
Jul 17, 2026Secure Cloudflare Workers Built With AI
Treat Worker bindings as capabilities, keep secrets encrypted, constrain outbound fetch and caching and verify routes with production-shaped Wrangler config.
Jul 17, 2026Command Injection in Agentic App Workflows
Remove unsafe shell boundaries from agent tools, constrain process arguments and isolate the external commands that remain necessary.
Jul 17, 2026CORS for Vibe-Coded Apps
Replace wildcard or reflected origins with a minimal browser-sharing policy, correct credential handling and cache-safe headers.
Jul 17, 2026CSRF Protection for Cookie-Based AI Apps
Protect cookie-authenticated state changes with framework controls or verified tokens, plus SameSite and Fetch Metadata layers.
Jul 17, 2026Remove Debug Routes and Verbose Errors
Stop production errors from exposing stack traces, paths, queries and framework internals while preserving useful, access-controlled diagnostics.
Jul 17, 2026Secure FastAPI Code Generated by AI
Separate Pydantic request validation from object authorization, then configure CORS, hosts, proxy trust, TLS, errors and API documentation.
Jul 17, 2026Input Validation for AI-Generated APIs
Define strict server-side request schemas, reject unknown and oversized data and enforce business invariants before processing.
Jul 17, 2026Prevent Mass Assignment in CRUD APIs
Stop request bodies from changing roles, owners, prices and workflow state with operation-specific schemas and explicit data writes.
Jul 17, 2026Secure a Next.js App Generated by AI
Treat every callable Next.js server entry as an API, centralize authorization in a server-only data layer and minimize data sent to the browser.
Jul 17, 2026Secure Node and Express APIs Generated by AI
Build an ordered Express request contract, authorize resources at every route and verify proxy, session, limit, error and dependency settings.
Jul 17, 2026Prevent Path Traversal in Generated File Code
Keep file reads, exports and archive extraction inside a trusted directory with canonical containment checks and safer identifiers.
Jul 17, 2026Rate Limiting for AI Apps
Design endpoint-specific rate, concurrency, payload, queue and cost limits for AI APIs without trusting a single weak identifier.
Jul 17, 2026Secure React frontends: do not trust the browser
Use React's rendering protections correctly while keeping authorization, secrets, sensitive data and side effects behind verified server boundaries.
Jul 17, 2026Secure a Replit App Before Launch
Separate Replit Preview from production, choose the right deployment, protect secrets and APIs and inspect live response headers.
Jul 17, 2026Secure File Uploads in AI-Built Apps
Build a staged upload pipeline with early size limits, server-generated names, content checks, quarantine and private delivery.
Jul 17, 2026Security Headers Every AI-Built App Needs
Build browser security headers from application behavior, stage CSP safely and verify policies by route instead of chasing a score.
Jul 17, 2026SQL Injection in AI-Generated Code
Replace interpolated SQL values with bound parameters, map dynamic identifiers from allowlists and test query builders safely.
Jul 17, 2026SSRF Protection That Resolves DNS
Bind URL validation to DNS resolution and the connection, recheck redirects, block private destinations and restrict egress.
Jul 17, 2026TLS and Mobile Transport Security
Remove cleartext exceptions from mobile releases, test the real networking stack and verify certificates, redirects and backend TLS.
Jul 17, 2026Secure a v0-Generated App
Trace a v0 app from generated code through Next.js server boundaries, Vercel previews, environment variables and the deployed site.
Jul 17, 2026Vercel security: previews and env variables
Secure Vercel previews, keep private environment variables out of browser bundles and test deployment protection without weakening app authorization.
Jul 17, 2026XSS in AI apps that render model output
Trace untrusted Markdown and model output through parsing, sanitization, DOM insertion, CSP and safe local verification.
Jul 17, 2026
Guides in this category
Grouped by primary topic. Related topics remain linked within each article.
How to check your PHP version for PHP2Shell
Check CLI, FPM, Apache, containers and vendor backports for PHP2Shell. Separate declared PHP requirements from evidence of the runtime serving requests.
Read articleCVE-2026-115560: session upload progress review
Review PHP's October 23 serializer-switch advisory, disable session upload progress before request parsing where needed and verify worker configuration.
Read articlePatch PHP2Shell in Docker, PHP-FPM and Apache
Update the PHP artifact, restart the correct workers and verify each replica. A practical PHP2Shell rollout guide for Docker, FPM and Apache operators.
Read articlePHP2Shell explained: affected versions and fixes
Understand the two PHP2Shell CVEs, fixed PHP branches, temporary mitigations and the evidence needed to confirm your web workers were updated.
Read articlePatched PHP2Shell? Check for earlier compromise
Investigate PHP2Shell exposure before disclosure, preserve useful evidence and interpret logs and shared indicators without assuming compromise or safety.
Read articlePHP2Shell still flagged? Verify vendor backports
Resolve PHP2Shell alerts after patching by matching vendor backports, exact package revisions and running workers instead of trusting a version banner alone.
Read articlePHP2Shell and WordPress: what to ask your host
Check who owns your WordPress PHP runtime, request useful patch evidence from your host and test the site without confusing plugin updates with PHP fixes.
Read articleInsecure File Upload in AI-Built Apps
Why AI generated file upload code fails open, what attackers abuse and how to verify type size and storage safely in production.
Read articleRace Conditions in AI-Built Apps and Fixes
Learn how AI generated handlers create race conditions, why check then act fails and how to fix with atomic updates and constraints.
Read articlePrivacy checklist for AI-built apps
Map personal data, purposes, retention, processors, user rights, deletion and incident handling before an AI-built app reaches real users.
Read articleSecure Cloudflare Workers Built With AI
Treat Worker bindings as capabilities, keep secrets encrypted, constrain outbound fetch and caching and verify routes with production-shaped Wrangler config.
Read articleCommand Injection in Agentic App Workflows
Remove unsafe shell boundaries from agent tools, constrain process arguments and isolate the external commands that remain necessary.
Read articleCORS for Vibe-Coded Apps
Replace wildcard or reflected origins with a minimal browser-sharing policy, correct credential handling and cache-safe headers.
Read articleCSRF Protection for Cookie-Based AI Apps
Protect cookie-authenticated state changes with framework controls or verified tokens, plus SameSite and Fetch Metadata layers.
Read articleRemove Debug Routes and Verbose Errors
Stop production errors from exposing stack traces, paths, queries and framework internals while preserving useful, access-controlled diagnostics.
Read articleSecure FastAPI Code Generated by AI
Separate Pydantic request validation from object authorization, then configure CORS, hosts, proxy trust, TLS, errors and API documentation.
Read articleInput Validation for AI-Generated APIs
Define strict server-side request schemas, reject unknown and oversized data and enforce business invariants before processing.
Read articlePrevent Mass Assignment in CRUD APIs
Stop request bodies from changing roles, owners, prices and workflow state with operation-specific schemas and explicit data writes.
Read articleSecure a Next.js App Generated by AI
Treat every callable Next.js server entry as an API, centralize authorization in a server-only data layer and minimize data sent to the browser.
Read articleSecure Node and Express APIs Generated by AI
Build an ordered Express request contract, authorize resources at every route and verify proxy, session, limit, error and dependency settings.
Read article