{"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":"strong","name":"Architecture & Codebase — including AI provenance","coverage":"full","findings":[{"id":"01.6","band":"adequate","layer":"deterministic","title":"hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/expr/AlertExpressionParser.java is 3,353 lines, 35× this codebase's median file","signal":"oversized_modules","weight":"corroborating","context":true,"evidence":[{"ref":"line-count","kind":"path","path":"hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/expr/AlertExpressionParser.java","detail":"3,353 lines (35× median)","line_end":3353,"line_start":1},{"ref":"line-count","kind":"path","path":"hertzbeat-observability/src/main/java/org/apache/hertzbeat/observability/ingestion/service/impl/OtlpIngestionWorkspaceServiceImpl.java","detail":"2,942 lines (30× median)","line_end":2942,"line_start":1},{"ref":"line-count","kind":"path","path":"hertzbeat-observability/src/main/java/org/apache/hertzbeat/observability/traces/service/impl/EntityTraceQueryServiceImpl.java","detail":"2,800 lines (29× median)","line_end":2800,"line_start":1},{"ref":"line-count","kind":"path","path":"hertzbeat-warehouse/src/main/java/org/apache/hertzbeat/warehouse/store/history/tsdb/greptime/GreptimeDbDataStorage.java","detail":"2,663 lines (28× median)","line_end":2663,"line_start":1},{"ref":"line-count","kind":"path","path":"hertzbeat-observability/src/main/java/org/apache/hertzbeat/observability/logs/service/impl/LogQueryServiceImpl.java","detail":"2,523 lines (26× median)","line_end":2523,"line_start":1}],"observed":{"largest":3353,"library":{"n":382,"share":38,"value":35.3,"cutoff":138.63,"material":false,"percentile":85},"threshold":1000,"files_over":18,"median_lines":95},"dimension":"01","rationale":"The median source file here is 95 lines. 18 files exceed 1,000 lines, the largest being 3,353. 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."}],"signals_run":11,"conclusive_signals":10,"what_a_person_adds":[{"id":"01.38","kind":"H+","where":"The team","measured":"The tree carries design documentation (home/docs/others/design.md and 10 more).","question":"Does it match what the team believes today? Ask them to walk through it against the code."},{"id":"01.35","kind":"H+","where":"The team and the submodule owners","measured":"The repository pulls code in through git submodules (.gitmodules).","question":"A buyer receives pointers, not that code. Can every submodule be fetched without the team's credentials, and who owns each one?"},{"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":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":"adequate","name":"Organization & Key-Person Risk","coverage":"partial","findings":[{"id":"03.27","band":"adequate","layer":"deterministic","title":"Regular contributors fell from 34 to 19 in a year","signal":"joiners_and_leavers","weight":"corroborating","evidence":[{"ref":"regular contributors by year","kind":"metric","detail":"34 then 19; 20 stopped committing, 11 began"}],"observed":{"left":20,"joined":11,"regular_last_year":19,"regular_prior_year":34},"dimension":"03","rationale":"20 people who committed regularly the year before made no commits in the last year, and 11 new regular contributors arrived. Ask whether the work they did is still covered."}],"signals_run":10,"conclusive_signals":10,"what_a_person_adds":[{"id":"03.29","kind":"H+","where":"The deal terms","measured":"329 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.20","band":"adequate","layer":"deterministic","title":"Fixes are 56% of recent work, up from 23%","signal":"fix_share_trend","weight":"corroborating","evidence":[{"ref":"fix share by quarter","kind":"metric","detail":"51%, 61%, 29%, 30%, 21%, 14%, 21%, 25%"}],"observed":{"fix_share_by_quarter_newest_first":[0.51,0.61,0.29,0.3,0.21,0.14,0.21,0.25]},"dimension":"04","rationale":"In the last two quarters 56% of commits were fixes, against 23% in the quarters before. Rising fix work usually means quality debt is coming due, and it takes time that new work would have had."},{"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":"web-app/package.json","kind":"path","path":"web-app/package.json","detail":"several libraries per job"}],"observed":{"jobs_doubled":{"dates":["date-fns","dayjs"],"UI component kits":["antd","mui"]}},"dimension":"04","rationale":"Within a single package: UI component kits: antd, mui; dates: date-fns, dayjs. 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."}],"signals_run":19,"conclusive_signals":17,"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":"1 credential-shaped string in the tree sit in tests, examples, documentation or local development settings","signal":"committed_secrets","weight":"corroborating","evidence":[{"kind":"metric","ref":"private key block","detail":"private key block, where fakes are usual"}],"observed":{"sample_matches":1,"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":1},{"id":"05.27","band":"adequate","layer":"deterministic","title":"The build runs third-party code it does not pin","signal":"supply_chain_pinning","weight":"corroborating","context":true,"evidence":[{"ref":".github/workflows/backend-build-test.yml","kind":"path","path":".github/workflows/backend-build-test.yml","detail":"action pinned by tag","line_end":93,"line_start":93},{"ref":".github/workflows/doc-deploy.yml","kind":"path","path":".github/workflows/doc-deploy.yml","detail":"action pinned by tag","line_end":78,"line_start":78},{"ref":"mcp-servers/mcp-bash-server/Dockerfile","kind":"path","path":"mcp-servers/mcp-bash-server/Dockerfile","detail":"download piped into a shell","line_end":43,"line_start":43}],"observed":{"action_refs":72,"pipe_to_shell":1,"unpinned_third_party":3},"dimension":"05","rationale":"3 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 1 step pipes a download straight into a shell. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.","context_why":"A note that does not affect this rating: notes like it are common in well-run projects."},{"id":"05.20","band":"adequate","layer":"deterministic","title":"19 SQL statements built from strings","signal":"sql_from_strings","weight":"corroborating","context":true,"evidence":[{"ref":"hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/service/impl/DataSourceServiceImpl.java","kind":"path","path":"hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/service/impl/DataSourceServiceImpl.java","detail":"SQL built from a string","line_end":199,"line_start":199},{"ref":"hertzbeat-warehouse/src/main/java/org/apache/hertzbeat/warehouse/repository/GreptimeTraceAnalytics.java","kind":"path","path":"hertzbeat-warehouse/src/main/java/org/apache/hertzbeat/warehouse/repository/GreptimeTraceAnalytics.java","detail":"SQL built from a string","line_end":166,"line_start":166},{"ref":"hertzbeat-warehouse/src/main/java/org/apache/hertzbeat/warehouse/service/impl/GreptimeThreeSignalQueryService.java","kind":"path","path":"hertzbeat-warehouse/src/main/java/org/apache/hertzbeat/warehouse/service/impl/GreptimeThreeSignalQueryService.java","detail":"SQL built from a string","line_end":181,"line_start":181}],"observed":{"files":13,"sites":19,"value_interpolated":3},"dimension":"05","rationale":"19 places in product code build SQL by formatting or joining strings rather than passing parameters. 3 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.26","band":"adequate","layer":"deterministic","title":"71 locked dependencies have published vulnerabilities, 43 high or critical in what ships","signal":"known_vulnerabilities","weight":"corroborating","evidence":[{"ref":"web-app/pnpm-lock.yaml","kind":"path","path":"web-app/pnpm-lock.yaml","detail":"dompurify 3.4.14: GHSA-cg2g-xh64-v4q7 (critical), fixed in 3.4.17"},{"ref":"home/pnpm-lock.yaml","kind":"path","path":"home/pnpm-lock.yaml","detail":"swiper 7.4.1: GHSA-hmx5-qpq5-p643 (critical), fixed in 12.1.2"},{"ref":"home/pnpm-lock.yaml","kind":"path","path":"home/pnpm-lock.yaml","detail":"proxy-addr 2.0.7: GHSA-jqcg-44mw-7w3h (critical), fixed in 2.0.8; reached only by the build"}],"observed":{"advisories":176,"dependencies":2358,"high_or_critical":89,"pinned_to_a_commit":0,"ecosystems_not_read":["Maven"],"vulnerable_packages":71,"set_aside_not_imported":0,"high_or_critical_shipping":43,"high_or_critical_not_shipped":{"dev":15,"build":24},"only_under_a_stated_condition":1},"unproven":true,"dimension":"05","rationale":"71 of 2,358 locked dependencies match 176 published advisories in OSV, 89 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. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user."},{"id":"05.65","band":"adequate","layer":"deterministic","title":"7 advisories against this project in the last 24 months, 6 high or critical","signal":"advisory_record","weight":"corroborating","context":true,"evidence":[{"ref":"CVE-2026-24343","kind":"advisory","detail":"2026-02-10: CVE-2026-24343 (high): Improper Neutralization of Data within XPath Expressions ('XPath Injection') vulnerability in Apache HertzBeat.\n\nThis issue affects Apache HertzBeat: from 1.7.1"},{"ref":"CVE-2025-24404","kind":"advisory","detail":"2025-09-09: CVE-2025-24404 (high): XML Injection RCE by parse http sitemap xml response vulnerability in Apache HertzBeat.\n\n\n\n\n\n\n\n\n\n\n\n\nThe attacker needs to have an authenticated account with acc"},{"ref":"CVE-2025-48208","kind":"advisory","detail":"2025-09-09: CVE-2025-48208 (high): Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') vulnerability in Apache HertzBeat .\n\n\n\n\n\n\n\n\n\n\n\n\nThe attacker needs to have "},{"ref":"CVE-2024-56736","kind":"advisory","detail":"2025-04-16: CVE-2024-56736 (moderate): Server-Side Request Forgery (SSRF) vulnerability in Apache HertzBeat.\n\nThis issue affects Apache HertzBeat (incubating): before 1.7.0.\n\nUsers are recommended to"},{"ref":"CVE-2024-41151","kind":"advisory","detail":"2024-11-18: CVE-2024-41151 (high): Deserialization of Untrusted Data vulnerability in Apache HertzBeat.\n\nThis vulnerability can only be exploited by authorized attackers.\n\n\nThis issue affects Apa"}],"observed":{"newest":"2026-02-10","critical":0,"affecting":0,"could_not_tell":7,"last_24_months":7,"sources_failed":[],"known_exploited":0,"high_or_critical":6,"record_incomplete":["NVD: 7 records name hertzbeat with nothing tying them to this repository (CVE-2022-39337, CVE-2023-51387, CVE-2023-51388, …)"]},"dimension":"05","rationale":"The newest was published on 2026-02-10. 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 7 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.9.0. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 7 records name hertzbeat with nothing tying them to this repository (CVE-2022-39337, CVE-2023-51387, CVE-2023-51388, …).","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":25,"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 9,706 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.9","band":"adequate","layer":"deterministic","title":"No error reporter is wired in","signal":"error_reporting","weight":"corroborating","context":true,"evidence":[{"ref":"error reporting","kind":"metric","detail":"no error reporter initialised"}],"observed":{"installed":[],"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."},{"id":"06.35","band":"adequate","layer":"deterministic","title":"Sends usage data to telemetry.example.test by default","signal":"usage_reporting_default","weight":"corroborating","evidence":[{"ref":"web-app/src/features/settings/collector/controller/use-collector-controller-test-support.ts","kind":"path","path":"web-app/src/features/settings/collector/controller/use-collector-controller-test-support.ts","detail":"reports to telemetry.example.test","line_end":161,"line_start":161},{"ref":"hertzbeat-manager/src/main/java/org/apache/hertzbeat/manager/controller/TopologyController.java","kind":"path","path":"hertzbeat-manager/src/main/java/org/apache/hertzbeat/manager/controller/TopologyController.java","detail":"the reporting setting is on by default","line_end":73,"line_start":73}],"observed":{"settings_on":1,"settings_off":2,"reporting_hosts":["telemetry.example.test"]},"dimension":"06","rationale":"web-app/src/features/settings/collector/controller/use-collector-controller-test-support.ts sends to telemetry.example.test, and hertzbeat-manager/src/main/java/org/apache/hertzbeat/manager/controller/TopologyController.java leaves reporting on as shipped. Every installation reports to the vendor unless its operator turns this off. For a buyer running it inside their own product, that is an outbound data flow to a third party: ask what is sent, how often, and whether the buyer's customers were told."}],"signals_run":16,"conclusive_signals":10,"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 Java codebase, with TypeScript alongside (49% of source files). Does your engineering organisation already run Java in production, or would this be the first?"},{"id":"07.10","kind":"H+","question":"The bulk of this system sits in web-app/, home/, hertzbeat-manager/. Which of your existing systems would each of those have to absorb or replace?"},{"id":"07.9","kind":"H+","question":"48% of added lines came through AI-declared commits. Does your organisation have a policy on inheriting and maintaining that code, and does your engineering team's tooling match how it was produced?"},{"id":"07.2","kind":"H+","question":"The repository carries deployment configuration (.gitpod.Dockerfile and 10 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":1360656,"head":"c0b477906d2674139f46bd565fe1214ee0d24522","slug":"apache/hertzbeat","tags":12,"stars":7437,"shallow":false,"span_days":1806.8,"last_commit":"2026-10-22T07:58:41+00:00","surveyed_at":"2026-10-23T21:54:27.890734+00:00","commits_read":3022,"first_commit":"2021-11-10T12:07:27+00:00","truncated_at":null,"window_start":"2021-11-10T12:07:27+00:00","tracked_files":10322,"history_complete":true},"generated_at":"2026-10-23T21:59:00.932230+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":18420,"top5_share":0.024},"dimension":"04","conclusive":true},{"reason":"debt markers are sparse","signal":"debt_markers","observed":{"markers":20,"per_kloc":0.01,"lines_read":1351090},"dimension":"04","conclusive":true},{"reason":"direct dependency counts are unremarkable","signal":"dependency_sprawl","observed":{"set_aside":{},"by_manifest":{"home/package.json":24,"web-app/package.json":54,"hertzbeat-otel-runtime/go.mod":0}},"dimension":"04","conclusive":true},{"reason":"tests are kept inside the files they test, which a count by file name cannot see","signal":"test_growth","observed":{"files_with_inline_tests":5},"dimension":"04","conclusive":false},{"reason":"rework is not rising against new work","signal":"churn_trend","observed":{"late_delete_per_insert":0.443,"early_delete_per_insert":0.42,"single_commit_deletions_set_aside":["d75b84e"]},"dimension":"04","conclusive":true},{"reason":"every pinned runtime is still supported","signal":"eol_runtime","observed":{"pinned":["node 22"],"eol_as_of":"2026-09-24"},"dimension":"04","conclusive":true},{"reason":"fixes usually come with a test","signal":"fixes_with_tests","observed":{"fixes":284,"share":0.408,"with_tests":116},"dimension":"04","conclusive":true},{"reason":"columns, once added, stay","signal":"schema_churn","observed":{"dropped_within_90_days":4,"columns_added_last_year":52},"dimension":"04","conclusive":true},{"reason":"little code is kept for the old way","signal":"compat_layers","observed":{"share":0.0,"code_files":4167,"compat_files":2,"oldest_months":0},"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/workflows/hybrid-collector-release.yml: otel",".github/workflows/nightly-build.yml: otel","hertzbeat-ai-gateway/src/main/java/org/apache/hertzbeat/ai/gateway/tool/log/AgentLogToolService.java: OpenTelemetry"],"matches":282},"dimension":"06","conclusive":true},{"reason":"a health or readiness check is defined","signal":"healthcheck_presence","observed":{"sample":["e2e/docker-compose.yml: /health","e2e/k8s/docker-compose.yml:     healthcheck:","hertzbeat-ai/src/main/java/org/apache/hertzbeat/ai/tools/impl/MonitorToolsImpl.java: /health"]},"dimension":"06","conclusive":true},{"reason":"the service is visible in more than one way","signal":"telemetry_depth","observed":{"kinds":["metrics","traces"]},"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":213},"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 deployment descriptor names an image","signal":"deployed_image_floats","observed":{"images":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":"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":3,"release_commits":0,"changelog_commits":4,"commits_last_year":374},"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":9},"dimension":"06","conclusive":false},{"reason":"no single contributor dominates the last 24 months","signal":"contributor_concentration","observed":{"years":4.9,"window":"last 24 months","authors":329,"top_share":"less than a quarter","bus_factor":7,"authors_in_window":125,"top_share_all_time":"a quarter or more","bus_factor_all_time":6},"dimension":"03","conclusive":true},{"reason":"more than one contributor active in the trailing year","signal":"active_contributors","observed":{"all_time":329,"active_12mo":60},"dimension":"03","conclusive":true},{"reason":"an open contributor base, where one-commit contributors are normal","signal":"drive_by_contributors","observed":{"authors":329,"one_off_share":0.565},"dimension":"03","conclusive":true},{"reason":"the dominant contributor is still active","signal":"contributor_attrition","observed":{"authors":329,"top_share":"a quarter or more","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":125,"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":[4,6,6,2]},"dimension":"03","conclusive":true},{"reason":"a meaningful share of recent change carries evidence of review","signal":"merge_discipline","observed":{"merges":0,"window":"last 24 months","with_tracked":0,"with_reviewed":0,"reviewed_share":1.0,"commits_in_window":982,"squashed_with_pr_ref":982,"with_signed_off_other":42,"reviewed_share_all_time":0.909,"with_committed_by_other":982},"dimension":"02","conclusive":true},{"reason":"CI configuration is present in the working tree","signal":"ci_presence","observed":{"count":14,"configs":[".github/workflows/backend-build-test.yml",".github/workflows/codeql-analysis.yml",".github/workflows/collector-native-build.yml",".github/workflows/doc-build-test.yml",".github/workflows/doc-deploy.yml"]},"dimension":"02","conclusive":true},{"reason":"tests are present in a normal proportion to source","signal":"test_presence","observed":{"tests":2439,"source":6601,"test_ratio":0.369},"dimension":"02","conclusive":true},{"reason":"tags are present","signal":"release_cadence","observed":{"tags":12,"sample":["1.8.0","v1.6.0","v1.6.1","v1.7.0","v1.7.1"]},"dimension":"02","conclusive":true},{"reason":"commit subjects generally carry content","signal":"conventional_commits","observed":{"sampled":3002,"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","contribution guidance"]},"dimension":"02","conclusive":true},{"reason":"CI invokes a test runner","signal":"ci_runs_tests","observed":{"sample":[".github/workflows/frontend-build-test.yml",".github/workflows/mcp-bashserver-test.yml"],"configs":14,"with_tests":2},"dimension":"02","conclusive":true},{"reason":"few tests are switched off","signal":"skipped_tests","observed":{"focused":0,"skipped":42,"test_files":2478,"files_with_skips":8},"dimension":"02","conclusive":true},{"reason":"no test run in CI is written so that it cannot fail","signal":"ci_test_gating","observed":{"configs":14},"dimension":"02","conclusive":true},{"reason":"change is rarely undone","signal":"revert_share","observed":{"share":0.002,"reverts":2,"recent_commits":982},"dimension":"02","conclusive":true},{"reason":"dependencies move with the code","signal":"dependency_update_cadence","observed":{"lockfiles":3,"commits_since":15,"days_since_lockfile_changed":10},"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":3,"ci_configs":14,"product_files":4167},"dimension":"02","conclusive":true},{"reason":"too few merges to judge (squash and rebase leave none)","signal":"long_lived_branches","observed":{"merges":0},"dimension":"02","conclusive":false},{"reason":"changes arrive in reviewable sizes","signal":"commit_size","observed":{"share":0.04,"commits":928,"over_2000_lines":37},"dimension":"02","conclusive":true},{"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":5,"bursts_by_volume":0},"dimension":"01","conclusive":true},{"reason":"first commit is not a disproportionate share of the codebase","signal":"initial_dump","observed":{"insertions":4273,"share_of_insertions":0.0021},"dimension":"01","conclusive":true},{"reason":"commit subjects vary in wording and length","signal":"message_uniformity","observed":{"length_stdev":18.91,"repeat_share":0.014},"dimension":"01","conclusive":true},{"reason":"little shipping code is repeated verbatim across files","signal":"duplicated_blocks","observed":{"share":0.008,"product_files":4167,"distinct_blocks":298353,"duplicated_blocks":2387},"dimension":"01","conclusive":true},{"reason":"errors are rarely thrown away","signal":"swallowed_errors","observed":{"loc":1360656,"files":5,"per_kloc":0.0,"swallowed":6},"dimension":"01","conclusive":true},{"reason":"every base image names a version","signal":"build_reproducibility","observed":{"floating":0,"from_lines":2},"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":"every shipped Dockerfile drops to a non-root user or builds on a non-root base image","signal":"container_runs_as_root","observed":{"dockerfiles":1},"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":"not assessed for Java or TypeScript, the languages the product is written in: this check's patterns read other languages only","signal":"outbound_timeouts","observed":{"languages_not_read":["Java","TypeScript"],"calls_without_timeout":0},"dimension":"05","conclusive":false},{"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":"only publishable values carry a public prefix","signal":"public_env_secret","observed":{"names":0,"sites":0,"not_secrets":0,"languages_not_read":["Java"]},"dimension":"05","conclusive":true},{"reason":"raw HTML is rare, literal or sanitised","signal":"unsafe_html","observed":{"sites":0,"languages_not_read":["Java"]},"dimension":"05","conclusive":true},{"reason":"production builds do not publish source maps","signal":"source_maps_shipped","observed":{"sites":0},"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":"not a data or machine-learning repository","signal":"dataset_provenance","observed":{},"dimension":"05","conclusive":false},{"reason":"no third-party code is committed to this repository, so the licences it depends on are resolved at build time and are not readable here","signal":"license_copyleft_inherited","observed":{"vendored_paths":0},"dimension":"05","conclusive":false},{"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":"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":"the newer API version is recent; the old one may be on its way out","signal":"api_versions_coexisting","observed":{"live":["v2","v1"],"versions_seen":["v1","v2"],"months_together":9},"dimension":"04","conclusive":true},{"reason":"few deprecations have outlived two years","signal":"deprecations_lingering","observed":{"older_than_two_years":0,"files_with_deprecations":14},"dimension":"04","conclusive":true},{"reason":"few dependencies were added and dropped within 60 days","signal":"dependency_churn","observed":{"dependencies_seen":197,"added_in_two_years":108,"removed_within_60_days":0},"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":0.0,"days_since_last_tag":40,"commits_last_90_days":150},"dimension":"04","conclusive":true},{"reason":"the newest release was cut from the branch surveyed","signal":"release_branch","observed":{"elsewhere":4,"on_branch":7,"tags_in_window":11,"direction_known":true,"later_on_branch":0},"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; NVD: 7 records name hertzbeat with nothing tying them to this repository (CVE-2022-39337, CVE-2023-51387, CVE-2023-51388, …)","signal":"project_advisories","observed":{"sources":["OSV by commit","OSV crates.io mcp-bash-server (declared here)","GitHub repository advisories","NVD"],"affecting":0,"exploited":0,"advisories":15,"version_from":"the newest release tag in the surveyed history","fix_unreleased":0,"sources_failed":[],"version_unknown":8,"high_or_critical":0,"surveyed_version":"1.9.0","record_incomplete":["NVD: 7 records name hertzbeat with nothing tying them to this repository (CVE-2022-39337, CVE-2023-51387, CVE-2023-51388, …)"],"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":90,"path":"CONTRIBUTING.md","text":"states a policy on AI-generated contributions","phrase":null},{"line":15,"path":"README.md","text":"names OpenSSF"},{"line":176,"path":"README.md","text":"names CNCF"},{"line":1,"path":".gitmodules","text":"1 submodule(s) this survey does not read: script/helm/hertzbeat-helm-chart"}],"surveyed_commit":null,"provenance_disclosure":{"agents":["Claude","Cursor","Devin","Factory Droid","GitHub Copilot"],"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":"high","ai_line_share":0.8026,"total_commits":374,"ai_commit_share":0.0936,"confidence_basis":["63% of non-merge commits carry any trailer at all","no widespread author/committer date divergence"],"declared_commits":35,"total_lines_added":1108099,"declared_lines_added":889370},"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":"moderate","measurable":true,"ai_line_share":0.483,"total_commits":3002,"affects_rating":false,"excluded_lines":146788,"ai_commit_share":0.0143,"confidence_basis":["54% of non-merge commits carry any trailer at all","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":43,"total_lines_added":1890864,"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":{"2021":0.0,"2022":0.0,"2023":0.0,"2024":0.0,"2025":0.027,"2026":0.0874},"declared_agent_names":["Claude","Claude Fable 5","Claude Opus 4.7","Claude Opus 5","Claude Opus 5 (1M context)","Claude Sonnet 5","Copilot","Cursor","Devin","copilot-swe-agent[bot]","factory-droid[bot]"],"declared_lines_added":913333,"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":["3 findings from checks Borehole's calibration found wrong more often than right are no longer published.","The file and line of 1 credential-shaped match is withheld. File and line are shown to whoever GitHub says controls this repository, signed in, and to a buyer of this report."]}