Application and cloud hardening.
The application around the model: authentication, access control, output handling, credentials and what ships in the build.
Four areas. Ten checks.
Pages and data functions reachable without the check that the surrounding layout appears to enforce.
Server actions, API routes and data calls that can be invoked without going through the page.
Record identifiers that return another user’s or tenant’s data when changed.
Model output rendered as HTML or Markdown without escaping.
Model output passed to a shell, a SQL query or another interpreter.
Generated JSON, URLs and redirects accepted without schema or allowlist validation.
API keys, internal endpoints and source maps left in compiled front-end code.
Packaged applications inspected for embedded credentials, debug features and exposed logic.
Per-call, per-user and per-day limits on metered model usage, and caps on output length.
Agent and tool chains that can loop, and metered endpoints reachable without signing in.
Baseline controls, assessed on every engagement.
Controls
- Least-privilege access
- Authentication at the data layer
- Secrets management
- Dependency review
- Audit logging
Cloud configuration
- Who can deploy, and from where
- Where secrets are stored and which services can read them
- Which storage, databases and endpoints are public
- What is logged, and where logs are kept
- How environments are separated