Dify SOC 2 and ISO 27001 reports: what Dify holds and what it does not show for self-hosting
Dify states that it has completed SOC 2 Type II and ISO 27001:2022 audits, and it says its GDPR compliance is maintained through Data Processing Agreements, privacy policy upkeep and annual updates to its Records of Processing Activities. Public material does not confirm whether any of these attestations cover Dify Cloud, Dify Enterprise or the self-hosted Community edition, so a regulated buyer adopting a self-hosted Dify should treat the attestations as evidence about the vendor's own organization, not as proof of the controls in your deployment. The Dify blog names Sensiba as the SOC 2 Type II auditor and Johanson as the ISO 27001:2022 auditor. The Trust Center names a SOC 2 Type 1 report that paid plan customers can request, while the blog refers to Type II, so ask Dify's security team which report and which system boundary you would receive before relying on either.
The vendor material helps with questions about Dify's own corporate controls, such as how it handles its staff, its development and its service operations. It does not answer the questions an examiner will ask about your deployment: who can reach the Dify console, where the metadata database and object storage sit, how SECRET_KEY and workspace encryption keys are stored and rotated, how outbound requests are filtered, how backups are tested and who approves model providers and plugins. Those remain your own controls, and each needs its own evidence from your environment. A useful first step is to map each requirement in your framework to one of three answers: covered by the vendor report with a stated scope, covered by your configuration, or not covered by anything yet.
Confirm the attestation scope in writing before you rely on it, and ask for the penetration test report that the Trust Center says paid plan customers can request. DeployOpen plans, implements and documents self-hosted platforms and prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies make those determinations, so your assessor will need to review the evidence and reach its own conclusion about your environment.
Which attestations Dify states it holds and who audited them
Dify's blog post, written March 13, 2026 and updated July 8, 2026, says Dify has successfully completed a SOC 2 Type II audit and describes this as the second consecutive year of completion. The blog names Sensiba as the independent auditing firm for that audit. A SOC 2 report is issued by the auditor to the service organization, and it describes the controls that were tested over a period, so the period and the system boundary in the report matter as much as the headline.
- Stated auditor: Sensiba, named in the Dify blog as the independent firm for the SOC 2 Type II audit.
- Report type conflict: The Dify Trust Center names a SOC 2 Type 1 report, while the blog says Type II. A Type 1 report covers controls as designed at a point in time, and a Type II report covers operating effectiveness over a period. Ask which report exists before assuming either.
- Audit period and system boundary: Confirm the period covered and whether the boundary includes Dify Cloud, Dify Enterprise or the Community edition. The blog does not say.
- Subservice organizations: Ask whether the report carves out cloud or hosting providers used by Dify's own services.
- Exceptions: Request the list of exceptions noted by the auditor, not just the opinion.
Before relying on this attestation, ask Dify's security team for the report itself and confirm its type, period and boundary in writing.
Dify's blog post states that Dify has successfully completed an ISO 27001:2022 audit for the second consecutive year, and names Johanson as the independent firm that performed it. ISO/IEC 27001 is a management system standard, so a certification or audit result speaks to whether an organization's information security management system meets the standard's requirements within a defined scope. The scope statement is the part buyers most need to read.
- Stated auditor: Johanson, named in the Dify blog as the independent firm for the ISO 27001:2022 audit.
- Certification body versus audit: Confirm whether the result is a formal certificate issued by an accredited certification body or a readiness or audit statement. The blog does not state the certificate issuer or its accreditation.
- Scope statement: Ask for the certificate scope and the list of products and locations it covers, including whether Dify Cloud, Dify Enterprise or the Community edition is in scope.
- Validity dates: Request the issue date and expiry date of any certificate, since the blog gives no certificate dates.
- Statement of Applicability: Ask whether the vendor will share the relevant control summary for the scope in scope.
Treat the ISO 27001 claim as unverified for your deployment until the certificate and its scope are in hand.
GDPR is not a certifiable standard in the way ISO 27001 or SOC 2 are, so the Dify blog describes its GDPR position differently. The blog says Dify maintains GDPR compliance through Data Processing Agreements, privacy policy upkeep and annual updates to its Records of Processing Activities. It names no external GDPR auditor. Buyers should read this as Dify's own accountability measures, not as an independent assessment.
- Data Processing Agreement: Request Dify's DPA and check whether it applies to the product you will use, including a self-hosted Community or Enterprise deployment where Dify may never process your data.
- Records of Processing Activities: Ask for the relevant entries that cover the processing Dify does on your behalf, if any.
- No external auditor: Dify names no external GDPR auditor, so no third party has been named as having checked this claim.
- Role allocation: In a self-hosted deployment, your organization is usually the controller for data entered into its own Dify instance. Confirm this with your privacy counsel.
- Trust Center listing: The Trust Center lists GDPR alongside SOC 2 and ISO 27001:2022, but the listing alone does not describe scope.
The Dify DPA covers Dify's processing, while your own GDPR obligations for workflows, knowledge bases and user data remain yours to document.
The Dify Trust Center says paid plan customers can request the compliance report and the penetration test report from Dify's security team. The Dify pricing and Enterprise pages show GDPR, AICPA SOC 2 and ISO 27001 certified badges, but neither page states the scope or the audit dates. Badges on a pricing page are a marketing signal, so the report, the scope and the dates should carry the weight in your review.
- Who can request: The Trust Center limits report requests to paid plan customers, so confirm your plan qualifies before you ask.
- Penetration test report: Ask for the date, tester and scope of the test, and whether the test covered self-hosted packages or only the hosted service.
- Badges without scope: The pricing and Enterprise badges do not name scope or dates. Ask Dify to map each badge to a report and a boundary.
- Under NDA: Expect the reports to be shared under confidentiality terms. Confirm this before your procurement timeline depends on them.
- Vulnerability reporting: The Dify README asks that vulnerabilities be reported privately through GitHub Security Advisories, which is separate from the attestation reports.
Ask for the reports and a written scope statement before procurement, and record the answers in your third-party risk file.
Mapping each attestation to what Dify covers and what you must configure
This table sets each attestation or framework requirement against what Dify's Trust Center says the vendor does, and what you must configure in a self-hosted deployment. Read the middle column as vendor claims to verify in the report, and the last column as the work that stays with your team. The main takeaway is that vendor attestations do not transfer automatically to your own installation.
| Requirement area | Dify capability (vendor claims) | Configuration you own (self-hosted) |
|---|---|---|
| SOC 2 (Type II per the blog, Type 1 per the Trust Center) | Trust Center lists SOC 2 and penetration testing performed; report available to paid plan customers on request | Confirm which report type and audit period you receive and whether it covers your edition; document your own access and change controls |
| ISO 27001:2022 | Trust Center lists ISO 27001:2022; scope and audit dates are not stated on public badges | Request the certificate scope statement and confirm whether Community, Enterprise or Cloud is included |
| GDPR records and processing terms | Data Processing Agreements, privacy policy upkeep and annual Records of Processing Activities updates, per the blog | Sign the DPA for your relationship, and maintain your own records of processing for data you store in Dify |
| Encryption of data at rest and secrets | Trust Center lists data encryption utilized | Set a strong SECRET_KEY before first start, since changing it later logs out all users; choose local or Azure Key Vault workspace encryption keys |
| Outbound request control | Not described as a vendor control in the supplied sources | Keep SSRF_PROXY enabled so outbound calls are routed through a proxy that blocks internal and private ranges; test it |
| Deletion on exit and data retention | Trust Center lists customer data deleted upon leaving | For self-hosted data, you delete it: clear databases, object storage, vector stores and backups on your own schedule |
| Continuity and disaster recovery | Trust Center lists continuity and disaster recovery plans as established and tested | Run your own backups of PostgreSQL, object storage and vector data, and test restores before every upgrade |
| Identity and access on Enterprise | Enterprise SSO supports OpenID Connect, SAML and OAuth2 with named identity providers | Configure SSO and workspace roles yourself; Community edition has no SSO, so access control rests on your controls |
Does the Dify attestation cover your self-hosted deployment?
Do not assume a self-hosted Community install is in scope of Dify's SOC 2 or ISO 27001 work. Dify's blog post reports that the SOC 2 Type II and ISO 27001:2022 audits were completed, but it does not say whether they cover Dify Cloud, Dify Enterprise or the self-hosted Community edition. The pricing and Enterprise pages show certified badges without stating scope or audit dates either. Until Dify confirms in writing which service, environments and product versions the reports describe, treat the attestation as unverified for your deployment. Ask for the system description, the audit period and the list of in-scope services, and check whether the Community edition appears anywhere in them.
Even where a vendor audit covers the product, it attests to the vendor's own service and operations, not to your environment. Your cloud account, data center or air-gapped network, your PostgreSQL and Redis instances, your object storage and vector store, the Nginx and TLS configuration, the SECRET_KEY and workspace encryption keys, your identity provider and the people who hold administrator access all sit outside that report. Those controls are yours to design, operate and evidence. A vendor report can support your vendor risk review, but it does not replace your own control testing for the environment that holds your prompts, knowledge bases and customer data.
Before you rely on the attestation in a procurement or assessment file, put four questions to Dify in writing: which deployment models are in scope, which report type and period apply, whether a bridge letter or a newer report exists, and how your organization obtains the report under its terms. The Trust Center notes that paid plan customers can request reports from Dify's security team, but it names a SOC 2 Type 1 report while the blog post refers to Type II, so the report type must be confirmed rather than assumed. Record the answers in your third-party risk file, and tie each in-scope claim to the specific boundary it covers.
How to request the SOC 2 and penetration test reports from Dify
This sequence confirms that your Dify plan qualifies, gets the right reports from Dify's security team, and records exactly which edition, product, period and report type each document covers before you rely on it for an assessment.
Confirm your plan qualifies for requests
Check your Dify plan before you contact anyone. The Trust Center says paid plan customers can request the compliance report and the penetration test report from Dify's security team, so a Community edition user with no paid plan should expect to be routed elsewhere or refused. Owner: your procurement or compliance lead, with the account owner. Done when you can state which paid plan or agreement applies to the request and who on your side is the named contact.
Open the request through the Trust Center
Use the Trust Center at security.dify.ai to start the request to Dify's security team, and keep the request in writing so the thread is on record. Identify your organization, your contact and the agreement under which you are a customer. Owner: compliance lead. Done when Dify has acknowledged the request in the same thread, so later questions and answers stay together for your third-party risk file.
Specify the edition, product and period
Ask Dify to state which edition and product the attestation covers: Dify Cloud, Dify Enterprise, or the self-hosted Community edition. The blog post does not say whether the SOC 2 Type II and ISO 27001:2022 audits cover Dify Cloud, Dify Enterprise or Community, and the pricing pages show certified badges without scope or audit dates. Also ask for the audit period and the report issue date. Done when the written answer names a product, a period and a date, or confirms in writing that the scope is unclear.
Confirm the SOC 2 report type
The Trust Center names a SOC 2 Type 1 report, while Dify's blog post describes a SOC 2 Type II audit. Ask Dify to confirm in writing which report it will provide, and whether a Type II report exists for the period you need. A Type 1 report describes controls at a point in time; a Type II report also covers how those controls operated over a period. Your assessor will treat them differently. Done when the report type is confirmed in the vendor's own words.
Request the ISO 27001 scope and certificate details
Ask for the ISO/IEC 27001:2022 certificate, the certification body that issued it, the certificate validity dates, and the scope statement listing the products, services and locations included. The blog post names Johanson as the independent firm for the ISO 27001:2022 audit, so check the certificate itself against that name rather than relying on a badge. Done when you hold the certificate and a scope statement that you can match to the deployment you plan to run.
Request the penetration test report
Ask separately for the penetration test report, since the Trust Center says it is available alongside the compliance report. Confirm the test date, the tested product and version, the testing firm if it is disclosed, and whether the report covers the self-hosted Community or Enterprise code or only Dify Cloud. Done when you have the report or a written statement of why a specific part cannot be shared.
Sign any NDA before receiving the reports
Dify may require a non-disclosure agreement before it releases a report. Review the terms with legal, confirm who may read the report internally, and whether you may share it with your auditor or a customer under your own assurance process. Owner: legal and compliance lead. Done when the NDA is signed, and the file records the date, the signatories, and the permitted recipients.
Evidence to file from the vendor and from your own deployment
Some evidence comes from Dify the company and some comes from your own deployment. The vendor items show what its attestations cover, while the deployment items show what your team did with the software. Auditors and your own risk owners will ask for both.
Vendor SOC 2 report and bridge letter
Dify's blog says it completed a SOC 2 Type II audit, named Sensiba as the independent firm, and says paid plan customers can request the compliance report through its security team. The Trust Center names a SOC 2 Type 1 report, so ask which report you will receive and its period. Request a bridge letter covering the gap between the report period and today, and confirm whether the audit covers Dify Cloud, Dify Enterprise or the Community edition.
Dify Trust CenterISO 27001 scope and statement of applicability
The blog says Dify completed an ISO 27001:2022 audit with Johanson as the independent firm. A certificate alone does not show what was in scope, so ask for the certificate, the scope statement and the statement of applicability. The pricing and Enterprise pages show certified badges without a scope or dates, so do not treat the badge as proof that a self-hosted deployment is covered.
Penetration test report
The Trust Center says penetration testing is performed and that paid plan customers can request the penetration test report. Ask for the date, the tester, the scope (Cloud, Enterprise or the open-source code), and whether findings were remediated. Your own testing of your deployment is a separate item and does not replace this report.
GDPR DPA and sub-processor list
Dify says its GDPR compliance rests on Data Processing Agreements, privacy policy upkeep and annual updates to its Records of Processing Activities, and it names no external GDPR auditor. Request the signed DPA, the current sub-processor list and the transfer mechanism for any data Dify itself processes. Remember that a self-hosted deployment keeps your data in your infrastructure, so Dify's DPA covers only what the company handles.
Version and upgrade history
Record the Dify version running in each environment and the date you moved to it. Dify's release notes list security changes, such as the agent sandbox network isolation and sandboxed Jinja2 template rendering in 1.16.1, so the version you run determines which controls you can cite. Keep the upgrade guide you followed for each jump.
Dify releasesBackup records and key custody
Keep dated backups taken before each upgrade, and restore test results that show the backup works. Record where SECRET_KEY and workspace encryption keys are held, who can read them, and when they were last rotated. Changing SECRET_KEY after deployment logs out all users, so document that decision and its approval before any rotation.
Docker Compose docsWhere the vendor's audit stops and your controls start
The diagram starts with the vendor boundary, where Dify's service operations sit under the Trust Center controls and the audited scope, which still needs confirming. A paid plan customer sends a report request to Dify's security team, and the report that comes back covers the vendor's controls, not the customer's installation. The customer boundary holds the Dify containers, PostgreSQL, Redis, the vector store, object storage, SSO and model providers. Check the report's stated scope against whichever Dify edition you run.
Vendor audit boundary versus customer-controlled Dify components.
GDPR: what Dify maintains and what you still document
Dify's own statement is that its GDPR compliance is maintained through Data Processing Agreements, upkeep of its privacy policy and annual updates to its Records of Processing Activities. Dify names no external GDPR auditor, so treat this as a vendor practice you can review in the contract rather than an independent assessment. A signed DPA covers the relationship between you and Dify as a processor. It does not replace your own Records of Processing Activities, which must describe what your organization does with personal data in its Dify deployment: which workflows and knowledge bases hold personal data, the purposes, the lawful basis for each, the categories of data subjects, and the retention periods. Confirm with Dify which entity signs the DPA for your contract type, which sub-processors it lists, and whether the DPA covers Community, Enterprise and Dify Cloud usage separately.
Two vendor-stated controls matter most for a self-hosted deployment. The Trust Center lists customer data deleted upon leaving, and data encryption as a utilized control. Ask Dify to describe in writing what deletion on exit covers, how long it takes, and whether it extends to backups. For a self-hosted install, the data sits in your PostgreSQL, object storage and vector database, so your own deletion procedure must reach all three, plus logs. On encryption, verify the settings you control: the SECRET_KEY value, the workspace encryption key storage (local or Azure Key Vault), and the encryption at rest and in transit provided by your storage and network layers. Note that changing SECRET_KEY after deployment logs out all users, so plan it as a change, not a routine rotation.
The largest GDPR gap usually sits outside Dify. Prompts and retrieved document chunks are sent to whichever model provider you connect, so you need a transfer assessment for each provider and region, and a check of the provider's own DPA. Also decide retention for conversation logs, workflow run history and uploaded files, because Dify keeps them until an operator removes them. Document data subject request handling, including how you find and erase one person's records across knowledge bases and app logs. Each of these is a decision for your data protection officer and legal team, and the outputs should be filed alongside your RoPA. Ask Dify for the current DPA, its sub-processor list and the Trust Center's GDPR documentation before you start.
Questions buyers ask about Dify's compliance reports
Is Dify SOC 2 certified?
Dify states that it has completed SOC 2 Type II and ISO 27001:2022 audits, and that this is the second consecutive year. The Dify blog names Sensiba as the independent firm for the SOC 2 Type II audit. Note that the Trust Center names a SOC 2 Type 1 report while the blog says Type II, so ask Dify's security team which report exists and what period it covers. Also note that SOC 2 is an attestation report issued by an independent auditor, not a certification, and DeployOpen does not issue or change either one.
Does the Dify SOC 2 report cover self-hosted Community edition?
The public material does not say. Dify's blog does not state whether the audits cover Dify Cloud, Dify Enterprise or the Community edition, and the pricing and Enterprise pages show compliance badges without scope or audit dates. Treat a self-hosted Community deployment as outside the vendor's audited scope until Dify confirms in writing which systems and services the report covers. Even when the vendor report covers its own service, it does not cover the infrastructure, controls and data handling your team runs.
How much does the Dify compliance report cost?
No price is published for the report. The Trust Center says paid plan customers can request the compliance report and penetration test report from Dify's security team, so ask whether access depends on your plan and whether any fee or non-disclosure terms apply. Cost to you also includes the internal time to review the report, map its controls to your environment and document gaps. Ask Dify what is included, what is provided under an agreement and how the report is delivered.
How long does reviewing the Dify reports take, and what does it need from us?
No review duration is published, so plan with your own reviewers. The effort depends on the report's scope and period, the number of controls that apply to your deployment, and how many items fall to your side of the shared responsibility split. Your team will need a reviewer who can read a SOC 2 report, someone who knows your hosting, identity, backup and key management setup, and time to match each control to evidence from your environment. Ask Dify for the report's audit period and any exceptions noted before you start.
Can we gather the compliance evidence for our own Dify deployment ourselves?
Yes, if you have people with audit experience and time to run the work. Your evidence covers your own controls: access reviews for your identity provider, change records for upgrades, backup and restore test results, secret rotation for SECRET_KEY and model credentials, network egress rules and logging. Dify's report cannot stand in for these. The work is recurring, so set an owner, a review calendar and a place to store evidence before your first assessment.
What can DeployOpen prepare for our Dify compliance assessment?
DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. For a self-hosted Dify, the engagement can cover a written mapping of your controls, configuration of secrets, outbound request filtering, sandboxing, access and backups, and the evidence packs your auditor will ask for. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. The independent auditor or certification body makes the final determination.
Does Dify's GDPR position mean our deployment is GDPR compliant?
No. Dify says its GDPR compliance is maintained through Data Processing Agreements, privacy policy upkeep and annual updates to its Records of Processing Activities, and it names no external GDPR auditor. Those commitments concern Dify as a vendor. As the controller of data you put into a self-hosted Dify, you still need your own lawful basis, retention rules, data subject request process and records, and you should review any Dify DPA with your legal team before relying on it.
How DeployOpen works on this
DeployOpen helps regulated teams assemble the evidence their own assessors need for a self-hosted Dify deployment, including how Dify's vendor attestations apply and where they stop. We scope the work in writing, build and document the controls inside your infrastructure, and support the deployment over time through a retainer if you want one.
How we scope
- We confirm with you which Dify edition and version you run, and whether it is Community, Enterprise or a hosted plan.
- We map the framework requirements your assessor will test against the controls you own and the ones Dify's attestations may cover.
- We agree the written scope, deliverables and timeline before any work starts, since most engagements are fixed-scope.
How we build
- We collect the vendor documents you need, including the Dify Trust Center materials and the reports obtained through Dify's security team.
- We configure and document your own controls, such as secrets, encryption keys, outbound request filtering, access and backups.
- We test the configured controls and record the results so the evidence reflects what is actually running in your environment.
How we hand over
- You receive a control-by-control evidence pack that separates vendor attestations from controls your organization operates.
- You receive a written gap list with the items your team must confirm directly with Dify, such as report scope and audit dates.
- We prepare the systems, controls and evidence for your auditor, but we do not issue audit reports, attestations or certifications.
How we support
- We can review evidence again when Dify publishes new reports or when you move to a newer Dify release.
- Ongoing support, upgrades and continuous testing are available as a retainer after the initial engagement ends.
- We keep the evidence pack current as your deployment changes, so your next assessment starts from accurate records.

