{"band":"adequate","note":"Deterministic layer only. No model calls were made and no source content left this machine.","layer":"deterministic","coverage":{"statement":"A repository answers roughly three and a half of seven dimensions. The rest are reported as not assessable, with the questions a human would ask instead.","languages_read":["1C Enterprise","4D","ABAP","ABAP CDS","AGS Script","AIDL","AL","ALGOL","AMPL","ANTLR","APL","ASL","ASP.NET","ATS","ActionScript","Ada","Agda","Aiken","Aleo","Alloy","AngelScript","Answer Set Programming","Apex","Apollo Guidance Computer","AppleScript","Arc","ArkTS","AspectJ","Assembly","Augeas","AutoHotkey","AutoIt","Awk","B (Formal Method)","B4X","BAML","BQN","Ballerina","Batchfile","Beef","Befunge","Bend","Berry","Bicep","Bison","BitBake","BlitzBasic","BlitzMax","Bluespec","Boo","Boogie","Brightscript","C","C#","C++","C2hs Haskell","C3","CAP CDS","CLIPS","CMake","COBOL","CQL","CWeb","Cadence","Cairo","CameLIGO","Cangjie","Cap'n Proto","Carbon","CartoCSS","Ceylon","Chapel","Charity","ChucK","Circom","Cirru","Clarion","Clarity","Classic ASP","Clean","Click","Clojure","Clue","CodeQL","CoffeeScript","ColdFusion","ColdFusion CFC","Common Lisp","Common Workflow Language","Component Pascal","Crystal","Csound","Csound Document","Csound Score","Cuda","Curry","Cycript","Cypher","Cython","D","DIGITAL Command Language","DM","Dafny","Dart","Daslang","DataWeave","Dhall","Dockerfile","Dogescript","Dylan","E","ECL","EQ","EdgeQL","Elixir","Elm","Elvish","Emacs Lisp","EmberScript","Erlang","F#","F*","FIRRTL","FLUX","FPP","Factor","Fancy","Fantom","Fennel","Filebench WML","Flix","Fluent","Forth","Fortran","Fortran Free Form","FreeBASIC","FreeMarker","Futhark","G-code","GAML","GAMS","GAP","GDB","GDScript","GDShader","GLSL","GSC","Genero 4gl","Genshi","Gentoo Ebuild","Gentoo Eclass","Gherkin","Gleam","Glimmer JS","Glimmer TS","Glyph","Gno","Gnuplot","Go","Golo","Gosu","Grace","Grammatical Framework","Groovy","Groovy Server Pages","HCL","HIP","HLSL","Hack","Harbour","Hare","Haskell","Haxe","HiveQL","HolyC","Hurl","Hy","IDL","IGOR Pro","IL Assembly","ISPC","Idris","ImHex Pattern Language","ImageJ Macro","Imba","Inform 7","Ink","Inno Setup","Io","Ioke","Isabelle","J","JASS","JCL","JFlex","JSONiq","Jac","Jai","Janet","Java","Java Server Pages","Java Template Engine","JavaScript","JavaScript+ERB","JetBrains MPS","Jison","Jison Lex","Jolie","Jsonnet","Julia","Just","KCL","KRL","Kaitai Struct","KakouneScript","Koka","Kotlin","LFE","LLVM","LLVM TableGen","LOLCODE","LSL","LabVIEW","Langium","Lasso","Lean","Leo","Lex","LigoLANG","LilyPond","Linker Script","Liquidsoap","Literate Agda","Literate CoffeeScript","Literate Haskell","LiveCode Script","LiveScript","Lobster","Logos","Logtalk","LookML","Lua","Luau","M","M4","MATLAB","MAXScript","MLIR","MQL4","MQL5","MUF","Macaulay2","Makefile","Mako","Max","MeTTa","Mercury","Metal","MiniD","MiniZinc","Mint","Mirah","Modelica","Modula-3","Module Management System","Mojo","Monkey","MoonBit","MoonScript","Motorola 68K Assembly","Move","Myghty","NASL","NSIS","NWScript","Nearley","NetLinx","NetLinx+ERB","NetLogo","Nextflow","Nim","Nit","Nix","Nu","NumPy","OCaml","OMNeT++ NED","Oberon","Objective-C","Objective-C++","Objective-J","Odin","Omgrofl","Opa","Opal","Open Policy Agent","OpenCL","OpenQASM","OpenSCAD","OverPy","OverpassQL","Ox","Oxygene","Oz","P4","PDDL","PEG.js","PHP","PLSQL","PLpgSQL","POV-Ray SDL","Pact","Pan","Papyrus","Parrot","Parrot Assembly","Parrot Internal Representation","Pascal","Pawn","Pep8","Perl","PigLatin","Pike","PogoScript","Polar","Pony","Portugol","Power Query","PowerBuilder","PowerShell","Praat","Processing","Prolog","Promela","Propeller Spin","Puppet","PureBasic","PureScript","Pyret","Python","Q#","QML","QMake","QuakeC","Quint","R","RAScript","REALbasic","REXX","RPGLE","Racket","Ragel","Raku","Rascal","ReScript","Reason","ReasonLIGO","Rebol","Red","Redcode","RenderScript","Rhai","Ring","RobotFramework","Roc","Rocq Prover","Rouge","Ruby","Rust","SAS","SMT","SQF","SQL","SQLPL","SWIG","Sage","Sail","Salt","Scala","Scenic","Scheme","Scilab","Self","Shell","ShellSession","Shen","Sieve","Slang","Slash","SmPL","Smali","Smithy","Snakemake","Solidity","SourcePawn","Squirrel","Stan","Standard ML","Starlark","Stata","SurrealQL","Swift","SystemVerilog","TI Program","TL-Verilog","TLA","TSX","TXL","Tact","Talon","Tape","Tcl","Tcsh","Thrift","Toit","Tolk","Turing","TypeScript","Unified Parallel C","Uno","UnrealScript","Untyped Plutus Core","UrWeb","VBA","VBScript","VCL","VHDL","Vala","Verilog","Verse","Vim script","Visual Basic .NET","Visual Basic 6.0","Volt","Vyper","WDL","WGSL","WebAssembly","WebIDL","Whiley","Witcher Script","Wolfram Language","Wollok","Wren","X10","XC","XProc","XQuery","XS","XSLT","Xojo","Xonsh","Xtend","YARA","Yacc","Yul","ZAP","ZIL","Zeek","ZenScript","Zephir","Zig","Zimpl","eC","fish","hoon","mIRC Script","mcfunction","mupad","nesC","ooc","sed","wisp","xBase"],"total_dimensions":7,"assessable_dimensions":6},"dimensions":[{"id":"01","band":"adequate","name":"Architecture & Codebase — including AI provenance","coverage":"full","findings":[{"id":"01.6","band":"adequate","layer":"deterministic","title":"web/i18n/resources.generated.d.ts is 6,671 lines, 79× this codebase's median file","signal":"oversized_modules","weight":"corroborating","context":true,"evidence":[{"ref":"line-count","kind":"path","path":"web/i18n/resources.generated.d.ts","detail":"6,671 lines (79× median)","line_end":6671,"line_start":1},{"ref":"line-count","kind":"path","path":"api/services/skill_management_service.py","detail":"4,900 lines (58× median)","line_end":4900,"line_start":1},{"ref":"line-count","kind":"path","path":"api/controllers/console/knowledge_fs/resources.py","detail":"4,253 lines (50× median)","line_end":4253,"line_start":1},{"ref":"line-count","kind":"path","path":"api/services/knowledge/dataset_service.py","detail":"3,963 lines (47× median)","line_end":3963,"line_start":1},{"ref":"line-count","kind":"path","path":"api/services/knowledge_fs/product_dto.py","detail":"3,940 lines (46× median)","line_end":3940,"line_start":1}],"observed":{"largest":6671,"library":{"n":382,"share":70,"value":79.4,"cutoff":138.63,"material":false,"percentile":85},"threshold":1000,"files_over":92,"median_lines":84},"dimension":"01","rationale":"The median source file here is 84 lines. 92 files exceed 1,000 lines, the largest being 6,671. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.","context_why":"A note that does not affect this rating: measured against its own codebase's median, it is below the 85th percentile of 382 surveyed projects' largest files, where this check begins to count."},{"id":"01.25","band":"adequate","layer":"deterministic","title":"1 base image floats: no version, or `latest`","signal":"build_reproducibility","weight":"corroborating","evidence":[{"ref":"docker/couchbase-server/Dockerfile","kind":"path","path":"docker/couchbase-server/Dockerfile","detail":"base image without a version","line_end":1,"line_start":1}],"observed":{"floating":1,"from_lines":13},"dimension":"01","rationale":"1 of 13 `FROM` lines in product Dockerfiles name an image without a version, or with `latest`. Each build pulls whatever the registry serves that day, so the image that ships can change without a commit, and last month's build cannot be reproduced. Pin a version, or a digest."}],"signals_run":11,"conclusive_signals":10,"what_a_person_adds":[{"id":"01.38","kind":"H+","where":"The team","measured":"No architecture or design document is in the tree, across 9,763 product files.","question":"Where does the design live, and who holds it?"},{"id":"01.39","kind":"H","where":"Your architects, with the product roadmap","question":"Is the architecture right for the next three years of the product?"},{"id":"01.40","kind":"H","where":"The team's reasoning at the time","question":"Were the home-grown components reasonable choices when they were made, and are they now?"}]},{"id":"02","band":"adequate","name":"Engineering Process & SDLC Maturity","coverage":"high","findings":[{"id":"02.24","band":"adequate","layer":"deterministic","title":"6% of recent commits change more than 2,000 lines","signal":"commit_size","weight":"corroborating","evidence":[{"ref":"git log --numstat","kind":"metric","detail":"536 commits over 2,000 lines"}],"observed":{"share":0.056,"commits":9530,"over_2000_lines":536},"dimension":"02","rationale":"536 of 9530 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large."}],"signals_run":16,"conclusive_signals":15,"what_a_person_adds":[{"id":"02.32","kind":"H","where":"The code host's pull request data","question":"Is review real or a rubber stamp? Comment depth and time to approve need the pull request history."},{"id":"02.38","kind":"H","where":"The issue tracker: backlog, sprint history, estimate accuracy","question":"Is delivery planned and measured, or heroic?"},{"id":"02.37","kind":"H","where":"Tickets, chat and postmortems","question":"How are incidents run, reviewed and learned from?"}]},{"id":"03","band":"strong","name":"Organization & Key-Person Risk","coverage":"partial","findings":[],"signals_run":10,"conclusive_signals":10,"what_a_person_adds":[{"id":"03.29","kind":"H+","where":"The deal terms","measured":"1,514 people have committed here.","question":"Which of them are you acquiring, and which are you replacing?"},{"id":"03.28","kind":"H","where":"The team; review history only suggests candidates","question":"Who mentors whom, and would that survive a departure?"},{"id":"03.30","kind":"H","where":"Recruiting data and the org chart","question":"Can the team grow, and who stands behind the top three contributors?"},{"id":"03.31","kind":"H","where":"HR data","question":"Is the seniority mix sound, and will pay survive your salary bands?"},{"id":"03.14","kind":"H","where":"Interviews and on-call history","question":"Is the pace sustainable? Commit times cannot say: git keeps no reliable local time."},{"id":"03.32","kind":"H","where":"Interviews","question":"Does the team want to stay after close?"},{"id":"03.33","kind":"H","where":"Time with the team","question":"How are decisions made and disagreements resolved?"}]},{"id":"04","band":"adequate","name":"Product & Engineering Maturity","coverage":"minimal","findings":[{"id":"04.3","band":"adequate","layer":"deterministic","title":"102 direct dependencies in a single manifest","signal":"dependency_sprawl","weight":"corroborating","evidence":[{"ref":"direct-dependencies","kind":"path","path":"web/package.json","detail":"102 declared"},{"ref":"direct-dependencies","kind":"path","path":"api/pyproject.toml","detail":"42 declared"},{"ref":"direct-dependencies","kind":"path","path":"packages/tooling/package.json","detail":"24 declared"},{"ref":"direct-dependencies","kind":"path","path":"cli/package.json","detail":"9 declared"}],"observed":{"set_aside":{},"by_manifest":{"cli/package.json":9,"web/package.json":102,"api/pyproject.toml":42,"dify-agent-runtime/go.mod":4,"dify-agent/pyproject.toml":6,"packages/dify-ui/package.json":5,"packages/tooling/package.json":24,"packages/contracts/package.json":2,"packages/dev-proxy/package.json":4,"packages/image-resources/package.json":4,"api/providers/vdb/vdb-iris/pyproject.toml":1,"api/providers/vdb/vdb-baidu/pyproject.toml":1,"api/providers/vdb/vdb-relyt/pyproject.toml":0,"api/providers/vdb/vdb-chroma/pyproject.toml":1,"api/providers/vdb/vdb-milvus/pyproject.toml":1,"api/providers/vdb/vdb-oracle/pyproject.toml":1,"api/providers/vdb/vdb-qdrant/pyproject.toml":1,"api/providers/vdb/vdb-lindorm/pyproject.toml":2,"api/providers/vdb/vdb-myscale/pyproject.toml":1,"api/providers/vdb/vdb-tencent/pyproject.toml":1,"api/providers/vdb/vdb-upstash/pyproject.toml":1,"api/providers/trace/trace-opik/pyproject.toml":1,"api/providers/vdb/vdb-hologres/pyproject.toml":1,"api/providers/vdb/vdb-pgvector/pyproject.toml":1,"api/providers/vdb/vdb-vastbase/pyproject.toml":0,"api/providers/vdb/vdb-vikingdb/pyproject.toml":1,"api/providers/vdb/vdb-weaviate/pyproject.toml":1,"api/providers/trace/trace-weave/pyproject.toml":1,"api/providers/vdb/vdb-couchbase/pyproject.toml":1,"api/providers/vdb/vdb-matrixone/pyproject.toml":1,"api/providers/vdb/vdb-oceanbase/pyproject.toml":2,"api/providers/vdb/vdb-opengauss/pyproject.toml":0,"api/providers/trace/trace-aliyun/pyproject.toml":4,"api/providers/trace/trace-mlflow/pyproject.toml":1,"api/providers/vdb/vdb-analyticdb/pyproject.toml":3,"api/providers/vdb/vdb-clickzetta/pyproject.toml":1,"api/providers/vdb/vdb-opensearch/pyproject.toml":1,"api/providers/vdb/vdb-pgvecto-rs/pyproject.toml":1,"api/providers/vdb/vdb-tablestore/pyproject.toml":1,"api/providers/trace/trace-tencent/pyproject.toml":4,"api/providers/vdb/vdb-tidb-vector/pyproject.toml":1,"api/providers/trace/trace-langfuse/pyproject.toml":1,"api/providers/vdb/vdb-huawei-cloud/pyproject.toml":1,"api/providers/trace/trace-langsmith/pyproject.toml":1,"api/providers/vdb/vdb-elasticsearch/pyproject.toml":1,"api/providers/vdb/vdb-tidb-on-qdrant/pyproject.toml":1,"api/providers/trace/trace-arize-phoenix/pyproject.toml":1,"api/providers/vdb/vdb-alibabacloud-mysql/pyproject.toml":1,"packages/migrate-no-unchecked-indexed-access/package.json":3}},"dimension":"04","rationale":"web/package.json declares 102 direct dependencies. Each one is a maintenance obligation, a supply-chain surface and a potential licence question that transfers with the asset. The count says nothing about whether any given dependency was a good choice; it says how many such choices a buyer inherits."},{"id":"04.14","band":"adequate","layer":"deterministic","title":"2 jobs are each done by more than one library","signal":"dependency_redundancy","weight":"corroborating","evidence":[{"ref":"packages/dify-ui/package.json","kind":"path","path":"packages/dify-ui/package.json","detail":"several libraries per job"},{"ref":"packages/jotai-tanstack-form/package.json","kind":"path","path":"packages/jotai-tanstack-form/package.json","detail":"several libraries per job"}],"observed":{"jobs_doubled":{"dates":["date-fns","dayjs"],"state management":["jotai","zustand"]}},"dimension":"04","rationale":"Within a single package: dates: date-fns, dayjs; state management: jotai, zustand. Each duplicate is bundle size, two ways of doing the same thing in one codebase, and two upgrade paths to maintain. It is usually the residue of a migration that stopped halfway."},{"id":"04.62","band":"adequate","layer":"deterministic","title":"Releases are cut from another branch than the one surveyed","signal":"release_branch","weight":"corroborating","context":true,"evidence":[{"ref":"2a8483299","kind":"commit","detail":"tag 2.0.0-beta.2"}],"observed":{"elsewhere":20,"on_branch":147,"tags_in_window":167,"direction_known":true,"later_on_branch":0},"dimension":"04","rationale":"The newest pre-release, 2.0.0-beta.2, is not on the branch this survey read; the newest release on it is 1.18.0. The shipped product may differ from what this report describes. Survey the release branch too.","context_why":"A note that does not affect this rating: notes like it are common in well-run projects."}],"signals_run":19,"conclusive_signals":14,"what_a_person_adds":[{"id":"04.11","kind":"H+","where":"The team","measured":"6,374 commits landed in the last year, against 3,841 the year before (+66%).","question":"What drove it: new people, a deadline, or code produced faster than before?"},{"id":"04.34","kind":"H+","where":"The ML team and its run history","measured":"Experiment tracking is configured (mlflow, wandb).","question":"Can the model that ships be tied to the run, data and code that produced it?"},{"id":"04.35","kind":"H+","where":"The ML team","measured":"No model card is in the tree.","question":"What is the model's intended use, what was it trained on, and where does it fail?"},{"id":"04.32","kind":"H","where":"The data room and the team's record of estimates","question":"Can this team deliver the stated roadmap on the stated timeline?"},{"id":"04.31","kind":"H","where":"Budget and roadmap decisions","question":"Does leadership know about the debt, and is time budgeted to repay it?"},{"id":"04.33","kind":"H","where":"Revenue, customer and churn data","question":"Is the engineering shape consistent with the commercial story?"}]},{"id":"05","band":"adequate","name":"Security & Reliability Posture","coverage":"partial","findings":[{"id":"05.6","band":"adequate","layer":"deterministic","title":"1 Dockerfile runs the application as root","signal":"container_runs_as_root","weight":"corroborating","evidence":[{"ref":"no-USER-instruction","kind":"path","path":"docker/couchbase-server/Dockerfile","detail":"runs as root"}],"observed":{"rootful":1,"dockerfiles":6},"dimension":"05","rationale":"No USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically."},{"id":"05.20","band":"adequate","layer":"deterministic","title":"38 SQL statements built from strings","signal":"sql_from_strings","weight":"corroborating","context":true,"evidence":[{"ref":"api/services/plugin/plugin_migration.py","kind":"path","path":"api/services/plugin/plugin_migration.py","detail":"SQL built from a string","line_end":228,"line_start":228},{"ref":"api/extensions/storage/clickzetta_volume/volume_permissions.py","kind":"path","path":"api/extensions/storage/clickzetta_volume/volume_permissions.py","detail":"SQL built from a string","line_end":269,"line_start":269},{"ref":"api/providers/vdb/vdb-alibabacloud-mysql/src/dify_vdb_alibabacloud_mysql/alibabacloud_mysql_vector.py","kind":"path","path":"api/providers/vdb/vdb-alibabacloud-mysql/src/dify_vdb_alibabacloud_mysql/alibabacloud_mysql_vector.py","detail":"SQL built from a string","line_end":175,"line_start":175}],"observed":{"files":13,"sites":38,"value_interpolated":1},"dimension":"05","rationale":"38 places in product code build SQL by formatting or joining strings rather than passing parameters. 1 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.","context_why":"A note that does not affect this rating: in Borehole's calibration, this check's notes were usually true but overstated."},{"id":"05.22","band":"adequate","layer":"deterministic","title":"2 deserialisers that can run code","signal":"unsafe_deserialization","weight":"corroborating","context":true,"evidence":[{"ref":"api/models/dataset.py","kind":"path","path":"api/models/dataset.py","detail":"code-executing deserialiser","line_end":740,"line_start":740},{"ref":"api/services/agent/roster_package_reader.py","kind":"path","path":"api/services/agent/roster_package_reader.py","detail":"code-executing deserialiser","line_end":352,"line_start":352}],"observed":{"sites":2},"dimension":"05","rationale":"2 places read data with a deserialiser that executes what it reads (pickle, `yaml.load` without a safe loader). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.","context_why":"A note that does not affect this rating: in Borehole's calibration, this check's notes were usually true but overstated."},{"id":"05.26","band":"adequate","layer":"deterministic","title":"16 locked dependencies have published vulnerabilities, 5 high or critical in what ships","signal":"known_vulnerabilities","weight":"corroborating","evidence":[{"ref":"api/uv.lock","kind":"path","path":"api/uv.lock","detail":"chromadb 0.5.20: GHSA-36p7-vc44-83pf (critical)"},{"ref":"dify-agent/uv.lock","kind":"path","path":"dify-agent/uv.lock","detail":"pillow 12.3.0: GHSA-332p-7hrc-92wf (critical), fixed in 13.0.0; an optional extra"},{"ref":"api/uv.lock","kind":"path","path":"api/uv.lock","detail":"pydantic-ai-slim 2.31.0: GHSA-6fqq-452j-qhrp (high), fixed in 2.53.0"}],"observed":{"advisories":72,"dependencies":2017,"high_or_critical":40,"pinned_to_a_commit":0,"ecosystems_not_read":[],"vulnerable_packages":16,"set_aside_not_imported":2,"high_or_critical_shipping":5,"high_or_critical_not_shipped":{"dev":8,"extra":27}},"unproven":true,"dimension":"05","rationale":"16 of 2,017 locked dependencies match 72 published advisories in OSV, 40 of them rated high or critical. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version."},{"id":"05.45","band":"adequate","layer":"deterministic","title":"2 workload settings can give a container the host, behind a chart value or in a stack built from source","signal":"privileged_workloads","weight":"corroborating","evidence":[{"ref":"docker/docker-compose-template.yaml","kind":"path","path":"docker/docker-compose-template.yaml","detail":"host access behind a setting or in a local stack","line_end":1343,"line_start":1343},{"ref":"docker/docker-compose.yaml","kind":"path","path":"docker/docker-compose.yaml","detail":"host access behind a setting or in a local stack","line_end":1349,"line_start":1349}],"observed":{"sites":0,"behind_a_setting_or_built_here":2},"dimension":"05","rationale":"2 places run a container privileged or in the host's namespaces only when a Helm value switches them on, or in a compose file that builds the product from this repository, which is how it is developed rather than how it ships. Neither is on by default in what ships. Ask whether production sets the value or runs that stack."},{"id":"05.49","band":"adequate","layer":"deterministic","title":"The production build publishes source maps","signal":"source_maps_shipped","weight":"corroborating","evidence":[{"ref":"cli/vite.config.ts","kind":"path","path":"cli/vite.config.ts","detail":"source maps in a production build","line_end":23,"line_start":23},{"ref":"packages/dev-proxy/vite.config.ts","kind":"path","path":"packages/dev-proxy/vite.config.ts","detail":"source maps in a production build","line_end":11,"line_start":11},{"ref":"packages/migrate-no-unchecked-indexed-access/vite.config.ts","kind":"path","path":"packages/migrate-no-unchecked-indexed-access/vite.config.ts","detail":"source maps in a production build","line_end":11,"line_start":11}],"observed":{"sites":4},"dimension":"05","rationale":"The build configuration emits source maps for production, so the original source, with its comments and structure, is downloadable by every visitor. Upload them to an error tracker and keep them off the public server instead."},{"id":"05.66","band":"adequate","layer":"deterministic","title":"The licence is Apache-2.0 with a commercial-licence condition: source available, not open source","signal":"license_grant_unclear","weight":"corroborating","context":true,"evidence":[{"ref":"LICENSE","kind":"path","path":"LICENSE","detail":"22 lines, Apache-2.0 AND LicenseRef-Terms-CommercialLicence","line_end":3,"line_start":1}],"observed":{"path":"LICENSE","named":true,"identified":"Apache-2.0 AND LicenseRef-Terms-CommercialLicence","source_available":true},"dimension":"05","rationale":"LICENSE grants Apache-2.0 with a commercial-licence condition: source available, not open source; some uses need a commercial licence from the licensor. The reading comes from the licence's own title and clauses. Whether the terms fit the buyer's intended use, and whether any paid licence transfers with the code, is a question for counsel and the licensor.","context_why":"A note that does not affect this rating: it names the project's licence, a fact for the first screen rather than a weakness."},{"id":"05.60","band":"adequate","layer":"deterministic","title":"Relicensed: Apache-2.0 → Apache-2.0 with terms on offering it as a service (2023-07-28) → Apache-2.0 with a commercial-licence condition and terms on offering it as a service (2024-03-04) → Apache-2.0 with a commercial-licence condition (2024-09-09)","signal":"licence_changes","weight":"corroborating","context":true,"evidence":[{"ref":"db896255d","kind":"commit","path":"LICENSE","detail":"Apache-2.0 from 2023-05-15"},{"ref":"c98311b32","kind":"commit","path":"LICENSE","detail":"Apache-2.0 with terms on offering it as a service from 2023-07-28"},{"ref":"83a6b0c62","kind":"commit","path":"LICENSE","detail":"Apache-2.0 with a commercial-licence condition and terms on offering it as a service from 2024-03-04"},{"ref":"3ff9a1f24","kind":"commit","path":"LICENSE","detail":"Apache-2.0 with a commercial-licence condition from 2024-09-09"}],"observed":{"since":"2024-09-09","latest":"Apache-2.0 AND LicenseRef-Terms-CommercialLicence","weaker":true,"narrowed_at":"2024-03-04","narrowed_days":963,"licence_versions":4,"source_available":true,"narrowed_recently":true,"unreleased_changes":0},"dimension":"05","rationale":"The root licence changed 3 time(s). The latest terms restrict what users, hosts or a buyer may do in ways the earlier ones did not. Code taken under the old terms stays under them, so both matter in diligence.","context_why":"A note that does not affect this rating: a licence change is a fact for the first screen, and only a narrowing of rights within two years of the surveyed commit costs \"strong\"."},{"id":"05.65","band":"adequate","layer":"deterministic","title":"36 advisories against this project in the last 24 months, 18 high or critical","signal":"advisory_record","weight":"corroborating","context":true,"evidence":[{"ref":"CVE-2026-85021","kind":"advisory","detail":"2026-09-03: CVE-2026-85021 (low): A vulnerability was determined in langgenius dify 1.13.0. Affected is the function router.replace of the file web/app/(shareLayout)/components/splash.tsx of the"},{"ref":"CVE-2026-85022","kind":"advisory","detail":"2026-09-03: CVE-2026-85022 (low): A vulnerability was identified in langgenius dify 1.13.0. Affected by this vulnerability is the function router.replace of the file web/app/(shareLayout)/webapp"},{"ref":"GHSA-ccrj-frp2-c945","kind":"advisory","detail":"2026-08-19: GHSA-ccrj-frp2-c945 (high), fixed in 1.16.0: IDOR in AppMCPServer PUT Endpoint Allows Modification of Other Apps' MCP Servers"},{"ref":"GHSA-9c9q-5rj5-mjj2","kind":"advisory","detail":"2026-07-15: GHSA-9c9q-5rj5-mjj2 (high), fixed in 1.14.2: Cross-Tenant File Preview via Unscoped Console `file_id`"},{"ref":"GHSA-fj5w-7rc8-3f3f","kind":"advisory","detail":"2026-07-15: GHSA-fj5w-7rc8-3f3f (moderate), fixed in 1.14.0: Cross-Tenant External API Usage Enumeration"}],"observed":{"newest":"2026-09-03","critical":5,"affecting":0,"could_not_tell":6,"last_24_months":36,"sources_failed":["OSV npm dify-client (an empty record for a package published here)"],"known_exploited":0,"high_or_critical":18,"record_incomplete":["NVD: 6 records name dify with nothing tying them to this repository (CVE-2025-0185, CVE-2026-18266, CVE-2026-18632, …)"]},"dimension":"05","rationale":"The newest was published on 2026-09-03. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 6 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 1.18.0. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 6 records name dify with nothing tying them to this repository (CVE-2025-0185, CVE-2026-18266, CVE-2026-18632, …).","context_why":"A note that does not affect this rating: it describes the project's advisory record, and no advisory in it is known to affect the surveyed commit."}],"signals_run":34,"conclusive_signals":29,"what_a_person_adds":[{"id":"05.43","kind":"H+","where":"The security owner","measured":"No threat model is in the tree of what looks like a running service.","question":"Does one exist elsewhere, and who owns it?"},{"id":"05.41","kind":"H","where":"Ticketing and chat","question":"What has actually broken, how often, and how badly?"},{"id":"05.42","kind":"H","where":"Reports in the data room","question":"What did external testing find, and was it fixed?"},{"id":"05.44","kind":"H","where":"Audit reports; policy files in the tree are not evidence","question":"What is the SOC 2, ISO 27001 or GDPR status, and where is the evidence?"}]},{"id":"06","band":"adequate","name":"Observability & Operations","coverage":"partial","findings":[{"id":"06.2","band":"adequate","layer":"deterministic","title":"No structured logging library is in use","signal":"structured_logging","weight":"corroborating","evidence":[{"ref":"logging-scan","kind":"metric","detail":"searched 10,193 files for 10 structured logging libraries; 0 matched"}],"observed":{},"dimension":"06","rationale":"Nothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find."},{"id":"06.18","band":"adequate","layer":"deterministic","title":"9 of 41 deployed images carry no version, or `latest`","signal":"deployed_image_floats","weight":"corroborating","context":true,"evidence":[{"ref":"docker/docker-compose.yaml","kind":"path","path":"docker/docker-compose.yaml","detail":"image without a version","line_end":254,"line_start":254},{"ref":"docker/docker-compose.yaml","kind":"path","path":"docker/docker-compose.yaml","detail":"image without a version","line_end":895,"line_start":895},{"ref":"docker/docker-compose.yaml","kind":"path","path":"docker/docker-compose.yaml","detail":"image without a version","line_end":920,"line_start":920}],"observed":{"images":41,"floating":9},"dimension":"06","rationale":"9 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.","context_why":"A note that does not affect this rating: in Borehole's calibration, this check's notes were usually true but overstated."},{"id":"06.17","band":"adequate","layer":"deterministic","title":"The code branches on the environment's name at 11 places","signal":"environment_branching","weight":"corroborating","context":true,"evidence":[{"ref":"api/models/knowledge_fs_cutover.py","kind":"path","path":"api/models/knowledge_fs_cutover.py","detail":"branch on the environment name","line_end":80,"line_start":80},{"ref":"web/app/components/base/analytics-consent/cloud-analytics.tsx","kind":"path","path":"web/app/components/base/analytics-consent/cloud-analytics.tsx","detail":"branch on the environment name","line_end":1,"line_start":1},{"ref":"web/app/components/base/analytics-consent/cloud-analytics.tsx","kind":"path","path":"web/app/components/base/analytics-consent/cloud-analytics.tsx","detail":"branch on the environment name","line_end":18,"line_start":18}],"observed":{"sites":11},"dimension":"06","rationale":"11 places outside configuration test whether they are running in production or staging. Staging then does not exercise production's code, and each deploy is the first run of those branches. Differences belong in configuration the code reads, not in the code.","context_why":"A note that does not affect this rating: in Borehole's calibration, this check's notes were usually true but overstated."}],"signals_run":16,"conclusive_signals":11,"what_a_person_adds":[{"id":"06.19","kind":"H+","where":"The operations team","measured":"Nothing in the tree backs up or restores data.","question":"How is data backed up, and has a restore ever been rehearsed?"},{"id":"06.10","kind":"H+","where":"The alerting tool and the on-call rota","measured":"No alert rule is defined in the repository.","question":"Where are alerts defined, who receives them, and when did one last fire?"},{"id":"06.29","kind":"H","where":"Pager history and dashboard logs","question":"Are the dashboards opened, the alerts acknowledged and the pages answered?"},{"id":"06.30","kind":"H","where":"Production metrics","question":"Are the service-level objectives actually met?"},{"id":"06.31","kind":"H","where":"Pager exports and interviews","question":"Who carries the pager, and how often does it go off?"},{"id":"06.32","kind":"H","where":"Cloud billing and capacity plans","question":"What does it cost to run, and how much headroom is there?"}]},{"id":"07","band":"not assessable","name":"Fit with the Acquirer","coverage":"none","findings":[],"signals_run":0,"conclusive_signals":0,"what_a_person_adds":[{"id":"07.1","kind":"H+","question":"This is primarily a TypeScript codebase, with Python alongside (37% of source files). Does your engineering organisation already run TypeScript in production, or would this be the first?"},{"id":"07.10","kind":"H+","question":"The bulk of this system sits in web/, api/, packages/. Which of your existing systems would each of those have to absorb or replace?"},{"id":"07.2","kind":"H+","question":"The repository carries deployment configuration (api/Dockerfile and 14 more). Does that match your deployment and on-call model, or does it need rehosting first?"},{"id":null,"kind":"H+","question":"What is your tolerance for the findings above remaining unaddressed for the first two quarters after close, given everything else that will compete for this team's time?"},{"id":"07.11","kind":"H","where":"Your architecture","question":"Which of these systems duplicate yours, and which get retired?"},{"id":"07.12","kind":"H","where":"The engagement","question":"What will integration cost, and in what order?"},{"id":"07.13","kind":"H","where":"Your org design","question":"Where does the team land in your organisation, and who reports to whom?"},{"id":"07.14","kind":"H","where":"Deal terms","question":"Are there earn-outs, retention packages or contractor IP to assign?"},{"id":"07.15","kind":"H","where":"Customer contracts","question":"Do customer contracts limit hosting, regions or vendors?"}],"not_assessable_reason":"structurally not assessable from a repository"}],"repository":{"loc":1835956,"head":"2b35144b2098f8f6ad6af31bf72356a42f813d58","slug":"langgenius/dify","tags":179,"stars":159361,"shallow":false,"span_days":1257.6,"last_commit":"2026-10-23T14:17:56+00:00","surveyed_at":"2026-10-23T17:35:44.306701+00:00","commits_read":14419,"first_commit":"2023-05-15T00:51:32+00:00","truncated_at":null,"window_start":"2023-05-15T00:51:32+00:00","tracked_files":14914,"history_complete":true},"generated_at":"2026-10-23T17:45:09.477842+00:00","generated_by":"borehole 0.7.15","rejection_log":[{"reason":"change is spread across the codebase rather than pooling in a few files","signal":"hotspot_concentration","observed":{"files":33700,"top5_share":0.01},"dimension":"04","conclusive":true},{"reason":"debt markers are sparse","signal":"debt_markers","observed":{"markers":135,"per_kloc":0.07,"lines_read":1825797},"dimension":"04","conclusive":true},{"reason":"test effort kept pace with code written","signal":"test_growth","observed":{"late_test_per_code":1.188,"early_test_per_code":0.059},"dimension":"04","conclusive":true},{"reason":"rework is not rising against new work","signal":"churn_trend","observed":{"late_delete_per_insert":0.698,"early_delete_per_insert":0.341,"single_commit_deletions_set_aside":[]},"dimension":"04","conclusive":true},{"reason":"every pinned runtime is still supported","signal":"eol_runtime","observed":{"pinned":["go 1.26","python 3.13"],"eol_as_of":"2026-09-24"},"dimension":"04","conclusive":true},{"reason":"fixes usually come with a test","signal":"fixes_with_tests","observed":{"fixes":4298,"share":0.377,"with_tests":1620},"dimension":"04","conclusive":true},{"reason":"fixing is not crowding out building","signal":"fix_share_trend","observed":{"fix_share_by_quarter_newest_first":[0.37,0.39,0.25,0.41,0.49,0.53,0.58,0.54]},"dimension":"04","conclusive":true},{"reason":"columns, once added, stay","signal":"schema_churn","observed":{"dropped_within_90_days":0,"columns_added_last_year":11},"dimension":"04","conclusive":true},{"reason":"little code is kept for the old way","signal":"compat_layers","observed":{"share":0.0,"code_files":6917,"compat_files":2,"oldest_months":4},"dimension":"04","conclusive":true},{"reason":"a telemetry or error-reporting library is referenced","signal":"telemetry_presence","observed":{"note":"presence only; whether anyone watches it is not visible here","sample":[".github/dependabot.yml: opentelemetry","api/.env.example: ","api/app_factory.py: opentelemetry"],"matches":164},"dimension":"06","conclusive":true},{"reason":"a health or readiness check is defined","signal":"healthcheck_presence","observed":{"sample":[".github/workflows/cli-smoke.yml: /health",".github/workflows/db-migration-test.yml: healthcheck\n",".github/workflows/knowledge-fs-ci.yml: /health"]},"dimension":"06","conclusive":true},{"reason":"the service is visible in more than one way","signal":"telemetry_depth","observed":{"kinds":["metrics","traces","error reporting"]},"dimension":"06","conclusive":true},{"reason":"a frontend: console output is the browser's, not the server's","signal":"print_logging","observed":{},"dimension":"06","conclusive":false},{"reason":"a request can be followed through the logs","signal":"correlation_ids","observed":{"tracing":true,"request_id_sites":210},"dimension":"06","conclusive":true},{"reason":"an error reporter is initialised","signal":"error_reporting","observed":{"installed":["@sentry","sentry_sdk"],"initialised":2,"config_files":2},"dimension":"06","conclusive":true},{"reason":"the product's code names no reporting host","signal":"usage_reporting_default","observed":{"settings_on":12,"settings_off":3,"reporting_hosts":[]},"dimension":"06","conclusive":true},{"reason":"no alert rules in the repository; they may live in a console","signal":"alert_rules","observed":{"alert_files":0},"dimension":"06","conclusive":false},{"reason":"no Kubernetes probes","signal":"probes_identical","observed":{},"dimension":"06","conclusive":false},{"reason":"no Kubernetes deployments","signal":"single_replica","observed":{},"dimension":"06","conclusive":false},{"reason":"releases are marked","signal":"release_markers","observed":{"tags_last_year":27,"release_commits":0,"changelog_commits":21,"commits_last_year":6382},"dimension":"06","conclusive":true},{"reason":"migrations do not run at container start","signal":"migrate_on_start","observed":{},"dimension":"06","conclusive":true},{"reason":"no feature-flag service; flags may live elsewhere","signal":"feature_flags","observed":{"sdk_files":0,"evaluation_sites":0},"dimension":"06","conclusive":false},{"reason":"no single contributor dominates the last 24 months","signal":"contributor_concentration","observed":{"years":3.4,"window":"last 24 months","authors":1514,"top_share":"less than a quarter","bus_factor":16,"authors_in_window":1164,"top_share_all_time":"less than a quarter","bus_factor_all_time":16},"dimension":"03","conclusive":true},{"reason":"more than one contributor active in the trailing year","signal":"active_contributors","observed":{"all_time":1514,"active_12mo":623},"dimension":"03","conclusive":true},{"reason":"every substantial directory has been touched by more than one person","signal":"knowledge_silos","observed":{"authors":1514,"directories":10},"dimension":"03","conclusive":true},{"reason":"an open contributor base, where one-commit contributors are normal","signal":"drive_by_contributors","observed":{"authors":1514,"one_off_share":0.578},"dimension":"03","conclusive":true},{"reason":"no contributor dominates enough for their absence to matter","signal":"contributor_attrition","observed":{"authors":1514,"top_share":"less than a quarter","top_contributor_last_committed":"within the last three months"},"dimension":"03","conclusive":true},{"reason":"more than one person changes the critical paths","signal":"critical_path_ownership","observed":{"authors":1164,"sole_owned_areas":[]},"dimension":"03","conclusive":true},{"reason":"the second and third contributors are still active","signal":"second_contributor_attrition","observed":{"gone":[]},"dimension":"03","conclusive":true},{"reason":"the team has not narrowed to one person","signal":"bus_factor_trend","observed":{"by_year_newest_first":[8,17,9,2]},"dimension":"03","conclusive":true},{"reason":"the team is not shrinking","signal":"joiners_and_leavers","observed":{"left":108,"joined":148,"regular_last_year":191,"regular_prior_year":166},"dimension":"03","conclusive":true},{"reason":"a meaningful share of recent change carries evidence of review","signal":"merge_discipline","observed":{"merges":1,"window":"last 24 months","with_tracked":46,"with_reviewed":0,"reviewed_share":1.0,"commits_in_window":10729,"squashed_with_pr_ref":10719,"with_signed_off_other":420,"reviewed_share_all_time":0.999,"with_committed_by_other":10727},"dimension":"02","conclusive":true},{"reason":"CI configuration is present in the working tree","signal":"ci_presence","observed":{"count":41,"configs":[".github/workflows/accessibility-e2e.yml",".github/workflows/api-tests.yml",".github/workflows/autofix.yml",".github/workflows/build-push.yml",".github/workflows/cli-e2e.yml"]},"dimension":"02","conclusive":true},{"reason":"tests are present in a normal proportion to source","signal":"test_presence","observed":{"tests":4682,"source":11415,"test_ratio":0.41},"dimension":"02","conclusive":true},{"reason":"tags are present","signal":"release_cadence","observed":{"tags":179,"sample":["0.10.0","0.10.0-beta1","0.10.0-beta2","0.10.0-beta3","0.10.1"]},"dimension":"02","conclusive":true},{"reason":"commit subjects generally carry content","signal":"conventional_commits","observed":{"sampled":14418,"low_content_share":0.0},"dimension":"02","conclusive":true},{"reason":"process scaffolding is present in the repository","signal":"branch_protection_hints","observed":{"present":["CI workflows","CODEOWNERS","a pull-request template","contribution guidance"]},"dimension":"02","conclusive":true},{"reason":"CI invokes a test runner","signal":"ci_runs_tests","observed":{"sample":[".github/workflows/api-tests.yml",".github/workflows/cli-e2e.yml",".github/workflows/dify-agent-tests.yml"],"configs":41,"with_tests":10},"dimension":"02","conclusive":true},{"reason":"few tests are switched off","signal":"skipped_tests","observed":{"focused":0,"skipped":0,"test_files":4763,"files_with_skips":0},"dimension":"02","conclusive":true},{"reason":"no test run in CI is written so that it cannot fail","signal":"ci_test_gating","observed":{"configs":41},"dimension":"02","conclusive":true},{"reason":"change is rarely undone","signal":"revert_share","observed":{"share":0.003,"reverts":29,"recent_commits":10242},"dimension":"02","conclusive":true},{"reason":"dependencies move with the code","signal":"dependency_update_cadence","observed":{"lockfiles":5,"commits_since":12,"days_since_lockfile_changed":0},"dimension":"02","conclusive":true},{"reason":"tests are not retried until they pass","signal":"flaky_test_markers","observed":{"test_retries":0,"suite_retries":0},"dimension":"02","conclusive":true},{"reason":"a linter or formatter runs in the build","signal":"lint_in_build","observed":{"wired":12,"ci_configs":41,"product_files":6917},"dimension":"02","conclusive":true},{"reason":"too few merges to judge (squash and rebase leave none)","signal":"long_lived_branches","observed":{"merges":1},"dimension":"02","conclusive":false},{"reason":"no commit run met both the rate and the net-addition threshold","signal":"burst_import","observed":{"gap_seconds":180,"min_add_ratio":3.0,"min_net_added":2000,"bursts_by_rate":144,"bursts_by_volume":0},"dimension":"01","conclusive":true},{"reason":"first commit is not a disproportionate share of the codebase","signal":"initial_dump","observed":{"insertions":56028,"share_of_insertions":0.0077},"dimension":"01","conclusive":true},{"reason":"commit subjects vary in wording and length","signal":"message_uniformity","observed":{"length_stdev":20.01,"repeat_share":0.001},"dimension":"01","conclusive":true},{"reason":"most files were revisited after they were first written","signal":"revision_depth","observed":{"files_seen":8681,"write_once_share":0.308},"dimension":"01","conclusive":true},{"reason":"little shipping code is repeated verbatim across files","signal":"duplicated_blocks","observed":{"share":0.0136,"product_files":6732,"distinct_blocks":758673,"duplicated_blocks":10299},"dimension":"01","conclusive":true},{"reason":"errors are rarely thrown away","signal":"swallowed_errors","observed":{"loc":1835956,"files":59,"per_kloc":0.04,"swallowed":79},"dimension":"01","conclusive":true},{"reason":"no language migration is stalled halfway","signal":"unfinished_migration","observed":{},"dimension":"01","conclusive":true},{"reason":"too few notebooks","signal":"notebook_outputs","observed":{"notebooks":0},"dimension":"01","conclusive":false},{"reason":"no model weights are committed","signal":"weights_in_git","observed":{"files":0},"dimension":"01","conclusive":true},{"reason":"no credential-shaped strings outside test and fixture paths; the only other matches are expired or licence tokens or placeholders, which grant nothing","signal":"committed_secrets","observed":{"note":"the working tree only; the history is 05.5","patterns":8,"files_read":10193,"inert_tokens_set_aside":1,"fixture_matches_ignored":0},"dimension":"05","conclusive":true},{"reason":"at least one standard guard rail is configured","signal":"security_guardrails","observed":{"present":[".github/CODEOWNERS",".github/dependabot.yml","CONTRIBUTING.md","README.md","SECURITY.md"]},"dimension":"05","conclusive":true},{"reason":"a lockfile is committed, so builds are reproducible","signal":"dependency_pinning","observed":{"lockfile":true},"dimension":"05","conclusive":true},{"reason":"a licence file is present","signal":"license_present","observed":{"found":true},"dimension":"05","conclusive":true},{"reason":"no environment file is committed outside tests and examples","signal":"secrets_management_pattern","observed":{"env_files":0},"dimension":"05","conclusive":true},{"reason":"third-party build steps are pinned, or few","signal":"supply_chain_pinning","observed":{"action_refs":180,"pipe_to_shell":0,"unpinned_third_party":2},"dimension":"05","conclusive":true},{"reason":"outbound calls set timeouts, or are few","signal":"outbound_timeouts","observed":{"languages_not_read":["TSX"],"calls_without_timeout":0},"dimension":"05","conclusive":true},{"reason":"migrations can be rolled back","signal":"migration_reversibility","observed":{"share":0.045,"migrations":242,"irreversible":11},"dimension":"05","conclusive":true},{"reason":"product code does not build shell commands from strings","signal":"shell_from_strings","observed":{"sites":0},"dimension":"05","conclusive":true},{"reason":"no Kubernetes workload manifests","signal":"resource_limits","observed":{"workloads":0},"dimension":"05","conclusive":false},{"reason":"deployment configuration references secrets, never holds them","signal":"credentials_in_deploy_config","observed":{"files":0,"sites":0},"dimension":"05","conclusive":true},{"reason":"only publishable values carry a public prefix","signal":"public_env_secret","observed":{"names":0,"sites":0,"not_secrets":0,"languages_not_read":["Python"]},"dimension":"05","conclusive":true},{"reason":"raw HTML is rare, literal or sanitised","signal":"unsafe_html","observed":{"sites":2,"languages_not_read":["Python"]},"dimension":"05","conclusive":true},{"reason":"no signing keystore or profile is committed","signal":"signing_material","observed":{"files":0},"dimension":"05","conclusive":true},{"reason":"not a mobile app","signal":"cleartext_traffic","observed":{},"dimension":"05","conclusive":false},{"reason":"little data is committed","signal":"dataset_provenance","observed":{"data_files":0,"licence_or_card_files":0},"dimension":"05","conclusive":true},{"reason":"every licence found in vendored code is permissive or weak-copyleft","signal":"license_copyleft_inherited","observed":{"vendored_paths":7},"dimension":"05","conclusive":true},{"reason":"no packaging manifest states a licence","signal":"license_manifest_conflict","observed":{"manifests_checked":["package.json","pyproject.toml","Cargo.toml","composer.json"]},"dimension":"05","conclusive":false},{"reason":"no vendored third-party code is committed","signal":"license_vendored_unlicensed","observed":{"components":0},"dimension":"05","conclusive":true},{"reason":"no widely used compiled library is committed to the product","signal":"committed_native_libraries","observed":{"libraries":0,"recognised":[]},"dimension":"05","conclusive":true},{"reason":"the history scanned covers 3 months, less than the 12 this question needs","signal":"flags_accumulating","observed":{"months_scanned":3},"dimension":"04","conclusive":false},{"reason":"the history scanned covers 3 months, less than the 18 this question needs","signal":"api_versions_coexisting","observed":{"months_scanned":3},"dimension":"04","conclusive":false},{"reason":"the history scanned covers 3 months, less than the 24 this question needs","signal":"deprecations_lingering","observed":{"months_scanned":3},"dimension":"04","conclusive":false},{"reason":"the history scanned covers 3 months, less than the 24 this question needs","signal":"dependency_churn","observed":{"months_scanned":3},"dimension":"04","conclusive":false},{"reason":"the history scanned covers 3 months, less than the 24 this question needs","signal":"ci_platforms_dropped","observed":{"months_scanned":3},"dimension":"04","conclusive":false},{"reason":"the README's first screen states no end, move or freeze","signal":"repository_status","observed":{"statements":0},"dimension":"04","conclusive":true},{"reason":"nothing says development happens elsewhere","signal":"development_elsewhere","observed":{"no_pr_statements":0,"mirror_statements":0,"replayed_commit_share":0.0},"dimension":"02","conclusive":true},{"reason":"no directory carries a separate paid-edition licence","signal":"paid_edition","observed":{"directories":0},"dimension":"05","conclusive":true},{"reason":"releases keep pace with development","signal":"releases_stopped","observed":{"median_gap_days":13.5,"days_since_last_tag":0,"commits_last_90_days":2455},"dimension":"04","conclusive":true},{"reason":"no file says one person maintains it","signal":"single_maintainer","observed":{"statements":0},"dimension":"03","conclusive":true},{"reason":"record incomplete: no advisory found in the sources that answered; OSV npm dify-client (an empty record for a package published here) did not; NVD: 6 records name dify with nothing tying them to this repository (CVE-2025-0185, CVE-2026-18266, CVE-2026-18632, …)","signal":"project_advisories","observed":{"sources":["OSV by commit","OSV PyPI dify-api (declared here)","OSV npm @langgenius/difyctl (declared here)","OSV PyPI dify-agent (declared here)","OSV npm @langgenius/dev-proxy (declared here)","OSV PyPI dify-trace-aliyun (declared here)","OSV PyPI dify-trace-arize-phoenix (declared here)","OSV PyPI dify-trace-langfuse (declared here)","OSV PyPI dify-trace-langsmith (declared here)","OSV PyPI dify-trace-mlflow (declared here)","OSV PyPI dify-trace-opik (declared here)","OSV PyPI dify-trace-tencent (declared here)","OSV PyPI dify-trace-weave (declared here)","OSV PyPI dify-vdb-alibabacloud-mysql (declared here)","OSV PyPI dify-vdb-analyticdb (declared here)","OSV PyPI dify-vdb-baidu (declared here)","OSV PyPI dify-vdb-chroma (declared here)","OSV PyPI dify-vdb-clickzetta (declared here)","OSV PyPI dify-vdb-couchbase (declared here)","OSV PyPI dify-vdb-elasticsearch (declared here)","OSV PyPI dify-vdb-hologres (declared here)","OSV PyPI dify-vdb-huawei-cloud (declared here)","OSV PyPI dify-vdb-iris (declared here)","OSV PyPI dify-vdb-lindorm (declared here)","OSV PyPI dify-vdb-matrixone (declared here)","GitHub repository advisories","NVD"],"affecting":0,"exploited":0,"advisories":36,"version_from":"the newest release tag in the surveyed history","fix_unreleased":0,"sources_failed":["OSV npm dify-client (an empty record for a package published here)"],"version_unknown":6,"high_or_critical":0,"surveyed_version":"1.18.0","record_incomplete":["NVD: 6 records name dify with nothing tying them to this repository (CVE-2025-0185, CVE-2026-18266, CVE-2026-18632, …)"],"affecting_newest_release":0},"dimension":"05","conclusive":false},{"reason":"no affecting advisory is on CISA's Known Exploited list","signal":"project_exploited","observed":{"exploited":0},"dimension":"05","conclusive":false}],"schema_version":"1","repository_says":[{"line":null,"path":null,"text":"Releases are cut from another branch than the one surveyed","finding":"04.62"},{"line":1,"path":"LICENSE","text":"The licence is Apache-2.0 with a commercial-licence condition: source available, not open source","finding":"05.66"},{"line":null,"path":"LICENSE","text":"Relicensed: Apache-2.0 → Apache-2.0 with terms on offering it as a service (2023-07-28) → Apache-2.0 with a commercial-licence condition and terms on offering it as a service (2024-03-04) → Apache-2.0 with a commercial-licence condition (2024-09-09)","finding":"05.60"},{"line":76,"path":"CONTRIBUTING.md","text":"states a policy on AI-generated contributions","phrase":null}],"surveyed_commit":{"says":"The newest pre-release, 2.0.0-beta.2, is not on the branch this survey read; the newest release on it is 1.18.0","kinds":["not the release line"],"advice":"Read this report as describing that commit, not the release users run. Survey the release branch or tag as well.","newest_release":{"sha":"50abea97062110044f15d0e03ccecadd9ccc87ca","tag":"1.18.0"}},"provenance_disclosure":{"agents":["Claude","Codex","Cursor","Devin","Gemini","GitHub Copilot","Jules","Warp"],"recent":{"since":"2025-10-23","until":"2026-10-23","window":"the last 12 months","measures":"share of lines added in the last 12 months to 2026-10-23 by commits declaring an AI agent as co-author: the same floor as the all-time share, over a shorter window","confidence":"low","ai_line_share":0.1756,"total_commits":6761,"ai_commit_share":0.0877,"confidence_basis":["40% of non-merge commits carry any trailer at all","low trailer coverage: the convention may not be in consistent use","no widespread author/committer date divergence","the declared share is neither decisive nor negligible, so the true figure is more sensitive to undeclared work"],"declared_commits":593,"total_lines_added":4926872,"declared_lines_added":865075},"window":null,"excluded":"lockfiles, vendored and generated paths are excluded from both measurements so that code nobody wrote cannot move the share","measures":"share of lines added by commits declaring an AI agent as co-author, as a proportion of all lines ever added","confidence":"low","measurable":true,"ai_line_share":0.1489,"total_commits":14418,"affects_rating":false,"excluded_lines":548621,"ai_commit_share":0.0505,"confidence_basis":["32% of non-merge commits carry any trailer at all","low trailer coverage: the convention may not be in consistent use","no widespread author/committer date divergence","the declared share is neither decisive nor negligible, so the true figure is more sensitive to undeclared work"],"declared_commits":728,"total_lines_added":6707303,"surviving_ai_lines":null,"surviving_measures":"share of lines still present in the working tree that originate in an AI-declared commit; null unless the scan was run with --deep","commit_share_by_year":{"2023":0.0,"2024":0.0,"2025":0.0678,"2026":0.0778},"declared_agent_names":["Claude","Claude (claude-opus-4-5)","Claude (claude-opus-4-6)","Claude Fable 5","Claude Fable 5.1","Claude Haiku 4.5","Claude Opus 4.5","Claude Opus 4.6","Claude Opus 4.6 (1M context)","Claude Opus 4.7","Claude Opus 4.7 (1M context)","Claude Opus 4.8","Claude Opus 4.8 (1M context)","Claude Opus 5 (1M context)","Claude Opus 5.5","Claude Sonnet 4","Claude Sonnet 4.5","Claude Sonnet 4.6","Claude Sonnet 5","Claude Sonnet 5.5","Codex","Copilot","Copilot Autofix powered by AI","Cursor","Cursor Agent","Devin","GPT 5.4","Oz","claude[bot]","copilot-swe-agent[bot]","gemini-code-assist[bot]","google-labs-jules[bot]"],"declared_lines_added":999044,"surviving_line_share":null,"floor_not_measurement":"This is a lower bound. It counts what the repository declares. Undeclared AI authorship is invisible here, and a single rebase removes the trailers this rests on. Absence of a declaration is absence of disclosure, not absence of AI authorship.","surviving_total_lines":null},"reliance":"An automated reading of a repository's code and its history up to one commit, with public advisory records. It may be wrong, it is not legal, financial, investment or security advice, and it does not replace diligence by a qualified person. It is provided for information: nobody may rely on it (Borehole's terms, section 3).","published_under_todays_rules":["2 findings from checks Borehole's calibration found wrong more often than right are no longer published."]}