Last updated 29 October 2026
Security questionnaire
The questions a vendor security review asks — SIG Lite, CAIQ and the usual home-made spreadsheet cover the same ground — answered for Grounded as it runs today. Where we do not do something, the answer says so. Each answer names where it can be checked; anything else, write to support@mdhk.ltd.
Company and scope
Who provides the service?
Massive Dynamic Limited, Hong Kong company registration no. 78076051. Details on the legal notice.
Checked against: src/modules/legal/domain/company.ts.
What does the service do with our data?
It stores the documents you upload or let it read, builds a search index from them, and answers questions from your website's visitors and your team with passages from those documents, citing them.
Checked against: the DPA, section 1.
Do you hold ISO 27001, SOC 2 or a similar certification?
No. Neither is planned before the company has the staff to run the controls they certify. This document and the Data & security page are what we offer instead.
Has the service had a penetration test?
Not by an outside firm. Two internal reviews of the whole codebase were run (4 and 7 October 2026), read-only and AI-assisted; every finding they rated high was fixed and re-checked.
Checked against: tasks/10-scale/46-security-hardening.md, tasks/10-scale/55-final-security-audit.md, decision 48 in docs/decisions.md.
How many people can access customer data?
One: the owner, who runs the service. There are no other staff with production access.
Checked against: decision 44 in docs/decisions.md (one operator).
Policies and governance
Do you have a written information security policy?
Not as a separate document. The rules the code is held to — row-level security on every table, the closed list of privileged server paths, validation at every trust boundary, no secrets in client code — are written in the repository and enforced by tests; this questionnaire and the DPA are the customer-facing statement of them.
Checked against: AGENTS.md, "Security rules".
Is there a Data Processing Agreement?
Yes, under GDPR art. 28, part of the Terms of Service, so it applies from sign-up. A countersigned copy is sent on request.
Checked against: DPA.
Do you have a representative in the EU (GDPR art. 27)?
Not appointed yet.
Checked against: COMPANY.euRepresentative in src/modules/legal/domain/company.ts.
How are customers told about changes to sub-processors?
By email at least 14 days before a new one starts processing, with the right to object. Anyone can ask to be told as well; the sub-processor page shows the date the list last changed.
Checked against: DPA, section 5.
Do you carry cyber insurance?
No.
Access control
How do customers sign in?
With an email address confirmed by a six-digit code, then a password (at least 8 characters in the sign-up form) or a passkey (WebAuthn).
Checked against: src/modules/auth/application/schemas.ts, src/modules/auth/ui/passkey-sign-in.tsx.
Is multi-factor authentication available?
A passkey is the phishing-resistant option. There is no one-time-code second factor on top of a password.
Is single sign-on (SAML, OIDC) supported?
No.
What roles exist inside a customer account?
One: the owner of the organization. There are no team members or invitations yet.
Checked against: supabase/migrations/0002_enums.sql (member_role).
How is one customer's data kept from another's?
Every table in the database has row-level security switched on and denies by default; a database test lists any table without it. The dashboard reads with the signed-in user's own token, so the database, not the application, decides what it may see. Cross-tenant reads are tested table by table.
Checked against: src/shared/db/rls-everywhere.db.test.ts, src/shared/db/rls.db.test.ts.
Which parts of the application bypass row-level security?
A closed list of nine server paths, each of which checks the organization by hand: the widget API, the Stripe webhook, document ingestion, the MCP endpoint, billing plan writes, the sign-up limit, the email notifier, the operator's admin area and the scheduled source sync. Adding a tenth needs a recorded decision.
Checked against: AGENTS.md, "Security rules"; docs/architecture.md.
How does your own staff sign in to the admin area?
A password and a passkey, both required in production. Sessions end after 8 hours, or 30 minutes idle; the cookie is HttpOnly, Secure and SameSite=Strict. Sign-in is throttled after 5 failures per address in 15 minutes.
Checked against: supabase/migrations/0036_admin.sql, decision 44 in docs/decisions.md.
How is access to the servers controlled?
The database server accepts SSH with keys only, on a non-standard port; the Postgres port is not exposed to the internet. Vercel, Stripe and the hoster are accessed through the owner's own accounts.
Checked against: the DPA, section 4.
Is support access to customer content logged?
Yes. When the operator opens a customer's content for support, the opening and every view are written to the audit log.
Checked against: src/modules/admin/domain/audit-actions.ts (support.open, support.view).
Data handling and privacy
Where is our data stored?
In Frankfurt, Germany: the database and files on a virtual server rented from Hostinger, the application on Vercel's Frankfurt region.
Checked against: SUBPROCESSORS in src/modules/legal/domain/company.ts.
Does any data leave the EU?
Yes, for processing: a question and the passages found for it go to model providers through OpenRouter (United States), and billing and email go to Stripe and Resend. Each transfer is covered by the EU–US Data Privacy Framework or the Standard Contractual Clauses.
Checked against: DPA, section 6.
Is our data used to train models?
No — not by us, and not by any model provider: every request requires zero data retention, which also forbids training.
Checked against: src/shared/ai/openrouter.ts (ZERO_RETENTION).
What personal data of our website's visitors do you process?
What they type into the widget, the address of the page it runs on, ratings and handoff clicks. The IP address is never stored as it is; a hash of it is kept for minutes for the rate limit. The widget sets no cookies and uses no browser storage.
Checked against: Privacy Policy, sections 2 and 8; src/modules/chat/application/authorize-widget.ts.
How long is data kept?
Documents, bots and conversations until you delete them or your account. A closed account within 30 days, and from backups as they rotate. Billing records as the law requires.
Checked against: Privacy Policy, section 8.
Can we delete our data ourselves?
Documents, bots and their conversations: yes, at any time in the dashboard. The whole account: on request, by email — there is no self-service button yet. The deletion cancels the subscription, removes every stored file and logo, deletes every row and the sign-ins left with nothing.
Checked against: src/modules/admin/application/delete-org.ts.
Can we export our data?
The Content Gaps report exports as CSV in the dashboard. A full export is on request.
Do you use cookies or trackers?
No analytics, advertising or session-recording script anywhere. Cookies: the sign-in session, the chosen language, and the operator's admin session.
Checked against: package.json (no analytics dependency); Privacy Policy.
Can we use the service with special categories of data (health, etc.)?
No; the Terms ask customers not to upload them.
Checked against: Terms, section 4.
Is production data used in testing?
Preview deployments of the next release run against the production database, behind Vercel's authentication; local development and automated tests use a local database with generated data.
Encryption
Is data encrypted in transit?
Yes. TLS on every connection — browser to Vercel, Vercel to the database, and to every provider — and HSTS on the site.
Is data encrypted at rest?
Not by us. Passwords, API keys and webhook secrets are stored only as hashes, and the one credential we must read back — a WordPress source's — is encrypted with AES-256-GCM. The database disk has no encryption of our own.
Checked against: src/modules/mcp/domain/api-key.ts, src/modules/documents/domain/hook.ts, src/shared/crypto/seal.ts.
How are API keys stored?
As a SHA-256 hash. The key is shown once, when it is created, and the hash column cannot be read back through the API.
Checked against: src/modules/mcp/domain/api-key.ts; src/shared/db/rls.db.test.ts.
Where are your own secrets kept?
In Vercel's encrypted environment variables, read only on the server: Next.js builds into browser code only the variables named as public, and none of those is a secret.
Checked against: src/shared/config/env.server.ts.
Application security
How do you prevent common web vulnerabilities?
Every input from a form, an API body or the environment is validated with a schema before use. Pages carry a nonce-based Content Security Policy; nothing but the widget may be framed, and the widget only by the sites a customer allows. Database access goes through parameterised queries.
Checked against: src/shared/actions/action.ts, proxy.ts, next.config.ts.
How is the embeddable widget protected?
In order: the bot's public key, the page's origin against the customer's list of allowed websites, a rate limit per visitor, the plan's quota, whether the bot is on. A conversation can be continued only with a token the server signed for it.
Checked against: src/modules/chat/application/authorize-widget.ts, src/modules/chat/application/conversation-token.ts.
Can the service be used to reach internal networks (SSRF)?
No. Every address a customer gives us is fetched through one function that refuses private, loopback and link-local ranges, checks the address again at connect time, follows at most three redirects and stops at 5 MB.
Checked against: src/modules/documents/infrastructure/safe-fetch.ts.
How are uploaded files handled?
PDF, Word, Markdown, plain text and HTML only, at most 10 MB, stored in a private bucket; they are parsed for text and never executed.
Checked against: supabase/migrations/0005_storage.sql, src/shared/config/server-env-schema.ts (MAX_UPLOAD_MB).
How are changes tested before release?
Every push runs type checking, linting and the unit tests in CI. Database tests, which cover the access rules, run before a change is marked done but not yet in CI.
Checked against: .github/workflows/ci.yml.
Do you scan dependencies for vulnerabilities?
Not automatically yet.
Is there code review?
The service is built by one person with AI assistance; there is no second human reviewer. The two internal audits above are the review.
How are database changes made?
Only by migration files in the repository, applied by the deployment; nobody changes the production schema by hand.
Checked against: decision 49 in docs/decisions.md.
Infrastructure
Where does the service run?
The application on Vercel, region fra1 (Frankfurt). Postgres, file storage and sign-in (self-hosted Supabase) on a virtual server rented from Hostinger in Frankfurt.
Who manages the servers?
We do, on a virtual server: the hoster provides the machine and its network; the operating system, the containers and Supabase are ours.
Is the network segmented?
Postgres listens only on the containers' private network; the internet reaches the Supabase API through its gateway, which enforces row-level security on every request.
How is the platform protected against abuse?
Rate limits per widget visitor and per MCP key, a monthly quota per plan, a daily cap on free usage across the platform, and a limit on sign-ups — all enforced in the database, not only in the application.
Checked against: decision 41 in docs/decisions.md.
Is the platform multi-tenant?
Yes: one database, isolated per organization by row-level security (above).
Logging and monitoring
What do you log?
Server errors and the outcome of background jobs, in Vercel's function logs. The mailer logs what kind of message it sent and the result, never the address or the text.
Is there an audit log?
Yes, of every action in the admin area, sign-ins included, with the reason given and the state before and after. Nobody — not even the server's own privileged role — can change or delete a row in it.
Checked against: supabase/migrations/0040_audit_limits.sql.
Can we see our own activity?
Conversations, ratings, unanswered questions and pebble usage are in the dashboard. There is no per-user activity log, since an organization has one user.
Do you have uptime monitoring and a status page?
Not yet.
Backups and continuity
Do you back up our data?
Yes: the hoster takes snapshots of the whole server.
What are your recovery point and recovery time objectives?
Not yet defined.
Is there redundancy?
The application runs on Vercel's managed platform. The database is a single server; a failure there means restoring from a snapshot.
Incidents
Will you notify us of a breach?
Yes, without undue delay after we become aware of a personal data breach affecting your data, and we keep you informed as we learn more.
Checked against: DPA, section 8.
How can a vulnerability be reported?
To support@mdhk.ltd, in English or Russian. The same is in security.txt and on the Data & security page.
Do you have a written incident response plan?
Not as a separate document.
Sub-processors
Which sub-processors do you use?
The list, with what each receives and where, is on the sub-processor page.
How do you choose and bind them?
Each is bound by data protection terms no less protective than our DPA; model providers are used only through endpoints that retain nothing.
Checked against: DPA, section 5.
Do any sub-processors see card details?
Only Stripe. Checkout and the billing portal are Stripe's own pages; no card number reaches our servers.
Is email sent through a third party?
Yes, Resend: confirmation and reset codes, usage warnings, and — if a customer sets an address — notices of questions the bot could not answer.
AI
Which models process our data?
The one the customer picks for each bot, from a list limited to models with a zero-retention endpoint, plus an embedding model for the search index and, on Business, a reranker.
Checked against: src/modules/bots/infrastructure/model-catalog.ts.
Do model providers retain prompts or outputs?
No. Every request requires zero data retention and denies data collection; a provider that cannot meet that is not used.
Checked against: src/shared/ai/openrouter.ts, src/shared/ai/openrouter.test.ts.
Can we keep processing inside the EU?
Storage, yes. Model processing currently goes through OpenRouter in the United States; an EU-only mode is planned, not built.
Can the bot invent answers?
It answers only from passages found in your documents and cites them; when none answer the question, it says so and the question goes to the Content Gaps report. It can still be wrong, which is why every answer shows its sources.
Can one customer's bot answer from another customer's documents?
No. Every search is filtered to the one bot asked. In the dashboard it also runs inside row-level security — the search function runs with the caller's rights, not elevated ones — and the widget path, one of the nine above, checks the bot by its key before it searches.
Checked against: supabase/migrations/0008_match_chunks.sql (SECURITY INVOKER), src/modules/chat/application/authorize-widget.ts.
What can a prompt injection in a document or a question do?
Change the text of an answer. The model is given no tools: it cannot read other data, call anything or change a setting.
Checked against: src/modules/chat/application/generate-answer.ts.
Is there human oversight?
Customers see every conversation and rating, review unanswered questions, and decide what to add to their documents; nothing in the bot's instructions or documents is changed automatically.
Checked against: decision 30 in docs/decisions.md.
Is the widget labelled as AI?
The widget names the bot and shows its sources; a fixed "AI" label is planned with the EU AI Act work, not built.