{"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":"pkg/util/databasesqlwrapper/conn.go is 11,443 lines, 176× this codebase's median file","signal":"oversized_modules","weight":"corroborating","context":true,"evidence":[{"ref":"line-count","kind":"path","path":"pkg/util/databasesqlwrapper/conn.go","detail":"11,443 lines (176× median)","line_end":11443,"line_start":1},{"ref":"line-count","kind":"path","path":"portal/src/graphql/portal/LoginMethodConfigurationScreen.tsx","detail":"4,006 lines (61× median)","line_end":4006,"line_start":1},{"ref":"line-count","kind":"path","path":"pkg/lib/oauth/handler/handler_token.go","detail":"2,500 lines (38× median)","line_end":2500,"line_start":1},{"ref":"line-count","kind":"path","path":"portal/src/graphql/portal/HookConfigurationScreen.tsx","detail":"2,427 lines (37× median)","line_end":2427,"line_start":1},{"ref":"line-count","kind":"path","path":"portal/src/graphql/adminapi/UserDetailsAccountStatus.tsx","detail":"1,906 lines (29× median)","line_end":1906,"line_start":1}],"observed":{"largest":11443,"library":{"n":382,"share":88,"value":176.0,"cutoff":138.63,"material":true,"percentile":85},"threshold":1000,"files_over":38,"median_lines":65},"standing":"Measured against its own codebase's median, it is larger than 88% of 382 surveyed projects' largest files.","dimension":"01","rationale":"The median source file here is 65 lines. 38 files exceed 1,000 lines, the largest being 11,443. 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: notes like it are common in well-run projects."},{"id":"01.25","band":"adequate","layer":"deterministic","title":"1 base image floats: no version, or `latest`","signal":"build_reproducibility","weight":"corroborating","evidence":[{"ref":"once/partial.dockerfile","kind":"path","path":"once/partial.dockerfile","detail":"base image without a version","line_end":12,"line_start":12}],"observed":{"floating":1,"from_lines":29},"dimension":"01","rationale":"1 of 29 `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":"The tree carries design documentation (docs/specs/user-profile/design.md and 1 more).","question":"Does it match what the team believes today? Ask them to walk through it against the code."},{"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":"strong","name":"Engineering Process & SDLC Maturity","coverage":"high","findings":[],"signals_run":16,"conclusive_signals":16,"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":"adequate","name":"Organization & Key-Person Risk","coverage":"partial","findings":[{"id":"03.1","band":"adequate","layer":"deterministic","title":"Bus factor 1: recent work is concentrated in one contributor","signal":"contributor_concentration","weight":"corroborating","evidence":[{"ref":"git shortlog -sn","kind":"metric","detail":"last 24 months: top author more than half of 5,632 commits; bus factor 1; 12 authors"}],"observed":{"years":11.7,"window":"last 24 months","authors":49,"top_share":"more than half","bus_factor":1,"authors_in_window":12,"top_share_all_time":"a quarter or more","bus_factor_all_time":2},"dimension":"03","rationale":"In the last 24 months, one contributor authored more than half of 5,632 non-merge commits among 12 authors; across all history, a quarter or more of 21,978. This is the single most expensive thing to discover after closing, and the repository cannot tell you whether that person is part of the transaction."},{"id":"03.5","band":"adequate","layer":"deterministic","title":"The contributor who wrote a quarter or more of this has not committed here for more than six months","signal":"contributor_attrition","weight":"corroborating","evidence":[{"ref":"last-commit-by-top-author","kind":"metric","detail":"last commit more than six months ago, measured to the survey"},{"ref":"git shortlog -sn","kind":"metric","detail":"top author a quarter or more of 21,978 commits"}],"observed":{"authors":49,"top_share":"a quarter or more","top_contributor_last_committed":"more than six months ago"},"dimension":"03","rationale":"One person authored a quarter or more of 21,978 commits and has not committed here for more than six months, while the repository has kept moving. The concentration figure alone would not show this. Whoever is changing this code now is not the person who wrote most of it, which is the situation an acquirer is usually told they are avoiding. The history shows only that no commits of theirs landed here, not why."},{"id":"03.26","band":"adequate","layer":"deterministic","title":"The bus factor fell from 3 to 1","signal":"bus_factor_trend","weight":"corroborating","evidence":[{"ref":"bus factor by year","kind":"metric","detail":"1, 1, 3, 2"}],"observed":{"by_year_newest_first":[1,1,3,2]},"dimension":"03","rationale":"Year by year, newest first, the number of people who wrote half the changes was 1, 1, 3, 2. The team narrowed to one person, which is a different risk from one that always was: the code does not say why."}],"signals_run":10,"conclusive_signals":10,"what_a_person_adds":[{"id":"03.29","kind":"H+","where":"The deal terms","measured":"49 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":"107 direct dependencies in a single manifest","signal":"dependency_sprawl","weight":"corroborating","evidence":[{"ref":"direct-dependencies","kind":"path","path":"go.mod","detail":"107 declared"},{"ref":"direct-dependencies","kind":"path","path":"portal/package.json","detail":"41 declared"},{"ref":"direct-dependencies","kind":"path","path":"authui/package.json","detail":"12 declared"},{"ref":"direct-dependencies","kind":"path","path":"portalgraphiql/package.json","detail":"7 declared"}],"observed":{"set_aside":{"e2e/go.mod":"not product code (test)","e2e/cmd/hookserver/go.mod":"not product code (test)","scripts/python/requirements.txt":"not product code (tooling)"},"by_manifest":{"go.mod":107,"k6/go.mod":3,"authui/package.json":12,"portal/package.json":41,"portalgraphiql/package.json":7,"portal/comments-api/package.json":1}},"dimension":"04","rationale":"go.mod declares 107 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."}],"signals_run":19,"conclusive_signals":15,"what_a_person_adds":[{"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.1","band":"adequate","layer":"deterministic","title":"19 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings","signal":"committed_secrets","weight":"corroborating","evidence":[{"kind":"metric","ref":"JWT","detail":"5 cited: JWT, where fakes are usual"}],"observed":{"sample_matches":19,"inert_tokens_set_aside":0},"dimension":"05","rationale":"Strings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key.","locations_withheld":5},{"id":"05.6","band":"adequate","layer":"deterministic","title":"6 Dockerfiles run the application as root","signal":"container_runs_as_root","weight":"corroborating","evidence":[{"ref":"no-USER-instruction","kind":"path","path":"cmd/authgear/Dockerfile","detail":"runs as root"},{"ref":"no-USER-instruction","kind":"path","path":"cmd/portal/Dockerfile","detail":"runs as root"},{"ref":"no-USER-instruction","kind":"path","path":"portal/comments-api/Dockerfile","detail":"runs as root"},{"ref":"no-USER-instruction","kind":"path","path":"portal/storybook/Dockerfile","detail":"runs as root"}],"observed":{"rootful":6,"dockerfiles":7},"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":"1 SQL statement built from strings","signal":"sql_from_strings","weight":"corroborating","context":true,"evidence":[{"ref":"pkg/util/sqlmigrate/maintenance.go","kind":"path","path":"pkg/util/sqlmigrate/maintenance.go","detail":"SQL built from a string","line_end":22,"line_start":22}],"observed":{"files":1,"sites":1,"value_interpolated":0},"dimension":"05","rationale":"1 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. 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.26","band":"adequate","layer":"deterministic","title":"1 locked dependency has published vulnerabilities","signal":"known_vulnerabilities","weight":"corroborating","context":true,"evidence":[{"ref":"portal/package-lock.json","kind":"path","path":"portal/package-lock.json","detail":"ip-address 10.7.1: GHSA-rxp7-6hxx-x8q5 (moderate), fixed in 10.7.4"}],"observed":{"advisories":1,"dependencies":708,"high_or_critical":0,"pinned_to_a_commit":0,"ecosystems_not_read":[],"vulnerable_packages":1,"set_aside_not_imported":1,"high_or_critical_shipping":0},"dimension":"05","rationale":"1 of 708 locked dependencies match 1 published advisories in OSV. 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.","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.48","band":"adequate","layer":"deterministic","title":"9 places insert HTML from a variable without sanitising it","signal":"unsafe_html","weight":"corroborating","context":true,"evidence":[{"ref":"authui/src/authflowv2/alert-message.ts","kind":"path","path":"authui/src/authflowv2/alert-message.ts","detail":"HTML from a variable","line_end":49,"line_start":49},{"ref":"authui/src/authflowv2/customSelect.ts","kind":"path","path":"authui/src/authflowv2/customSelect.ts","detail":"HTML from a variable","line_end":361,"line_start":361},{"ref":"authui/src/authflowv2/customSelect.ts","kind":"path","path":"authui/src/authflowv2/customSelect.ts","detail":"HTML from a variable","line_end":411,"line_start":411}],"observed":{"sites":9},"dimension":"05","rationale":"9 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.","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.49","band":"adequate","layer":"deterministic","title":"The production build publishes source maps","signal":"source_maps_shipped","weight":"corroborating","evidence":[{"ref":"authui/vite.config.ts","kind":"path","path":"authui/vite.config.ts","detail":"source maps in a production build","line_end":416,"line_start":416},{"ref":"portal/vite.config.ts","kind":"path","path":"portal/vite.config.ts","detail":"source maps in a production build","line_end":186,"line_start":186}],"observed":{"sites":2},"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.9","band":"adequate","layer":"deterministic","title":"15 vendored components with no licence","signal":"license_vendored_unlicensed","weight":"corroborating","context":true,"evidence":[{"ref":"pkg/images/deps/context.go","kind":"path","path":"pkg/images/deps/context.go","detail":"1 tracked files, no licence file"},{"ref":"pkg/images/deps/deps.go","kind":"path","path":"pkg/images/deps/deps.go","detail":"1 tracked files, no licence file"},{"ref":"pkg/images/deps/middleware_request.go","kind":"path","path":"pkg/images/deps/middleware_request.go","detail":"1 tracked files, no licence file"},{"ref":"pkg/images/deps/provider.go","kind":"path","path":"pkg/images/deps/provider.go","detail":"1 tracked files, no licence file"},{"ref":"pkg/lib/deps/context.go","kind":"path","path":"pkg/lib/deps/context.go","detail":"1 tracked files, no licence file"},{"ref":"pkg/lib/deps/contextbackground.go","kind":"path","path":"pkg/lib/deps/contextbackground.go","detail":"1 tracked files, no licence file"}],"observed":{"unlicensed":["pkg/images/deps/context.go","pkg/images/deps/deps.go","pkg/images/deps/middleware_request.go","pkg/images/deps/provider.go","pkg/lib/deps/context.go","pkg/lib/deps/contextbackground.go","pkg/lib/deps/deps_common.go","pkg/lib/deps/deps_config.go","pkg/lib/deps/deps_provider.go","pkg/lib/deps/deps_utils.go","pkg/lib/deps/middleware_request.go","pkg/lib/deps/providers.go","pkg/portal/deps/deps.go","pkg/portal/deps/deps_task.go","pkg/portal/deps/providers.go"],"total_components":17,"stated_in_headers_or_notices":1},"dimension":"05","rationale":"Third-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.","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":34,"conclusive_signals":25,"what_a_person_adds":[{"id":"05.38","kind":"H+","where":"The provider's console and audit log","measured":"05.5 found credential-shaped strings in this repository.","question":"Was each one revoked at the provider? Deleting it from the code revokes nothing; only the provider's audit log shows that it was."},{"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":"strong","name":"Observability & Operations","coverage":"partial","findings":[{"id":"06.9","band":"adequate","layer":"deterministic","title":"An error reporter is installed but never initialised","signal":"error_reporting","weight":"corroborating","context":true,"evidence":[{"ref":"error reporting","kind":"metric","detail":"no error reporter initialised"}],"observed":{"installed":["@sentry"],"initialised":0,"config_files":0},"dimension":"06","rationale":"Nothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.","context_why":"A note that does not affect this rating: notes like it are common in well-run projects."}],"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 Go codebase, with TypeScript alongside (24% of source files). Does your engineering organisation already run Go in production, or would this be the first?"},{"id":"07.10","kind":"H+","question":"The bulk of this system sits in pkg/, portal/, resources/. 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 (cmd/authgear/Dockerfile and 11 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":838438,"head":"0e6a4cb33896de4b985d7c2f00464cd90f92d0ad","slug":"authgear/authgear-server","tags":604,"stars":2123,"shallow":false,"span_days":4281.2,"last_commit":"2026-10-23T10:16:30+00:00","surveyed_at":"2026-10-23T21:38:20.858337+00:00","commits_read":25640,"first_commit":"2015-02-02T04:45:13+00:00","truncated_at":null,"window_start":"2015-02-02T04:45:13+00:00","tracked_files":7099,"history_complete":true},"generated_at":"2026-10-23T21:42:41.019426+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":14894,"top5_share":0.04},"dimension":"04","conclusive":true},{"reason":"debt markers are sparse","signal":"debt_markers","observed":{"markers":130,"per_kloc":0.16,"lines_read":832521},"dimension":"04","conclusive":true},{"reason":"test effort kept pace with code written","signal":"test_growth","observed":{"late_test_per_code":0.316,"early_test_per_code":0.358},"dimension":"04","conclusive":true},{"reason":"rework is not rising against new work","signal":"churn_trend","observed":{"late_delete_per_insert":0.477,"early_delete_per_insert":0.757,"single_commit_deletions_set_aside":[]},"dimension":"04","conclusive":true},{"reason":"every pinned runtime is still supported","signal":"eol_runtime","observed":{"pinned":["go 1.26","node 24","python 3.12"],"eol_as_of":"2026-09-24"},"dimension":"04","conclusive":true},{"reason":"fixes usually come with a test","signal":"fixes_with_tests","observed":{"fixes":680,"share":0.265,"with_tests":180},"dimension":"04","conclusive":true},{"reason":"fixing is not crowding out building","signal":"fix_share_trend","observed":{"fix_share_by_quarter_newest_first":[0.19,0.19,0.1,0.12,0.08,0.09,0.09,0.09]},"dimension":"04","conclusive":true},{"reason":"columns, once added, stay","signal":"schema_churn","observed":{"dropped_within_90_days":0,"columns_added_last_year":5},"dimension":"04","conclusive":false},{"reason":"little code is kept for the old way","signal":"compat_layers","observed":{"share":0.0,"code_files":3383,"compat_files":0,"oldest_months":0},"dimension":"04","conclusive":true},{"reason":"one library per job, mostly","signal":"dependency_redundancy","observed":{"jobs_doubled":{}},"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":[".env.example: ","authui/package.json: @sentry","authui/src/authflowv2.ts: @sentry"],"matches":111},"dimension":"06","conclusive":true},{"reason":"a structured logging library is referenced","signal":"structured_logging","observed":{"sample":["cmd/authgear/images/server/server.go","cmd/authgear/server/server.go","cmd/portal/cmd/cmddatabase/prune.go"],"matches":121},"dimension":"06","conclusive":true},{"reason":"a health or readiness check is defined","signal":"healthcheck_presence","observed":{"sample":["e2e/cmd/cimdserver/main.go: /healthz","e2e/cmd/hookserver/main.go: /healthz","e2e/cmd/syslogserver/main.go: /healthz"]},"dimension":"06","conclusive":true},{"reason":"the service is visible in more than one way","signal":"telemetry_depth","observed":{"kinds":["metrics","traces","structured logs"]},"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":9},"dimension":"06","conclusive":true},{"reason":"the product's code names no reporting host","signal":"usage_reporting_default","observed":{"settings_on":6,"settings_off":0,"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":"every deployed image names a version","signal":"deployed_image_floats","observed":{"images":12,"floating":0},"dimension":"06","conclusive":true},{"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":"environment differences live in configuration","signal":"environment_branching","observed":{"sites":0},"dimension":"06","conclusive":true},{"reason":"releases are marked","signal":"release_markers","observed":{"tags_last_year":51,"release_commits":0,"changelog_commits":0,"commits_last_year":2516},"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":"more than one contributor active in the trailing year","signal":"active_contributors","observed":{"all_time":49,"active_12mo":10},"dimension":"03","conclusive":true},{"reason":"a healthy share of contributors committed more than once","signal":"drive_by_contributors","observed":{"share":0.122,"authors":49,"one_commit_authors":6},"dimension":"03","conclusive":true},{"reason":"more than one person changes the critical paths","signal":"critical_path_ownership","observed":{"authors":12,"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 is not shrinking","signal":"joiners_and_leavers","observed":{"left":2,"joined":4,"regular_last_year":7,"regular_prior_year":5},"dimension":"03","conclusive":true},{"reason":"a meaningful share of recent change carries evidence of review","signal":"merge_discipline","observed":{"merges":940,"window":"last 24 months","with_tracked":0,"with_reviewed":0,"reviewed_share":0.167,"commits_in_window":6626,"squashed_with_pr_ref":0,"with_signed_off_other":54,"reviewed_share_all_time":0.233,"with_committed_by_other":734},"dimension":"02","conclusive":true},{"reason":"CI configuration is present in the working tree","signal":"ci_presence","observed":{"count":13,"configs":[".github/workflows/authgear-once.yaml",".github/workflows/chromatic.yaml",".github/workflows/ci-branches.yaml",".github/workflows/ci-prs.yaml",".github/workflows/ci-tags.yaml"]},"dimension":"02","conclusive":true},{"reason":"tests are present in a normal proportion to source","signal":"test_presence","observed":{"tests":837,"source":4065,"test_ratio":0.206},"dimension":"02","conclusive":true},{"reason":"tags are present","signal":"release_cadence","observed":{"tags":604,"sample":["2021-05-06.0","2021-05-18.0","2021-05-31.0","2021-06-29.0","2021-06-29.1"]},"dimension":"02","conclusive":true},{"reason":"commit subjects generally carry content","signal":"conventional_commits","observed":{"sampled":22034,"low_content_share":0.009},"dimension":"02","conclusive":true},{"reason":"process scaffolding is present in the repository","signal":"branch_protection_hints","observed":{"present":["CI workflows","contribution guidance"]},"dimension":"02","conclusive":true},{"reason":"CI invokes a test runner","signal":"ci_runs_tests","observed":{"sample":[".github/workflows/periodic-check-files.yaml",".github/workflows/run-checks.yaml"],"configs":13,"with_tests":2},"dimension":"02","conclusive":true},{"reason":"few tests are switched off","signal":"skipped_tests","observed":{"focused":0,"skipped":0,"test_files":1447,"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":13},"dimension":"02","conclusive":true},{"reason":"change is rarely undone","signal":"revert_share","observed":{"share":0.001,"reverts":4,"recent_commits":5632},"dimension":"02","conclusive":true},{"reason":"dependencies move with the code","signal":"dependency_update_cadence","observed":{"lockfiles":9,"commits_since":1,"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":7,"ci_configs":13,"product_files":3383},"dimension":"02","conclusive":true},{"reason":"the typical branch reaches the trunk quickly","signal":"long_lived_branches","observed":{"share":0.015,"merges":855,"long_lived":13,"median_days":1},"dimension":"02","conclusive":true},{"reason":"changes arrive in reviewable sizes","signal":"commit_size","observed":{"share":0.005,"commits":5026,"over_2000_lines":26},"dimension":"02","conclusive":true},{"reason":"the largest burst was a branch merged by a merge commit, developed on its own branch and landed in one piece (100% of it), which explains the rate: translations arrive from a vendor in bulk, dependencies and generated code are committed whole, a merged pull request is dated when it merged, not when it was written, a branch merged by a merge commit was reviewed as one piece, and an export or mirror tool dates history when it replays it","signal":"burst_import","observed":{"kinds":["a branch merged by a merge commit, developed on its own branch and landed in one piece"],"largest_commits":"70d04e6..26d3022","bursts_explained":3,"largest_net_added":3282},"dimension":"01","conclusive":true},{"reason":"first commit is not a disproportionate share of the codebase","signal":"initial_dump","observed":{"insertions":1,"share_of_insertions":0.0},"dimension":"01","conclusive":true},{"reason":"commit subjects vary in wording and length","signal":"message_uniformity","observed":{"length_stdev":16.1,"repeat_share":0.047},"dimension":"01","conclusive":true},{"reason":"most files were revisited after they were first written","signal":"revision_depth","observed":{"files_seen":5111,"write_once_share":0.226},"dimension":"01","conclusive":true},{"reason":"little shipping code is repeated verbatim across files","signal":"duplicated_blocks","observed":{"share":0.0172,"product_files":3230,"distinct_blocks":281347,"duplicated_blocks":4851},"dimension":"01","conclusive":true},{"reason":"errors are rarely thrown away","signal":"swallowed_errors","observed":{"loc":838438,"files":3,"per_kloc":0.0,"swallowed":3},"dimension":"01","conclusive":true},{"reason":"no language migration is stalled halfway","signal":"unfinished_migration","observed":{},"dimension":"01","conclusive":true},{"reason":"not a data or machine-learning repository","signal":"notebook_outputs","observed":{},"dimension":"01","conclusive":false},{"reason":"no model weights are committed","signal":"weights_in_git","observed":{"files":0},"dimension":"01","conclusive":true},{"reason":"at least one standard guard rail is configured","signal":"security_guardrails","observed":{"present":["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":56,"pipe_to_shell":0,"unpinned_third_party":1},"dimension":"05","conclusive":true},{"reason":"outbound calls set timeouts, or are few","signal":"outbound_timeouts","observed":{"calls_without_timeout":0},"dimension":"05","conclusive":true},{"reason":"too few migrations to judge","signal":"migration_reversibility","observed":{"migrations":0},"dimension":"05","conclusive":false},{"reason":"product code does not build shell commands from strings","signal":"shell_from_strings","observed":{"sites":0},"dimension":"05","conclusive":true},{"reason":"no code-executing deserialiser in product code","signal":"unsafe_deserialization","observed":{"sites":0},"dimension":"05","conclusive":true},{"reason":"no TLS verification is switched off in product code","signal":"tls_verification_off","observed":{"files":0,"sites":0,"pinned_instead":0,"behind_an_opt_in":0},"dimension":"05","conclusive":true},{"reason":"no Kubernetes workload manifests","signal":"resource_limits","observed":{"workloads":0},"dimension":"05","conclusive":false},{"reason":"no workload runs privileged or in the host's namespaces","signal":"privileged_workloads","observed":{"sites":0,"behind_a_setting_or_built_here":0},"dimension":"05","conclusive":true},{"reason":"deployment configuration references secrets, never holds them","signal":"credentials_in_deploy_config","observed":{"files":0,"sites":0},"dimension":"05","conclusive":true},{"reason":"not assessed for Go, the language the product is written in: this check's patterns read other languages only","signal":"public_env_secret","observed":{"names":0,"sites":0,"not_secrets":0,"languages_not_read":["Go"]},"dimension":"05","conclusive":false},{"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":"not a data or machine-learning repository","signal":"dataset_provenance","observed":{},"dimension":"05","conclusive":false},{"reason":"every licence found in vendored code is permissive or weak-copyleft","signal":"license_copyleft_inherited","observed":{"vendored_paths":29},"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":"the licence is recognisable as Apache-2.0","signal":"license_grant_unclear","observed":{"class":"permissive","license":"Apache-2.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":"few or no feature flags in the history","signal":"flags_accumulating","observed":{"live":0,"retired":0,"flags_seen":0,"stale_over_a_year":0},"dimension":"04","conclusive":false},{"reason":"one API version is served, or none","signal":"api_versions_coexisting","observed":{"live":[],"versions_seen":[]},"dimension":"04","conclusive":false},{"reason":"few deprecations have outlived two years","signal":"deprecations_lingering","observed":{"older_than_two_years":1,"files_with_deprecations":7},"dimension":"04","conclusive":true},{"reason":"few dependencies were added and dropped within 60 days","signal":"dependency_churn","observed":{"dependencies_seen":364,"added_in_two_years":137,"removed_within_60_days":5},"dimension":"04","conclusive":true},{"reason":"no platform was dropped from CI in the last two years","signal":"ci_platforms_dropped","observed":{"platforms_seen":["Linux","Windows","macOS"],"dropped_in_two_years":[]},"dimension":"04","conclusive":true},{"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":"the root licence has not changed in the history read","signal":"licence_changes","observed":{"licence_versions":1,"unreleased_changes":0},"dimension":"05","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":1157},"dimension":"04","conclusive":true},{"reason":"too few release tags to tell","signal":"release_branch","observed":{"tags":0},"dimension":"04","conclusive":false},{"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 Go github.com/authgear/authgear-server (an empty record for a package published here) did not","signal":"project_advisories","observed":{"sources":["OSV by commit","GitHub repository advisories","NVD"],"affecting":0,"exploited":0,"advisories":0,"version_from":"no release tag or confirmed manifest version","fix_unreleased":0,"sources_failed":["OSV Go github.com/authgear/authgear-server (an empty record for a package published here)"],"version_unknown":0,"high_or_critical":0,"surveyed_version":null,"affecting_newest_release":0},"dimension":"05","conclusive":false},{"reason":"record incomplete: no advisory against the project in the last 24 months; OSV Go github.com/authgear/authgear-server (an empty record for a package published here) did not answer","signal":"advisory_record","observed":{"newest":null,"critical":0,"affecting":0,"could_not_tell":0,"last_24_months":0,"sources_failed":["OSV Go github.com/authgear/authgear-server (an empty record for a package published here)"],"high_or_critical":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":[],"surveyed_commit":null,"provenance_disclosure":{"agents":["Claude","Cursor"],"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.1705,"total_commits":2558,"ai_commit_share":0.2217,"confidence_basis":["25% of non-merge commits carry any trailer at all","low trailer coverage: the convention may not be in consistent use","41% of commits show author/committer date divergence, which is the shape of replayed history that can drop trailers","the declared share is neither decisive nor negligible, so the true figure is more sensitive to undeclared work"],"declared_commits":567,"total_lines_added":461532,"declared_lines_added":78698},"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.0419,"total_commits":22034,"affects_rating":false,"excluded_lines":1031071,"ai_commit_share":0.0257,"confidence_basis":["3% of non-merge commits carry any trailer at all","low trailer coverage: the convention may not be in consistent use","42% of commits show author/committer date divergence, which is the shape of replayed history that can drop trailers"],"declared_commits":567,"total_lines_added":1880439,"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":{"2015":0.0,"2016":0.0,"2017":0.0,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.0,"2024":0.0,"2025":0.0,"2026":0.2504},"declared_agent_names":["Claude Haiku 4.5","Claude Opus 4.5","Claude Opus 4.7","Claude Opus 4.7 (1M context)","Claude Opus 4.8 (1M context)","Claude Opus 5 (1M context)","Claude Opus 5.5","Claude Sonnet 4.6","Claude Sonnet 5","Cursor"],"declared_lines_added":78698,"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.","The file and line of 5 credential-shaped matches are withheld. File and line are shown to whoever GitHub says controls this repository, signed in, and to a buyer of this report."]}