Skip to content

Open-source document signature platform. Not affiliated with DocuSign.

TypeScript
26.1 KB
Raw Blame

Control map

The SOC 2 Trust Services Criteria (2017, revised points of focus 2022), and for each one what a SignuDoc install gives you, what your vendors give you, and what is left for your organization. "Yours" items are where an auditor will ask for your own evidence.

Most SignuDoc installs put Security (the common criteria, CC) in scope, and often Availability and Confidentiality. Processing Integrity and Privacy are covered at the end.

Where a row says "evidence", it names what you can show an auditor.

CC1 Control environment

Criterion SignuDoc Vendors Yours
CC1.1 to CC1.5 Integrity, oversight, structure, competence, accountability Nothing in the software. Roles in the app (administrator, member) are listed under People. Their own, in their reports. Your org chart, code of conduct, background checks, security training, and named owners for the install (a system owner and at least two administrators).

CC2 Communication and information

Criterion SignuDoc Vendors Yours
CC2.1 Quality information Two hash-chained audit trails: one per document, and one for the install (sign-ins, settings, roles, account changes). Both download as CSV, and copy to your SIEM as JSON. Decide who reviews them and how often (monitoring policy).
CC2.2 Internal communication The support address set at setup is shown to every user and signer. Tell staff how to report a security concern. Keep this pack and your policies where staff can read them.
CC2.3 External communication Terms and privacy links (Settings, Organization), shown on sign-in, sign-up and signing pages. Signers see who sent a document and the support address. Your published terms, privacy notice and security contact. Notify customers of incidents per your contracts.

CC3 Risk assessment

Criterion SignuDoc Vendors Yours
CC3.1 to CC3.4 Risk identification, fraud, change A worked risk assessment for the app is in docs/part11/risk-assessment.md, usable outside Part 11. Your own risk register, with the install in it, reviewed at least yearly and when you take a release with security changes (see the changelog).

CC4 Monitoring activities

Criterion SignuDoc Vendors Yours
CC4.1 Ongoing and separate evaluations Chain checks on both audit trails (Settings, Organization, Sign-in security; each document's audit page). Vercel, Neon and Resend reports cover their own monitoring. A periodic access review and audit-trail review. A yearly penetration test of your install, if your customers ask for one.
CC4.2 Communicating deficiencies Security fixes are listed in the changelog and release notes. Vulnerabilities are reported privately (SECURITY.md). Watch the SignuDoc repository's releases (GitHub, Watch, Custom, Releases). Track findings to closure.

CC5 Control activities

Criterion SignuDoc Vendors Yours
CC5.1 to CC5.3 Selection, technology, policies The settings in the setup checklist. Adopt the sample policies and show they are followed.

CC6 Logical and physical access

Criterion SignuDoc Vendors Yours
CC6.1 Access security software and architecture Single sign-on over OIDC with password sign-in off, or passwords of 15+ characters checked against breach lists, with two-step sign-in (authenticator app) that an administrator can require. Two roles: administrator and member. Members see only their own documents. Signers reach one document through a single-use link and an optional emailed or access code. Private Blob store: every file is read through the app. Vercel: TLS, isolation of functions, private Blob storage. Neon: encryption at rest, TLS-only connections. Who is on the Vercel team, the Neon project, the Resend account and the GitHub repository, each with MFA. Evidence: member lists.
CC6.2 Registering and authorizing users Sign-up limited to listed domains, or closed. With SSO, new people get an account at first sign-in under the same rule. Administrators make or remove other administrators under People; each change is in the site audit trail (role_changed). Your joiner process. With SSO, assignment to the app in your identity provider is the approval. Evidence: provider assignment log, or a ticket per new administrator.
CC6.3 Removing access With SSO, someone removed in your identity provider cannot sign in again; their open session ends at the session limit you set. Administrators can sign someone out everywhere by resetting their two-step sign-in. API keys an administrator made keep working after they are removed in the identity provider; taking away their administrator role under People revokes them. Account closures and deletions are in the site audit trail. Your leaver process, including the vendor consoles and the leaver's API keys. Evidence: identity provider deprovisioning log, access review.
CC6.4 Physical access Not applicable (no hardware). Carved out to Vercel's and Neon's cloud providers. Collect their reports.
CC6.5 Disposal Retention rules delete finished documents and their files after the period you set. Closed accounts are deleted after their export window. The daily backup drops copies of deleted files after BACKUP_KEEP_DAYS. Vercel and Neon media disposal, in their reports. Your retention schedule (data retention policy).
CC6.6 Threats from outside HTTPS only (HSTS), a strict Content Security Policy, no framing, rate limits on sign-in, sign-up, signing and uploads, a lockout after ten wrong passwords, optional Vercel BotID, and signing links that are random and single-purpose. Vercel's edge network and firewall (DDoS mitigation). Vercel Firewall rules if you need more (IP allow lists are a paid Vercel feature).
CC6.7 Data in transit Every page and API is HTTPS. Database connections need TLS. Vercel TLS termination. Neon TLS. Resend TLS to receiving servers where they support it. Your own sending domain with SPF and DKIM (Settings, Organization, Email).
CC6.8 Malicious software Uploads must be unencrypted PDFs of 20 MB or less, and are checked as such. The app runs no uploaded code. Dependencies are checked by CodeQL, dependency review and npm audit in the SignuDoc repository. Vercel's build isolation. Endpoint protection on the computers your staff use.

CC7 System operations

Criterion SignuDoc Vendors Yours
CC7.1 Detecting vulnerabilities and changes Each release lists its security fixes. Releases carry an SBOM and signed provenance (SECURITY.md). Vercel and Neon patch their platforms. Take SignuDoc releases (the update workflow opens a pull request each week). Check the SBOM against your vulnerability feed if you have one.
CC7.2 Monitoring for anomalies Every audit row and security event goes to the function logs as a JSON line; a log drain sends them to your SIEM. Sign-in failures carry the reason and IP address. Lockouts are their own event. Vercel log drains (paid plans). Alerts in your SIEM (monitoring policy). Evidence: alert rules, and tickets from alerts.
CC7.3 to CC7.5 Evaluating, responding to and recovering from incidents Sign out everywhere; reset someone's two-step sign-in; signing locks; void a document; chain checks show tampering; restore from backup. Vendors notify you of their incidents per their terms. An incident response plan and its tests (incident response policy).

CC8 Change management

Criterion SignuDoc Vendors Yours
CC8.1 Changes to the system Each SignuDoc release is tested in CI (typecheck, lint, unit tests, Postgres tests, an end-to-end browser test) and described in the changelog. The update workflow brings a release into your copy as a pull request, with a Vercel preview. Database changes run in the production build. Settings changes are in the site audit trail. Vercel keeps every deployment and can roll back to one. Branch protection on your copy's production branch, a reviewer for each update pull request, and a record of who approved it (change management policy). Evidence: merged pull requests.

CC9 Risk mitigation

Criterion SignuDoc Vendors Yours
CC9.1 Business disruption Daily backup to a second Blob store, and a scripted restore (backup and restore). Neon point-in-time restore on your plan. Recovery objectives, a tested restore, and continuity of the people who can run it (backup policy).
CC9.2 Vendors and partners Vendor duties lists each service and its report. Their SOC 2 reports and terms. A vendor review each year (vendor management policy).

A1 Availability

Criterion SignuDoc Vendors Yours
A1.1 Capacity Free-plan limits are documented in the README ("What it costs"); the app stops cleanly at a vendor's limit. Vercel and Neon scale with your plan. Watch usage against your plans' limits, and move up before you reach them.
A1.2 Environmental protections, backups Daily backup with retention, refused if pointed at the app's own store. Vercel and Neon redundancy, in their reports. Keep the backup store in another Vercel team. Keep billing current on every vendor.
A1.3 Recovery testing A restore script that refuses a database with data in it, and loads in one transaction. Test a restore at least yearly and keep the record.

C1 Confidentiality

Criterion SignuDoc Vendors Yours
C1.1 Identifying and protecting confidential information Documents are stored in a private store and only shown to their sender, their signers (through their own link) and, for finished records handed over, administrators. Download links expire. AUDIT_LOG=off stops the copies of audit entries in function logs; security events (rate limits, refused requests, lockouts) are still logged, with IP addresses. Encryption at rest (Vercel Blob, Neon). Classify the documents you send, and decide who may be an administrator.
C1.2 Disposal Retention rules (see CC6.5). Set them to your schedule.

PI1 Processing integrity

Criterion SignuDoc Yours
PI1.1 to PI1.5 Inputs, processing, outputs, storage Each finished document is sealed (PAdES), so any change after signing shows in a PDF reader. A certificate of completion lists who signed, when, from where, and how they were identified. Both audit trails are hash chains that show a changed, removed or reordered row. Review exceptions (broken chains, failed seals) as incidents.

P Privacy

SOC 2 privacy (P1 to P8) follows your privacy notice. SignuDoc helps with: a consent to sign electronically before signing, an account export window before deletion, retention rules, and deletion of closed accounts. Data subject requests (access, correction, deletion) are handled by an administrator with the database or the app; there is no self-service request form. See docs/self-hosting.md for running in the EU.

Known gaps

What an auditor may raise, and what to do:

Gap What to do
Someone with full database access can rewrite an audit chain consistently. Limit Neon console access, and keep audit trails outside the database: the SIEM copy, or monthly CSVs.
No SAML (OIDC only). Okta, Entra ID and Google all offer OIDC for the same application.
No SCIM provisioning. A person removed in your identity provider keeps their account row. They cannot sign in again with SSO and password sign-in off. Review accounts under People quarterly.
No IP allow list in the app. Vercel Firewall rules, on a Vercel plan that has them.
Signers outside your organization sign through an emailed link. Turn on the signer check (emailed code or access code) for documents that need it.
No third-party penetration test of SignuDoc itself. Commission one of your own install if your customers ask.