Financial assets monitor app as modular monolith
Public report β€” InvestTracker, published 19 Jun 2026. Concrete security findings (CVE IDs, secret matches, dependency versions) are hidden in this version; ask the repo owner for the full report.
Watchdog 19-06-2026 @ 21:46 UTC Public
Code Health Audit

MontyPythonM/InvestTracker

45% Poor

Small Β· 16,985 LoC Β· 19 projects Β· rebuild ~0.2 person-years Β· weakest lens: Readiness (26%)

Grounded in facts. Every number here is computed, not narrated β€” reproducible, tool-backed, and traceable to a line of code. How to trust this β–Έ

71/74dimensions tool-verifieddeterministic Β· confidence 1.0 Β· 3 LLM-assisted, advisory
135findings with an exact file:lineof 195 β€” the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
74/101dimensions across the health lenses16985 LoC Β· 19 projects β€” wide & deep

Executive summary

Read through the Production lens β€” the standard calibration. *Green* means good enough to run in production. The score is absolute and comparable across repos.

MontyPythonM/InvestTracker carries serious risk (45%). Several issues below can materially affect reliability, security, or the cost of change and warrant near-term attention.

The area that most needs attention is Readiness (26%) β€” operating, monitoring and recovering the system safely is harder. Maturity (50%) is the next concern β€” onboarding is slow β€” key decisions and the architecture aren't written down, so contributors have to reverse-engineer the intent.

Leadership focus, highest impact first: Start an ADR log (docs/adr/) recording significant decisions… (Architecture documentation); transactional outbox pattern so DB writes and message publishes… (Outbox / dual-write); Strengthen data-at-rest protection (Data Protection).

For scale: Small (~16,985 production lines); rebuilding it from scratch would take roughly ~0.2 person-years (~1 engineer). Approximate, ±~30%.

Code composition β€” where the lines go
Business logic 7%Plumbing 48%Tests 3%Generated 41%
New since the last scan (27+)

27 finding(s) are new versus the previous scan (2026-06-19) β€” surfaced by this scheduled scan itself, no pull request required.

  • D19 Β· Low XML-doc coverage: InvestTracker.Bootstrapper src/Bootstrapper/InvestTracker.Bootstrapper/InvestTracker.Bootstrapper.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.Shared.Abstractions src/Shared/InvestTracker.Shared.Abstractions/InvestTracker.Shared.Abstractions.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.Shared.Infrastructure src/Shared/InvestTracker.Shared.Infrastructure/InvestTracker.Shared.Infrastructure.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.Offers.Api src/Modules/Offers/src/InvestTracker.Offers.Api/InvestTracker.Offers.Api.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.Offers.Core src/Modules/Offers/src/InvestTracker.Offers.Core/InvestTracker.Offers.Core.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.Notifications.Api src/Modules/Notifications/src/InvestTracker.Notifications.Api/InvestTracker.Notifications.Api.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.Notifications.Core src/Modules/Notifications/src/InvestTracker.Notifications.Core/InvestTracker.Notifications.Core.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.InvestmentStrategies.Api src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Api/InvestTracker.InvestmentStrategies.Api.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.InvestmentStrategies.Application src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/InvestTracker.InvestmentStrategies.Application.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.InvestmentStrategies.Domain src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Domain/InvestTracker.InvestmentStrategies.Domain.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.InvestmentStrategies.Infrastructure src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/InvestTracker.InvestmentStrategies.Infrastructure.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.Calculators.Api src/Modules/Calculators/src/InvestTracker.Calculators.Api/InvestTracker.Calculators.Api.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.Calculators.Core src/Modules/Calculators/src/InvestTracker.Calculators.Core/InvestTracker.Calculators.Core.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.Users.Api src/Modules/Users/src/InvestTracker.Users.Api/InvestTracker.Users.Api.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.Users.Core src/Modules/Users/src/InvestTracker.Users.Core/InvestTracker.Users.Core.csproj
  • D19 Β· Low XML-doc coverage: InvestTracker.Notifications.Infrastructure src/Modules/Notifications/src/InvestTracker.Notifications.Infrastructure/InvestTracker.Notifications.Infrastructure.csproj
  • D28 Β· Secret: generic-api-key src/Bootstrapper/InvestTracker.Bootstrapper/appsettings.development.json
  • D28 Β· Secret: generic-api-key src/Bootstrapper/InvestTracker.Bootstrapper/appsettings.development.json
  • ED4 Β· Dual write (no outbox): AddPortfolioHandler.HandleAsync src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/InvestmentStrategies/Commands/Handlers/AddPortfolioHandler.cs
  • ED4 Β· Dual write (no outbox): CreateInvestmentStrategyHandler.HandleAsync src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/InvestmentStrategies/Commands/Handlers/CreateInvestmentStrategyHandler.cs
  • ED5 Β· Non-idempotent mutation: Handlers.AddPortfolioHandler.HandleAsync src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/InvestmentStrategies/Commands/Handlers/AddPortfolioHandler.cs
  • ED5 Β· Non-idempotent mutation: Handlers.CreateInvestmentStrategyHandler.HandleAsync src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/InvestmentStrategies/Commands/Handlers/CreateInvestmentStrategyHandler.cs
  • ED5 Β· Non-idempotent mutation: Handlers.AddCashAssetHandler.HandleAsync src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/Portfolios/Commands/Handlers/AddCashAssetHandler.cs
  • ED5 Β· Non-idempotent mutation: Handlers.AddCoiAssetHandler.HandleAsync src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/Portfolios/Commands/Handlers/AddCoiAssetHandler.cs
  • ED5 Β· Non-idempotent mutation: Handlers.AddEdoBondAssetHandler.HandleAsync src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/Portfolios/Commands/Handlers/AddEdoBondAssetHandler.cs
  • ED5 Β· Non-idempotent mutation: BackgroundTasks.UpdateExchangeRatesTask.ExecuteAsync src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/DataCollectors/ExchangeRates/BackgroundTasks/UpdateExchangeRatesTask.cs
  • ED5 Β· Non-idempotent mutation: BackgroundTasks.UpdateInflationRatesTask.ExecuteAsync src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/DataCollectors/InflationRates/BackgroundTasks/UpdateInflationRatesTask.cs

A full-fidelity diff against the previous run's complete recorded findings β€” line-move tolerant: a finding that only shifted line counts as unchanged, only genuinely new titles/files surface here.

Rebuild cost & value ~ Modeled β€” €8,200–€41,000
Cost to rebuild€8,200–€41,000 (0.1–0.3 person-years (137–432 h), ~1 engineer)
Domain complexityVery high β€” harder problems cost more per line
Quality factor0.7Γ— (at 45% quality) β€” the last 20% of quality is most of the work
Size & shapeSmall Β· 42% boilerplate Β· 45% straight-line Β· 13% branching logic

This codebase represents roughly ~0.2 person-years of build effort (about ~€25,000 to rebuild). Its weakest lens is Readiness at 26% β€” the part of that asset most exposed by the findings below.

How we model this: boilerplate at a scaffolding rate + logic × domain Very high (×1.8) β€” service/app, DDD/clean architecture, CQRS, domain model, event-driven integration × a 0.7× quality factor, at €60–95/h; indicative, ±~30%. Indicative only β€” most sensitive to the hourly rate and the domain tier (both tunable in config).

Top priorities

The highest-leverage moves; the full ranked list is in the Roadmap below.

1
Start an ADR log (docs/adr/) recording significant decisions and their rationale.
+2.9 pts Β· Medium effort Β· Architecture documentation
2
Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness.
+0.9 pts Β· Low effort Β· Knowledge Freshness
3
Adopt the transactional outbox pattern so DB writes and message publishes commit atomically β€” no lost or phantom events on a crash.
+1.4 pts Β· Medium effort Β· Outbox / dual-write

Diagnosis β€” what's actually going on

Value concentrated against a weak lens Β· High Β· Value at risk
This is a Small asset (~0.2 person-years to rebuild), and its weakest lens is Readiness at 26%. The operational and business risk on an asset this size concentrates there β€” that's where remediation buys the most protection.
Evidence: valuation: Small, ~0.2 person-years rebuild (16,985 LoC) · weakest lens: Readiness 26%
β†’ Direct remediation budget at Readiness first β€” highest risk-reduction per euro on an asset this size.
Root cause: an un-encapsulated domain Β· Medium Β· Root cause
5 findings across public setters, anemic types and primitive ids share one root cause β€” the domain layer doesn't protect its own invariants. Fixing the encapsulation pattern resolves them together, rather than chasing each finding.
Evidence: DM5 setters: 2 · DM4 anemic: 3 · DM2 primitive ids: 0
β†’ Address encapsulation as one pattern (private setters + behaviour + strongly-typed ids), not 100 separate findings.
Highest-leverage move Β· Medium Β· Leverage
Of everything flagged, the best return on effort is: Start an ADR log (docs/adr/) recording significant decisions and their rationale. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
β†’ Start an ADR log (docs/adr/) recording significant decisions and their rationale.

Architecture β€” bounded-context dependency graph

Each box is a bounded context (its layer projects grouped, or a project count when large); arrows show dependencies between contexts. A shared kernel is where many arrows converge.

arch Bootstrapper Bootstrapper ctx:Calculators Calculators Api Bootstrapper->ctx:Calculators ctx:InvestmentStrategies InvestmentStrategies Api Β· Application Β· Domain Β· Infrastructure Bootstrapper->ctx:InvestmentStrategies ctx:Notifications Notifications Api Β· Infrastructure Bootstrapper->ctx:Notifications ctx:Offers Offers Api Bootstrapper->ctx:Offers ctx:Shared Shared Infrastructure Bootstrapper->ctx:Shared ctx:Users Users Api Bootstrapper->ctx:Users InvestmentStrategies.UnitTests InvestmentStrategies.UnitTests Users.UnitTests Users.UnitTests NotificationsClientTestApp NotificationsClientTestApp ctx:Calculators.Core Calculators.Core Core ctx:Calculators->ctx:Calculators.Core ctx:Calculators.Core->ctx:Shared ctx:InvestmentStrategies->ctx:Shared ctx:Shared.Abstractions Shared.Abstractions Abstractions ctx:InvestmentStrategies->ctx:Shared.Abstractions ctx:Notifications.Core Notifications.Core Core ctx:Notifications->ctx:Notifications.Core ctx:Notifications->ctx:Shared ctx:Notifications.Core->ctx:Shared ctx:Offers.Core Offers.Core Core ctx:Offers->ctx:Offers.Core ctx:Offers.Core->ctx:Shared ctx:Shared->ctx:Shared.Abstractions ctx:Users.Core Users.Core Core ctx:Users->ctx:Users.Core ctx:Users.Core->ctx:Shared

At a glance β€” Code Health Β· 76% Β· Healthy

At a glance β€” Architecture Β· 83% Β· Healthy

At a glance β€” Maturity Β· 50% Β· Fair Β· gated by D34, M2

At a glance β€” Readiness Β· 26% Β· Poor Β· gated by D8, P3, P5, P7, P9

At a glance β€” Security Β· 60% Β· Fair

At a glance β€” Domain Modelling Β· 82% Β· Healthy

At a glance β€” Event-Driven Β· 83% Β· Healthy

Security & Compliance β€” OWASP Top-10 mapping

Findings mapped to OWASP categories; the specific CVEs/secrets are in the Security dimension cards below and findings.md (redacted only on the public version of this report).

OWASP categoryFindingsSeverity
A02:2021 β€” Cryptographic Failures5High / Critical
A05:2021 β€” Security Misconfiguration1Medium

Roadmap

Begin by establishing an Architecture Decision Record log to capture significant design choices and their rationale. Implement the transactional outbox pattern to ensure database writes and message publishing commit atomically, preventing data loss during crashes. Strengthen data protection by encrypting sensitive columns and securing keys in a dedicated vault. Codify disaster recovery and backup procedures in infrastructure as code, while shifting business rules into domain entities to enforce invariants at the source.

Ranked by impact Γ· effort. "Helps" is the estimated gain on the 0–100 health score.

Do thisHelpsEffortDimension
Start an ADR log (docs/adr/) recording significant decisions and their rationale.+2.9 ptsMediumArchitecture documentation
Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness.+0.9 ptsLowKnowledge Freshness
Adopt the transactional outbox pattern so DB writes and message publishes commit atomically β€” no lost or phantom events on a crash.+1.4 ptsMediumOutbox / dual-write
Resolve the 1 No ADRs found finding(s) in ADR Quality.+0.7 ptsLowADR Quality
Strengthen data-at-rest protection: vault your keys (Azure Key Vault / AWS KMS / IDataProtector key ring) and encrypt the most sensitive columns (EF HasConversion encryption or provider-native column encryption) β€” partial coverage still leaves gaps.+1.4 ptsMediumData Protection
Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure β€” a persistence guard alone is not disaster recovery.+1.2 ptsMediumDR & Backup
Resolve the 2 redundant comment finding(s) in Comment Value β€” start with 20231008005653_InvestmentStrategies_Module_Init.Designer.cs, EdoTreasuryBondTests.cs.+0.5 ptsLowComment Value
Move business rules onto the aggregates/entities they govern so invariants are enforced at the source, not in anemic services.+1.0 ptsMediumRich vs anemic model

File quality

Per-file score 0–10 β€” a quality signature. Of 112 files carrying findings, judged against the Production bar: 0% slop Β· 3% mixed Β· 97% near-clean.

FileScoreBandWorst signal
src/Bootstrapper/InvestTracker.Bootstrapper/appsettings.json5.8MixedSecrets (history): Secret: generic-api-key
src/Bootstrapper/InvestTracker.Bootstrapper/appsettings.development.json5.8MixedSecrets (history): Secret: generic-api-key
src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/Persistence/Repositories/ExchangeRateRepository.cs7.8MixedCyclomatic Complexity: ExchangeRateRepository.GetAsync (cyclomatic 17)
src/Modules/Offers/src/InvestTracker.Offers.Api/Controllers/AdvisorsController.cs8.2Near-cleanExplicit Debt: Dead code: AdvisorsController
src/Modules/Offers/src/InvestTracker.Offers.Api/Controllers/CollaborationsController.cs8.2Near-cleanExplicit Debt: Dead code: CollaborationsController
src/Modules/Offers/src/InvestTracker.Offers.Api/Controllers/HomeController.cs8.2Near-cleanExplicit Debt: Dead code: HomeController
src/Modules/Offers/src/InvestTracker.Offers.Api/Controllers/InvitationsController.cs8.2Near-cleanExplicit Debt: Dead code: InvitationsController
src/Modules/Offers/src/InvestTracker.Offers.Api/Controllers/OffersController.cs8.2Near-cleanExplicit Debt: Dead code: OffersController
src/Modules/Offers/src/InvestTracker.Offers.Core/Events/External/Handlers/AccountCreatedHandler.cs8.2Near-cleanExplicit Debt: Dead code: AccountCreatedHandler
src/Modules/Offers/src/InvestTracker.Offers.Core/Events/External/Handlers/AccountDeletedHandler.cs8.2Near-cleanExplicit Debt: Dead code: AccountDeletedHandler
src/Modules/Offers/src/InvestTracker.Offers.Core/Events/External/Handlers/UserSubscriptionChangedHandler.cs8.2Near-cleanExplicit Debt: Dead code: UserSubscriptionChangedHandler
src/Modules/Offers/src/InvestTracker.Offers.Core/Exceptions/CannotCancelNotOwnCollaborationsException.cs8.2Near-cleanExplicit Debt: Dead code: CannotCancelNotOwnCollaborationsException
src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Advisors/Commands/UpdateAdvisor/UpdateAdvisorHandler.cs8.2Near-cleanExplicit Debt: Dead code: UpdateAdvisorHandler
src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Advisors/Queries/GetAdvisor/GetAdvisorHandler.cs8.2Near-cleanExplicit Debt: Dead code: GetAdvisorHandler
src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Collaborations/Commands/CancelCollaboration/CancelCollaborationHandler.cs8.2Near-cleanExplicit Debt: Dead code: CancelCollaborationHandler
src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Collaborations/Queries/GetCollaboration/GetCollaborationHandler.cs8.2Near-cleanExplicit Debt: Dead code: GetCollaborationHandler
src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Collaborations/Queries/GetCollaborations/GetCollaborationsHandler.cs8.2Near-cleanExplicit Debt: Dead code: GetCollaborationsHandler
src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Invitations/Commands/ConfirmInvitation/ConfirmInvitationHandler.cs8.2Near-cleanExplicit Debt: Dead code: ConfirmInvitationHandler
src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Invitations/Commands/RejectInvitation/RejectInvitationHandler.cs8.2Near-cleanExplicit Debt: Dead code: RejectInvitationHandler
src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Invitations/Commands/SendInvitation/SendInvitationHandler.cs8.2Near-cleanExplicit Debt: Dead code: SendInvitationHandler

Methodology & how to trust this report

Watchdog is a deep, periodic assessment β€” run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 71 of 74 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 β€” the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.

Every figure here is one of three kinds, and we label which: βœ“ Measured β€” a deterministic fact (LoC, complexity, coverage); ~ Modeled β€” an estimate from a stated model (cost, effort, value-at-risk), always a range with its assumptions, never a precise fact; ◐ Advisory β€” an LLM prose judgement. We never present a modelled estimate as if it were measured. Perfect or absent scores carry their provenance too (ADR-0011): βœ“ Tool-verified means the property itself was measured across the surface; β—‹ Nothing flagged means the probes came back clean β€” a claim bounded by what a repository can show; ⊘ Not evidenced means a working control (a tested restore, an automated rollback) showed no positive evidence β€” absence of evidence is not evidence of a control, so it's excluded from the score rather than awarded a spurious 10; ◐ Sampled Β· advisory marks an LLM verdict over a bounded sample β€” advisory, never a deterministic measurement.

What we checked β€” 74 dimensions across the health lenses
D1D2D3D4D5D6D8D9D10D11D12D13D14D15D16D17D18D19D20D21D22D23D24D26D27D28D29D31D34D35AX1AX10AX2AX3AX4AX5AX6AX7AX8AX9C1C2C3C5DM1DM2DM4DM5DM6DM8ED1ED3ED4ED5GD1IC1M1M2M3M4P1P2P3P4P5P7P8P9S1X1X2X3X4X5

Each chip is a dimension scored from real signals across architecture, testing, dependencies, security & compliance, documentation, git-history and code quality β€” in one coherent pass. A surface report typically covers a handful.

How to trust any code-health report β€” three questions
  1. Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line β€” never an absolute scratch path. Here, 135 of 195 do; the remainder are repo-wide signals β€” a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
  2. Is there a tool behind the number? Every score below names the method that produced it β€” Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled Β· advisory β€” not a narrative.
  3. Does re-running give the same result? Run it again on the same commit and the score β€” and this report, byte for byte β€” is identical. A report whose numbers move between runs is describing the run, not the code.

This report answers yes to all three. That's the bar to hold any assessment to.

Tools & methods

The actual versions used this run (captured at analysis time) β€” re-run on the same commit for the identical score.

MethodBacksVersionEvaluator
Roslyn static analysisComplexity, cohesion, coupling, dead code, API surface, layering5.3.0βœ“ deterministic
Native secret scannerHardcoded secrets / credentials1.0.0βœ“ deterministic
jscpdCode duplicationβ€”βœ“ deterministic
Coverage (coverlet / dotnet-coverage)Line & branch coverage10.0.301βœ“ deterministic
NuGet / dotnetOutdated, vulnerable & deprecated dependencies10.0.301βœ“ deterministic
git / LibGit2SharpChurn hotspots, knowledge concentration, history2.43.0 Β· 0.31.0βœ“ deterministic
gitleaks · semgrep · trivy · checkovSecrets in history, SAST, CVEs, IaC & container, PII / GDPR1.86.0 Β· 0.69.3βœ“ deterministic
LLM (sampled · advisory)Documentation quality, ADR conformance, naming β€” sampled over a bounded sample; advisory, never a deterministic measurementQwen/Qwen3.5-35B-A3B◐ LLM Β· sampled Β· advisory

Every finding is locatable in findings.md. Run 019ee1d9-3fdf-7e8e-906d-af9d572f18d4.

The exact command behind every deep-scan dimension β€” tool, version, invocation and retained raw output β€” is in Appendix B β€” Reproduction & audit trail.

Run transparency β€” what happened this run

What ran differently this time β€” a tool absent, degraded, or that fell back to an estimate. Named openly, not folded silently into the scores. A degraded run also records its exact cause in diagnostics.md.

  • D30 Dependency Vulnerabilities β€” scanner not present in this environment β€” The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D32 Data Compliance (PII/GDPR) β€” scanner not present in this environment β€” The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D33 JS/npm Dependency Vulnerabilities β€” scanner not present in this environment β€” The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D36 Supply-chain Provenance & Signing β€” scanner not present in this environment β€” The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D37 Vulnerability-disclosure Policy β€” scanner not present in this environment β€” The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D38 OSV Dependency Vulnerabilities β€” scanner not present in this environment β€” The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.

Repo exclusion declarations (.gitattributes linguist-generated/vendored, .editorconfig generated_code): none declared β€” every source file was scored.

Limitations & what we did not check

Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap β€” a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.

Per-dimension blind spots

For each dimension that was measured, what a static, repo-only scan structurally cannot see β€” the honest edge of the measurement, not a failure of it.

  • D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically β€” it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
  • D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
  • D3 God Classes: "God class" is sized by members and responsibilities visible in the type β€” a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module β€” one class/IIFE β€” earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
  • D4 Code Duplication: Duplication is token-similarity (jscpd) β€” it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (EF migration scaffolds, *.Designer.cs, model snapshots) is EXCLUDED β€” its repetition is the tool's, not the team's β€” so the score reflects hand-written duplication only; the generated footprint is reported separately under Solution Shape.
  • D5 Coupling: Coupling is measured between projects/assemblies β€” runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
  • D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic β€” it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
  • D8 Code Coverage: Coverage is measured by building and running the suite (`dotnet test --collect`) inside Watchdog's isolated image β€” the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
  • D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals β€” a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
  • D10 Test Quality: Assertion density is structural β€” it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
  • D11 Test Reliability: Flakiness is inferred from history/markers β€” Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
  • D12 Dependency Hygiene: Dependency health reads manifests and lockfiles β€” a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
  • D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree β€” a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
  • D14 License Compliance: License compatibility is checked against declared package metadata and a policy β€” mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
  • D15 Churn × Complexity Hotspots: Churn hotspots come from git history β€” a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
  • D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension β€” pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
  • D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual β€” undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (EF migrations, designer files, snapshots) is excluded β€” it is never the team's dead code to delete.
  • D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment β€” a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
  • D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs β€” it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement.
  • D20 ADR Quality: ADR quality is an LLM read of the decision records present β€” it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
  • D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample β€” it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
  • D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface β€” consistency of intent across the whole API is approximated, not exhaustively verified.
  • D23 Boundary Type-Coupling: Boundary leakage is detected from type references across detected contexts β€” leaks that flow through primitives, serialization or shared infrastructure may not surface as a typed reference.
  • D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample β€” it is advisory and cannot weigh a comment against the precise code change it was written to explain.
  • D26 Project Cohesion: Project focus is sized from members/namespaces per project β€” a project that is broad by deliberate design reads the same as one that has sprawled.
  • D27 Navigability: Indirection/navigability is structural β€” it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
  • D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns β€” a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
  • D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) β€” it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
  • D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules β€” it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
  • D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension β€” code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
  • D35 Change Coupling: Change coupling is co-change in COMMITS β€” files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
  • AX10 Code composition: Role is inferred from namespace/folder convention, not semantics β€” a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
  • AX9 CQS / query purity: Handlers are found by interface/name convention β€” a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
  • C3 Audit Trail: This control is scored from in-repo evidence only β€” a working control configured outside the repository leaves no signal a static scan can credit.
  • C5 Data-Subject Rights: This control is scored from in-repo evidence only β€” absence of evidence here means the scan found no in-repo trace, not that the control does not exist.
  • DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body β€” a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
  • DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
  • ED5 Idempotency: Idempotency is judged from the handler body's visible writes and guards β€” a guard enforced by a database unique constraint, a broker's exactly-once delivery, or a domain method whose no-op-when-applied logic the scan can't follow may read as at-risk; the at-risk candidates are confirmed by a SAMPLED LLM verdict (advisory, not exhaustive) and degrade to heuristic-only when no model is configured. It flags the at-least-once double-apply SHAPE, not a runtime proof of a duplicate effect.
  • M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present β€” it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
  • P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see β€” only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
  • P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence β€” a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.

The LLM boundary

LLM-set scores this run (7): D19, D20, D21, D22, D24, ED5, M4 (model: Qwen/Qwen3.5-35B-A3B). For these, a model reads a bounded sample and sets the numeric score (documentation, ADR quality, naming, comment value, onboarding) β€” D25 sets the ADR-conformance fraction over sampled code, D22 judges API accuracy over a sample. These are sampled and advisory by design: they vary at the margins between runs and are never a deterministic measurement. Every other score in this report is tool-computed at confidence 1.0.

Dimensions

D1 Β· Cyclomatic Complexity9.7 / 10Exemplaryβœ“ Tool-verified

What it measures: How tangled the control flow is β€” methods with many branches are hard to test and change.

Method: Cyclomatic complexity per method (1 + decision points), computed exhaustively across production source; test projects separated by convention. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 9.7 / 10 Β· rule-coverage 100% Β· ceiling Prevented

2 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was ExchangeRateRepository.GetAsync at 17.

ExchangeRateRepository.GetAsync (cyclomatic 17)src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/Persistence/Repositories/ExchangeRateRepository.cs:18
Extensions.FilterByRecipientGroup (cyclomatic 16)src/Modules/Notifications/src/InvestTracker.Notifications.Infrastructure/Extensions.cs:121

βœ“ On the Gold path β€” maintain.

Detailed fixes: d1_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D2 Β· Cognitive Complexity9.6 / 10Exemplaryβœ“ Tool-verified

What it measures: How hard the code is for a person to follow, beyond raw branching.

Method: Cognitive complexity per method (Sonar-style nesting-penalized score), computed exhaustively over production code, excluding test projects. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 9.6 / 10 Β· rule-coverage 100% Β· ceiling Prevented

2 method(s) exceeded the cognitive complexity threshold of 15; the worst was ExchangeRateRepository.GetAsync at 19.

ExchangeRateRepository.GetAsync (cognitive 19)src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/Persistence/Repositories/ExchangeRateRepository.cs:18
UpdateInflationRatesTask.GetMissingMonths (cognitive 16)src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/DataCollectors/InflationRates/BackgroundTasks/UpdateInflationRatesTask.cs:87

βœ“ On the Gold path β€” maintain.

Detailed fixes: d2_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D3 Β· God Classes10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Over-large classes that try to do too much ("god classes").

Method: God-class detection by line and method-count thresholds per logical type (partial classes unified), filtered for generated code and registration/contract false positives. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Prevented

0 god class(es) detected.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d3_recommendation.md.

D4 Β· Code Duplication10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Copy-pasted code that should be shared instead.

Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), density-scored per KLoC of production code. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Verified

1 duplicated block group(s) detected.

Duplicated block (40 lines × 2)src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Domain/Portfolios/Entities/FinancialAssets/CoiTreasuryBond.cs:102

βœ“ On the Gold path β€” maintain.

Detailed fixes: d4_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D5 Β· Coupling9.6 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether volatile projects sit underneath others that depend on them (so their churn ripples upward), and whether project dependencies form cycles. A widely-depended-on but stable shared/kernel project is healthy, not penalised.

Method: Dependency cycles via elementary-DFS over real .csproj references, plus Martin instability (afferent/efferent) per project. Exhaustive over the reference graph, deterministic.

Coverage: Exhaustive · type-level: afferent/efferent coupling + cycles computed over every production type β€” the population is all types, not a name convention.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 9.6 / 10 Β· rule-coverage 100% Β· ceiling Prevented

19 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).

Layer violation: Domain β†’ Infrastructure Β· Γ—4
Off the main sequence: InvestTracker.Shared.Infrastructure

βœ“ On the Gold path β€” maintain.

Detailed fixes: d5_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D6 Β· Cohesion (LCOM4)9.6 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether a class's methods are focused on a single responsibility.

Method: LCOM4 cohesion per production class with at least two methods: connected components of methods sharing state or calls, computed syntactically. Deterministic, not a proxy.

Coverage: Exhaustive · type-level: LCOM4 cohesion computed over every production class β€” the population is all types, not a name convention.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 9.6 / 10 Β· rule-coverage 100% Β· ceiling Verified

2 of 67 classes have LCOM4 above 3.

Low cohesion: TreasuryBond (LCOM4 5) Β· Γ—2src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Domain/Portfolios/Abstractions/TreasuryBond.cs:9

βœ“ On the Gold path β€” maintain.

Detailed fixes: d6_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D8 Β· Code Coverage3.4 / 10Poorβœ“ Tool-verified

What it measures: How much of the code is actually exercised by tests.

Method: Coverage from coverlet runs or committed reports (Cobertura/OpenCover/lcov), computed per-file with structured exclusions for generated, trivial, and glue code. When the suite can't be built/run in-image AND no report is committed, coverage is reported NOT-MEASURED (excluded from the score) with the precondition to make it measurable β€” never a LoC-ratio proxy folded in as if measured. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 3.4 / 10 Β· rule-coverage 100% Β· ceiling Verified

Line coverage 13.7%.

What to do

  1. Enforce Code Coverage in CI to reach Verified (currently Documented). β€” Hardens enforcement from Documented toward Verified β€” provenance only; does not change the score.

Detailed fixes: d8_recommendation.md.

D9 Β· Test Distribution10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether the test suite has a healthy mix of unit / integration / end-to-end tests.

Method: Test projects classified (Unit/Integration/BDD/E2E) from compiled metadata; test methods counted exhaustively across projects with placement-agnostic disk fallback. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

38 test methods: 38 unit, 0 integration, 0 BDD, 0 e2e.

Unit tests
Integration tests
BDD tests
E2E tests

βœ“ On the Gold path β€” maintain.

Detailed fixes: d9_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D10 Β· Test Quality10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether the tests truly assert behaviour rather than just running the code.

Method: Per-test assertions, skips, and mock references analyzed via Roslyn; structured skip-reason tags (BUG:/ENV:) separate documented deferrals from debt. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Prevented

0 skipped, 0 zero-assertion, 2 mock references across 38 tests.

Mock framework: NSubstitute Β· Γ—2

βœ“ On the Gold path β€” maintain.

Detailed fixes: d10_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D11 Β· Test Reliability10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether the tests pass reliably, with no flakiness.

Method: Suite re-run N times within tiered wall-clock budgets (unit to e2e); tests failing non-deterministically across runs flagged; guarded tests retried when #if guards detected.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Verified

0 flaky across 2 measured tier(s). unit: measured (0 flaky); other: measured (0 flaky).

βœ“ On the Gold path β€” maintain.

Detailed fixes: d11_recommendation.md.

D12 Β· Dependency Hygiene6.8 / 10Fairβœ“ Tool-verified

What it measures: Whether dependencies are current, secure, and not bloated.

Method: Manifest scan via dotnet list package across all projects; worst-signal-per-package deduction (saturating for vulnerabilities, capped-linear for deprecation/outdated) per KLoC. Exhaustive, deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 6.8 / 10 Β· rule-coverage 100% Β· ceiling Verified

28 outdated, 1 vulnerable, 2 deprecated packages.

Vulnerable: MailKit
Deprecated: xunit Β· Γ—2
Outdated: Microsoft.EntityFrameworkCore.Design Β· Γ—28

What to do

  1. Resolve the 2 Deprecated finding(s) in Dependency Hygiene. β€” One of this dimension's main actionable groups (2 warning-level).
  2. Resolve the 1 Vulnerable finding(s) in Dependency Hygiene. β€” One of this dimension's main actionable groups (1 issue-level).
  3. Enforce Dependency Hygiene in CI to reach Verified (currently Documented). β€” Hardens enforcement from Documented toward Verified β€” provenance only; does not change the score.

Detailed fixes: d12_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D13 Β· Secret Scanning10.0 / 10Exemplaryβ—‹ Nothing flagged

What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.

Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Prevented

Secret scan ran and found no leaked secrets.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d13_recommendation.md.

D14 Β· License Compliance10.0 / 10Exemplaryβ—‹ Nothing flagged

What it measures: Whether the licenses of third-party packages are compatible with your policy.

Method: Third-party package licenses resolved from declared package metadata and checked against the configured policy (allow/deny/copyleft). Deterministic; clean = no incompatible license found at metadata depth.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Verified

0 of 19 packages use a banned license.

Licenses scanned

βœ“ On the Gold path β€” maintain.

Detailed fixes: d14_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D15 Β· Churn × Complexity Hotspots10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Files that change often and are also complex β€” the riskiest hotspots.

Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

No churn × complexity hotspots in the window.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d15_recommendation.md.

D16 Β· Bus Factor10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether knowledge is concentrated in too few people (the "bus factor").

Method: Living knowledge per author via time-decayed commit attribution (6-month half-life, focus weighting) across largest source files. Deterministic, avoids blame's mechanical-refactor false positives.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

No source file's living knowledge is concentrated in a single author.

Small-team knowledge concentration

βœ“ On the Gold path β€” maintain.

Detailed fixes: d16_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D17 Β· Explicit Debt7.1 / 10Healthyβœ“ Tool-verified

What it measures: Acknowledged debt left in the code β€” TODOs, dead code, suppressed warnings.

Method: Roslyn syntactic debt markers (suppressions/TODO/FIXME/HACK/empty-catch/commented-code/Obsolete) plus SymbolFinder dead-code analysis; weighted-debt-per-KLoC density deducted 2.0x per unit. Deterministic, exhaustive.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 7.1 / 10 Β· rule-coverage 100% Β· ceiling Prevented

0 deducted debt markers + 86 dead symbols across 12628 LoC (1.5/KLoC) β†’ score 7.1.

Dead code: AdvisorsController Β· Γ—84src/Modules/Offers/src/InvestTracker.Offers.Api/Controllers/AdvisorsController.cs:15

What to do

  1. Resolve the 84 Dead code finding(s) in Explicit Debt β€” start with HomeController.cs (5), AccountCreatedHandler.cs (3), AccountDeletedHandler.cs (3). β€” One of this dimension's main actionable groups (84 warning-level).
  2. Enforce Explicit Debt in CI to reach Verified (currently Documented). β€” Hardens enforcement from Documented toward Prevented β€” provenance only; does not change the score.

Detailed fixes: d17_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D18 Β· Solution Shape10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether the solution is laid out in a sensible, conventional structure.

Method: Solution structure: project count, decomposition, shell-project detection, build success (confirmed failures cap the score); traced to actual .sln files and binaries. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

19 projects, 699 .cs files, 13649 hand-written lines of code (12628 production / 1021 test), plus 12622 generated (EF migrations / designer / snapshots, excluded from quality), 60 inter-project edges.

InvestTracker.Bootstrapper (Production)src/Bootstrapper/InvestTracker.Bootstrapper/InvestTracker.Bootstrapper.csproj
InvestTracker.Shared.Abstractions (Production)src/Shared/InvestTracker.Shared.Abstractions/InvestTracker.Shared.Abstractions.csproj
InvestTracker.Shared.Infrastructure (Production)src/Shared/InvestTracker.Shared.Infrastructure/InvestTracker.Shared.Infrastructure.csproj
InvestTracker.Offers.Api (Production)src/Modules/Offers/src/InvestTracker.Offers.Api/InvestTracker.Offers.Api.csproj
InvestTracker.Offers.Core (Production)src/Modules/Offers/src/InvestTracker.Offers.Core/InvestTracker.Offers.Core.csproj

+ 14 more group(s) β€” more in Appendix A; the complete list is findings.md.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d18_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D19 Β· Documentation Quality / 10Poor◐ Sampled Β· advisory

What it measures: Whether the project's documentation is clear, complete, and useful.

Method: Judged by language model at low temperature (0.0-0.1) on a deterministic doc sample (READMEs plus first 25 architecture docs), with two-pass stability filtering. Advisory, sampled.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective Poor / 10 Β· rule-coverage 100% Β· ceiling Documented

The project has a functional but sparse README that outlines the modular monolith architecture and lists the main modules. However, the documentation is severely lacking in practical guidance; it fails to provide build or run instructions, missing the 'How to start' section content entirely. Furthermore, the codebase has negligible XML documentation coverage across all projects, indicating a lack of internal API documentation. The README also contains a formatting error ('T' on a new line) and lacks a clear structure for development setup.

Low XML-doc coverage: InvestTracker.Bootstrapper Β· Γ—16src/Bootstrapper/InvestTracker.Bootstrapper/InvestTracker.Bootstrapper.csproj

What to do

  1. Resolve the 16 Low XML-doc coverage finding(s) in Documentation Quality β€” start with InvestTracker.Bootstrapper.csproj, InvestTracker.Calculators.Api.csproj, InvestTracker.Calculators.Core.csproj. β€” One of this dimension's main actionable groups (16 warning-level).

Detailed fixes: d19_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D20 Β· ADR Quality / 10Critical◐ Sampled Β· advisory

What it measures: Whether architecture decisions are recorded well (context, decision, consequences).

Method: Per-ADR judgment by language model at low temperature with two-pass stability; confidence is share of ADRs evaluated; enforcement-field presence detected deterministically. Advisory.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective Critical / 10 Β· rule-coverage 100% Β· ceiling Documented

No architecture decision records were found.

No ADRs found

What to do

  1. Resolve the 1 No ADRs found finding(s) in ADR Quality. β€” One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d20_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D21 Β· Naming Consistency / 10Exemplary◐ Sampled Β· advisory

What it measures: Whether names β€” types, methods, variables β€” are clear and consistent.

Method: Judged by language model at low temperature (0.0-0.1) on a deterministic random symbol sample (fixed size, not exhaustive), with disclosed confidence band. Advisory, sampled.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective Exemplary / 10 Β· rule-coverage 100% Β· ceiling Verified

0 naming inconsistencies across 200 sampled symbols.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d21_recommendation.md.

D22 Β· Internal API Consistency / 10Exemplary◐ Sampled Β· advisory

What it measures: Whether the internal API surface is consistent and coherent.

Method: Judged by language model at low temperature over a sample of the public API surface (IsPackable or .Contracts types). Sampled, advisory; confidence discounted by model uncertainty.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective Exemplary / 10 Β· rule-coverage 100% Β· ceiling Verified

No public API surface exposed; nothing to be inconsistent.

No exposed public API

βœ“ On the Gold path β€” maintain.

Detailed fixes: d22_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D23 Β· Boundary Type-Coupling10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether domain types (IDs, enums, value objects) leak across bounded-context boundaries.

Method: Cross-context domain-type leakage via Roslyn structural classification (strongly-typed IDs / value objects) over every public surface. Exhaustive, deterministic, type-level aggregate-boundary check.

Coverage: Bounded contexts derived from NAMESPACE prefix (or graph-inferred where available); cross-boundary domain-type leakage then checked exhaustively over every public member of every type.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Verified

No domain types are scored-flagged across 7 context boundaries; 4 contract project(s) carry advisory strong-ID notes.

InvestmentStrategies: 6 contract type(s) expose producer-owned ids/enums
Notifications: 2 contract type(s) expose producer-owned ids/enums
Offers: 1 contract type(s) expose producer-owned ids/enums
Users: 1 contract type(s) expose producer-owned ids/enums

βœ“ On the Gold path β€” maintain.

Detailed fixes: d23_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D24 Β· Comment Value / 10Poor◐ Sampled Β· advisory

What it measures: Whether comments are worth it β€” explaining WHY (valuable) rather than WHAT (redundant).

Method: Judged by language model at low temperature (0.0-0.1) on deterministically sampled inline comments with surrounding code; findings verified back to sampled comments by substring match. Advisory, sampled.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective Poor / 10 Β· rule-coverage 100% Β· ceiling Documented

2 valuable / 100 redundant across 129 sampled comments; 2 shown with locations.

redundant comment Β· Γ—2src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/Persistence/Migrations/20231008005653_InvestmentStrategies_Module_Init.Designer.cs:1

What to do

  1. Resolve the 2 redundant comment finding(s) in Comment Value β€” start with 20231008005653_InvestmentStrategies_Module_Init.Designer.cs, EdoTreasuryBondTests.cs. β€” One of this dimension's main actionable groups (2 recommendation-level).

Detailed fixes: d24_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D26 Β· Project Cohesion10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether each project is a focused, coherent unit rather than an oversized grab-bag.

Method: Project size overshoot penalties (LoC / public-type count / namespace count, 2-of-3 flag) weighted by log magnitude. Exhaustive across projects, deterministic, LLM-independent.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

0 of 19 projects flagged as possibly oversized/incoherent.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d26_recommendation.md.

D27 Β· Navigability8.7 / 10Healthyβœ“ Tool-verified

What it measures: How far you must trace to follow a call β€” low indirection and co-located slices read easier.

Method: Call indirection (interface hops, cross-namespace calls, slice-locality scaled) over a sampled set of method invocations, size-aware baseline. Sampled; confidence discounted by symbol-resolution gaps.

Coverage: Slice locality from the first namespace segments, SAMPLED (≀400 methods) β€” not exhaustive.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 8.7 / 10 Β· rule-coverage 100% Β· ceiling Documented

97 % of calls cross a namespace and 13 % go through an interface, but 100 % of collaborators are co-located β€” so a call's collaborators sit together and tracing stays easy. Baseline: medium β€” clean/modular boundaries expected.

What to do

  1. Improve Navigability β€” currently 8.7/10. β€” 97 % of calls cross a namespace and 13 % go through an interface, but 100 % of collaborators are co-located β€” so a call's collaborators sit together and tracing stays easy. Baseline: medium β€” clean/modular boundaries expected.

Detailed fixes: d27_recommendation.md.

D28 Β· Secrets (history)6.0 / 10Fairβœ“ Tool-verified

What it measures: Whether any secrets were ever committed β€” scanned across the full git history, not just now.

Method: Git-history secret scan via gitleaks detect over full history in an isolated checkout; each match flagged High. Exhaustive; degrades cleanly when tool absent.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 6.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

4 finding(s): 0 critical, 4 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation β€” they remain in history regardless of later deletion.

Secret: generic-api-key Β· Γ—4src/Bootstrapper/InvestTracker.Bootstrapper/appsettings.json:13detected by gitleaks finding
Rotate the exposed credentials β€” git history can't be un-committed

What to do

  1. Resolve the 4 Secret finding(s) in Secrets (history) β€” start with appsettings.development.json (2), appsettings.json (2). β€” One of this dimension's main actionable groups (4 issue-level).
  2. Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). β€” One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d28_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D29 Β· Static Analysis (SAST)10.0 / 10Exemplaryβ—‹ Nothing flagged

What it measures: Real static-analysis (SAST) findings β€” likely security bugs in the code, any language.

Method: Polyglot static analysis via semgrep --config auto across the repo; severity rules (ERROR/WARNING/INFO) map to a 0-10 wide normalizer. Exhaustive, deterministic; degrades on parse failure.

Coverage: semgrep pattern rules over all files β€” exhaustive for the rule set, blind to classes of bug without a rule (clean = no rule matched).

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

semgrep found no security issues.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d29_recommendation.md.

D31 Β· IaC & Container Security10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether Dockerfiles / Terraform / Kubernetes config follow security best practices.

Method: IaC/container misconfiguration scan via trivy config (Dockerfile/Terraform/K8s/Helm/CloudFormation); severity rules to 0-10 moderate normalizer. NotApplicable without manifests. Exhaustive, deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

1 finding(s): 0 critical, 0 high, 0 medium, 1 low.

Low IaC: DS-0026src/Bootstrapper/InvestTracker.Bootstrapper/Dockerfiledetected by trivy finding

βœ“ On the Gold path β€” maintain.

Detailed fixes: d31_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D34 Β· Knowledge Freshness0.4 / 10Criticalβœ“ Tool-verified

What it measures: Whether anyone still has living knowledge of each file, or it has been orphaned β€” last understood long ago by someone now gone quiet. The sibling of the bus factor: D16 asks who owns it, D34 asks whether anyone still knows it.

Method: File orphaning as total living-knowledge decay below one focused-commit's worth within a year, computed per-file from the D16 decay model. Exhaustive, deterministic over fixed history.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 0.4 / 10 Β· rule-coverage 100% Β· ceiling Documented

55 of 57 significant source file(s) are orphaned β€” their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Api/Permissions/InvestmentStrategiesPermissionMatrix.cs.

Dormant codebase

What to do

  1. Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. β€” One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d34_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D35 Β· Change Coupling10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether files that change together actually belong together β€” pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.

Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only β€” tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file β‰₯10 revisions, β‰₯5 shared commits, β‰₯50% strength); sweeping commits excluded. Deterministic over fixed history.

Coverage: Population: PRODUCTION source files only β€” test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real production↔production coupling. Pairs ranked by Degree-of-Coupling; coupling through a build step, config, or non-source file isn't seen.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

Strongest change-coupling: UsersPermission.cs↔UsersPermissionMatrix.cs 57%; PermissionInjectorMiddleware.cs↔Extensions.cs 50%

Change coupling: UsersPermission.cs ↔ UsersPermissionMatrix.cs Β· Γ—2src/Modules/Users/src/InvestTracker.Users.Api/Permissions/UsersPermission.cs

βœ“ On the Gold path β€” maintain.

Detailed fixes: d35_recommendation.md Β· top locations in Appendix A, every location in findings.md.

Frontend & cross-cutting dimensions

R = React/JS Β· M = Maturity Β· P = Readiness.

AX1 Β· Captive dependencies10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Architecture β€” Whether any singleton service captures a scoped/transient dependency β€” a silent lifetime/threading bug.

Method: Roslyn scan: DI registrations parsed from AddSingleton/Scoped/Transient; each singleton checked for captured shorter-lifetime dependencies. Exhaustive, deterministic.

AX10 Β· Code composition4.0 / 10Poorβœ“ Tool-verified

Other Β· Architecture β€” How the codebase splits by code ROLE β€” domain, application, infrastructure, test, generated. The significance map behind the knowledge/coupling weighting, and a DDD signal in its own right: a thin domain core under fat infrastructure is the anemic-domain smell, quantified.

Method: Roslyn line-count by code ROLE: every source file classified Domain/Application/Infrastructure/Test/Generated by namespace + path convention (the shared CodeRoleClassifier), then significant lines summed per role. Deterministic; the advisory score is the business-logic (domain+application) share of production code.

Coverage: Population: ALL source files, each bucketed into ONE of five roles (Domain/Application/Infrastructure/Test/Generated) by namespace + path convention β€” a file whose layer isn't named in the convention falls to Application (the neutral default), and the split is line-count, not semantic depth or business value.

AX2 Β· Stateful singletons10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Architecture β€” Whether singleton services avoid mutable shared instance state that concurrent callers would race on.

Method: Roslyn scan: singleton field mutations unguarded by lock or Interlocked, per type; syntax-based guard detection. Deterministic, traceable per field.

AX3 Β· Project dependency cycles10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Architecture β€” Whether the project-reference graph is acyclic (cycles block independent build/deploy and signal eroding boundaries).

Method: Project reference cycles via elementary-DFS over real .csproj references, using the engine shared with D5/D7; cyclic versus acyclic. Exhaustive, deterministic.

AX4 Β· Dependency direction10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Architecture β€” Whether dependencies point inward (Domain ← Application ← Infrastructure/Web) β€” the clean-architecture dependency rule, checked across the project graph.

Method: Layer violations by name-segment inference (Domain/Core to Application to Infrastructure/Web) over the project-reference graph. Exhaustive over all projects, deterministic.

AX5 Β· Architecture & structure10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Architecture β€” Whether the codebase has a recognisable, scale-appropriate structure (a named architectural style, or modular enough for its size) rather than being an ad-hoc ball of mud.

Method: Roslyn plus csproj analysis: architecture style detection (DDD, clean, vertical-slice, CQRS) and structure fitness for repo size. Deterministic.

AX6 Β· Interface segregation10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Architecture β€” Whether interfaces stay focused rather than fat β€” the Interface-Segregation principle (SOLID 'I').

Method: Roslyn scan: public interface member counts; fat-interface threshold (over 15 members) flagged per type. Deterministic, type-level.

AX7 Β· Slice cohesion10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Architecture β€” Whether feature slices stay independent (no direct cross-slice references) β€” the discipline that makes vertical-slice architecture pay off.

Method: Roslyn scan (vertical-slice gated): feature slices resolved from namespaces (.Features.*, .Slices.*) or project names; cross-slice type references detected. Deterministic, traceable.

AX8 Β· Test isolation10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Architecture β€” Whether production projects stay free of references to test projects β€” tests may depend on production, never the reverse.

Method: Csproj graph: each production project checked for references to test projects (identified by test-framework presence, not name). Zero violations is clean. Deterministic.

AX9 Β· CQS / query purity10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Architecture β€” Whether read (query) handlers stay side-effect-free β€” a query that writes persistent state or raises events breaks CQS and makes reads unsafe to retry, cache, or route to a read replica.

Method: Roslyn scan: CQRS handlers classified query-vs-command by interface (IQueryHandler/ICommandHandler/IRequestHandler<TQuery,TResult>) and name convention (*Query/Get*/Find* vs *Command); each query handler's body checked for persistent-state writes (SaveChanges/repository Add-Update) or event publishes by resolved invocation. Deterministic, type-level, exhaustive over the detected handlers.

Coverage: Population: CQRS handlers identified by IQueryHandler/ICommandHandler/IRequestHandler interface + *Query/Get*/Find*/*Command NAME convention; query purity then checked exhaustively within that set β€” a query handler using neither convention is invisible, and mutation is a resolved persistence/publish CALL, not full dataflow.

C1 Β· Data Protection4.0 / 10Poorβœ“ Tool-verified

Other Β· Security β€” Whether sensitive data is encrypted at rest and in transit and keys are vaulted.

Method: Roslyn plus filesystem scan: encryption presence (EF ColumnEncryption, key-vault references, HTTPS enforcement) and key-derivation KDF detection. Deterministic.

What to do

  • Strengthen data-at-rest protection: vault your keys (Azure Key Vault / AWS KMS / IDataProtector key ring) and encrypt the most sensitive columns (EF HasConversion encryption or provider-native column encryption) β€” partial coverage still leaves gaps.
C2 Β· Access Controls10.0 / 10Exemplaryβ—‹ Nothing flagged

Other Β· Security β€” Whether access is authorized by default β€” [Authorize]/policies or imperative guard methods (throw-on-violation) called from handlers.

Method: Roslyn scan: [Authorize] usage and authorization policies, plus imperative throw-on-violation guard methods detected via syntax. Deterministic.

C3 Β· Audit Trail10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Security β€” Whether changes to sensitive data are recorded (who, what, when) for compliance + incident response.

Method: Roslyn scan: audit-trail mechanism graded (SaveChanges interceptor/immutable AuditLog/[Audited] strong; bare IAuditable/AddAuditing weak). Deterministic.

C5 Β· Data-Subject Rights4.0 / 10Poorβœ“ Tool-verified

Other Β· Security β€” Whether GDPR data-subject requests are supported in code β€” erasure, export/portability, consent.

Method: Roslyn scan: GDPR data-subject-rights corroboration (erasure/export/consent vocabulary co-occurring with subject-id store crossing or explicit GDPR pattern). Deterministic, gated by PII.

  • Corroborated rights: erasure βœ“ · export βœ— · consent βœ—. The missing right(s) would have to be fulfilled manually.

What to do

  • Implement data export/portability for a data subject (a machine-readable export of their personal data).
  • Track GDPR consent (lawful basis) alongside the personal data it authorises.
DM1 Β· Aggregate boundaries10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Domain Modelling β€” Whether aggregates reference each other by identity (id) rather than by direct object reference β€” the core DDD consistency-boundary rule.

Method: Roslyn (DDD-gated): aggregate roots identified by convention; each aggregate field checked for direct references to other aggregates versus id-only. Deterministic, DDD-native.

Coverage: Population: aggregate roots identified by AggregateRoot/IAggregateRoot base/interface NAME convention; reference-by-identity then checked exhaustively within that set β€” a root not using those names is invisible.

DM2 Β· Strongly-typed ids10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Domain Modelling β€” How much of the domain uses strongly-typed ids vs raw Guid/string/int β€” adoption curve, not all-or-nothing.

Method: Roslyn (DDD-gated): strongly-typed id adoption on domain entities/events; raw Guid/int/string ids counted versus wrapped types. Deterministic, adoption percentage.

Coverage: Population: id-like members by *Id/*Key NAME suffix; strongly-typed-ID shape then checked semantically β€” non-suffixed identifiers are not seen.

DM4 Β· Rich vs anemic model5.8 / 10Fairβœ“ Tool-verified

Other Β· Domain Modelling β€” Whether aggregates/entities carry the behaviour that protects their invariants, rather than being data bags driven by external services.

Method: Roslyn (DDD-gated): entity method BODIES classified mutator-vs-query β€” only methods that mutate the entity's own declared state count as invariant-protecting behaviour, so a getter/passthrough doesn't rescue an anemic class. Deterministic, exhaustive over domain-layer entities.

Coverage: Population: entities by name/base convention; rich-vs-anemic judged by classifying each method body mutator-vs-query β€” logic-bearing domain types outside the convention are invisible.

  • `AggregateRoot` is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) β€” the business logic lives in a service. β€” AggregateRoot.cs:53
  • `Collaboration` is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) β€” the business logic lives in a service. β€” Collaboration.cs:10
  • `Portfolio` is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) β€” the business logic lives in a service. β€” Portfolio.cs:14

What to do

  • Move business rules onto the aggregates/entities they govern so invariants are enforced at the source, not in anemic services.
DM5 Β· Encapsulated state8.4 / 10Healthyβœ“ Tool-verified

Other Β· Domain Modelling β€” Whether entities protect their state (private/init-only setters) instead of exposing public setters that bypass invariants. Softened when a rehydration framework (Marten/EF) is present.

Method: Roslyn (DDD-gated): public setters on entities detected; score softened when Marten/EF rehydration frameworks present. Deterministic, framework-aware.

Coverage: Population: entities by convention; encapsulation (setter shape) checked exhaustively within the set.

  • `InvestmentStrategy` exposes public setter(s) (Collaborators, Portfolios). β€” InvestmentStrategy.cs:11
  • `Portfolio` exposes public setter(s) (InvestmentStrategyId, FinancialAssets). β€” Portfolio.cs:14

What to do

  • Make entity setters private/init-only; change state only through methods that enforce the invariants (Marten/EF can bind via constructor or private setters).
DM6 Β· Domain ↔ infrastructure boundary10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Domain Modelling β€” Whether the domain layer stays free of infrastructure dependencies (EF/Marten/HTTP/ASP.NET) β€” the clean-architecture dependency rule.

Method: Roslyn (DDD-gated): domain-layer types scanned for infrastructure usage in member SIGNATURES and inside method/accessor BODIES β€” resolved calls and object-creations into EF/Marten/HTTP/Mongo/Redis/message-bus types (not just a namespace allowlist). Deterministic, symbol-resolved, exhaustive over domain-layer bodies, DDD-native.

Coverage: Domain layer identified by NAMESPACE heuristic; infrastructure then resolved by symbol in member SIGNATURES and method/accessor BODIES β€” rename the layer and the check evaporates.

DM8 Β· Value-object opportunities10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Domain Modelling β€” Whether clusters of primitives that travel together (a missing value object) are extracted β€” a low-weight suggestion, LLM-confirmed when configured.

Method: Roslyn (DDD-gated): primitive parameter clusters recurring three or more times across signatures extracted, then confirmed by language model when configured. Advisory, low-weight.

ED1 Β· Handler temporal coupling10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Event-Driven β€” Whether event handlers stay asynchronous (no blocking remote HTTP/gRPC calls awaited inside a handler).

Method: Roslyn semantic scan (event-driven gated): event-handler bodies scanned for HTTP/gRPC invocations by resolved symbol type, not substring. Deterministic, semantic-resolved.

ED3 Β· Event naming10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Event-Driven β€” Whether events are named in the past tense (a clarity nudge β€” low weight).

Method: Roslyn scan (event-driven gated): domain and integration events checked for past-tense naming (-ed/-en suffix or irregular set). Naming nudge, low-weight advisory.

ED4 Β· Outbox / dual-write7.0 / 10Fairβœ“ Tool-verified

Other Β· Event-Driven β€” Whether state changes and message publishes are atomic (a transactional outbox) rather than a crash-unsafe dual write.

Method: Roslyn semantic scan (event-driven gated): event-handler methods scanned for DB-save plus bus-publish without a transactional outbox reference. Deterministic, semantic-resolved.

  • `AddPortfolioHandler.HandleAsync` writes to the database AND publishes to the message bus in the same flow, with no outbox referenced in this path. These two writes aren't atomic β€” a crash between them either loses the message (DB committed, publish failed) or emits a phantom event (publish succeeded, DB rolled back). Use the transactional outbox pattern (e.g. MassTransit's EF/Marten outbox) so the message is committed in the same transaction as the state change and dispatched afterwards. β€” AddPortfolioHandler.cs:36
  • `CreateInvestmentStrategyHandler.HandleAsync` writes to the database AND publishes to the message bus in the same flow, with no outbox referenced in this path. These two writes aren't atomic β€” a crash between them either loses the message (DB committed, publish failed) or emits a phantom event (publish succeeded, DB rolled back). Use the transactional outbox pattern (e.g. MassTransit's EF/Marten outbox) so the message is committed in the same transaction as the state change and dispatched afterwards. β€” CreateInvestmentStrategyHandler.cs:26

What to do

  • Adopt the transactional outbox pattern so DB writes and message publishes commit atomically β€” no lost or phantom events on a crash.
ED5 Β· Idempotency6.7 / 10Fair◐ Sampled Β· advisory

Other Β· Readiness β€” Whether retry-prone mutations (command handlers + message/event consumers) are idempotent so an at-least-once redelivery or client retry doesn't double-apply the effect β€” heuristic at-risk detection confirmed by language model, advisory.

Method: Roslyn heuristic (any mutation, ungated): command handlers and message/event consumers that mutate persistent state without a visible idempotency guard (exists/dedup check, upsert, idempotency-key/inbox, conditional/versioned write, fixed-value set) flagged as at-risk; each at-risk candidate then confirmed or cleared by a language model as genuinely non-idempotent versus naturally-idempotent. Advisory without a model (heuristic-only, degraded), per-candidate judged with one.

Coverage: Population: retry-prone mutations β€” command handlers (CQRS write side) + message/event consumers (IConsumer/I*EventHandler) β€” that mutate persistent state; runs on any repo with mutations, not only event-driven ones. The at-risk subset (no obvious guard) is a HEURISTIC candidate set, each then LLM-JUDGED non-idempotent vs safe; a handler outside those conventions, or a guard the LLM can't confirm, is bounded by the sample. Degrades to heuristic-only when no model is configured.

  • `Handlers.AddPortfolioHandler.HandleAsync` mutates persistent state (a repository write) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice β€” add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. β€” AddPortfolioHandler.cs:36
  • `Handlers.CreateInvestmentStrategyHandler.HandleAsync` mutates persistent state (a repository write) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice β€” add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. β€” CreateInvestmentStrategyHandler.cs:26
  • `Handlers.AddCashAssetHandler.HandleAsync` mutates persistent state (an event publish) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice β€” add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. β€” AddCashAssetHandler.cs:37
  • `Handlers.AddCoiAssetHandler.HandleAsync` mutates persistent state (an event publish) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice β€” add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. β€” AddCoiAssetHandler.cs:34
  • `Handlers.AddEdoBondAssetHandler.HandleAsync` mutates persistent state (an event publish) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice β€” add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. β€” AddEdoBondAssetHandler.cs:34
  • `BackgroundTasks.UpdateExchangeRatesTask.ExecuteAsync` mutates persistent state (a database save) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice β€” add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. β€” UpdateExchangeRatesTask.cs:32
  • `BackgroundTasks.UpdateInflationRatesTask.ExecuteAsync` mutates persistent state (a database save) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice β€” add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. β€” UpdateInflationRatesTask.cs:32

What to do

  • Make retry-prone mutations idempotent β€” guard each write with an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write, so a re-run doesn't double-apply.
GD1 Β· Unfinished & placeholder code10.0 / 10Exemplaryβ—‹ Nothing flagged

Other Β· Code Health β€” Unreviewed-generation residue: shipped members still throwing NotImplementedException, and placeholder string literals left in non-test, non-generated code. Scored as a quality signature, never as a claim about authorship.

Method: Roslyn syntax scan: NotImplementedException throws and placeholder string literals in non-test, non-generated shipped code. Deterministic, code-shape signature.

IC1 Β· Incompleteness & stubs8.0 / 10Healthyβœ“ Tool-verified

Other Β· Code Health β€” Unfinished work detected by code SHAPE, not keywords: members that only throw a "not implemented" exception, methods that take inputs and return a constant, async methods that never await, dead `if (false)` / `#if false` branches, and skeleton types most of whose members are holes. A real, objective slice of technical debt.

Method: Roslyn syntax scan: incompleteness by code shape (constant-returning methods, async-never-await, #if false branches, skeleton types), not keyword-gated. Deterministic, code-shape heuristic.

  • `CanAddInvestmentStrategy` looks like it should compute a result but its body just returns a constant β€” a placeholder return that was never filled in. β€” NoneStrategyLimitPolicy.cs:13
  • `CanAddAsset` looks like it should compute a result but its body just returns a constant β€” a placeholder return that was never filled in. β€” NoneFinancialAssetLimitPolicy.cs:12
  • `CanAddPortfolio` looks like it should compute a result but its body just returns a constant β€” a placeholder return that was never filled in. β€” NonePortfolioLimitPolicy.cs:12

What to do

  • Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) β€” they are dead surface that looks live.
M1 Β· Documentation (README)6.7 / 10Fairβœ“ Tool-verified

Maturity Β· Maturity β€” Whether the repo and its projects have a README, and whether it's substantive and current.

Method: Filesystem scan: README presence, word count, and headings for depth; git history for staleness. Exhaustive across root and project dirs, deterministic.

What to do

  • Add a 'Testing' section to the root README β€” how to run the test suite.
  • Add an 'Architecture' / 'How it works' section to the root README β€” the high-level shape.
  • Add a README to the 19 of 19 project(s) that lack one β€” worth up to 2 pts.
M2 Β· Architecture documentation0.0 / 10Criticalβœ“ Tool-verified

Maturity Β· Maturity β€” Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.

Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.

  • No Architecture Decision Records found β€” decisions aren't captured for future maintainers.
  • No C4/PlantUML/Mermaid diagram or architecture.md β€” the high-level shape isn't documented.

What to do

  • Start an ADR log (docs/adr/) recording significant decisions and their rationale.
  • Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 Β· Folder & project structure8.0 / 10Healthyβœ“ Tool-verified

Maturity Β· Maturity β€” Whether the repo is organised deliberately β€” src/test separation and consistent project naming.

Method: Filesystem scan: src/test folder separation and namespace-prefix consistency (majority RootNamespace agreement). Exhaustive across projects, deterministic.

  • Test projects aren't grouped under a tests/ folder β€” the test surface isn't separable from production code at a glance.

What to do

  • Group test projects under tests/ (or test/, spec/) so the test surface is discoverable and CI can scope it.
M4 Β· Documentation accuracy10.0 / 10Exemplary◐ Sampled Β· advisory

Maturity Β· Maturity β€” Whether the README actually describes the code that exists (LLM-judged, advisory).

Method: Judged by language model at low temperature: README accuracy versus actual projects, within a disclosed tolerance. Advisory, not a measured number.

P1 Β· CI/CD gates10.0 / 10Exemplaryβ—‹ Nothing flagged

Readiness Β· Readiness β€” Whether an automated pipeline builds and tests every change.

Method: Filesystem scan: CI workflow files (.github/workflows, .gitlab-ci.yml, etc.) for build and test stages. Exhaustive, deterministic.

P2 Β· Observability4.6 / 10Poorβœ“ Tool-verified

Readiness Β· Readiness β€” Whether the code is diagnosable in production β€” structured logging, tracing/metrics, health checks.

Method: Filesystem/Roslyn scan: structured-logging frameworks (Serilog, NLog), OpenTelemetry, and health-check endpoint patterns. Exhaustive, deterministic.

  • Only 3/15 service-like projects use logging (pure contract/DTO projects are excluded β€” they have nothing to log).

What to do

  • Extend structured logging to the remaining service-like projects so the whole executable surface is diagnosable in production.
  • Consider OpenTelemetry tracing/metrics and a health-check endpoint for operability.
P3 Β· Security & performance tooling0.0 / 10Criticalβœ“ Tool-verified

Readiness Β· Readiness β€” Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).

Method: Filesystem/Roslyn scan: CodeQL, Dependabot, secret-scanning, and BenchmarkDotNet presence in pipelines and projects. Exhaustive, deterministic.

  • No static application security testing (CodeQL / security analyzers / codehealth) detected.

What to do

  • Add a SAST step (e.g. CodeQL) or a security analyzer package.
  • Enable Dependabot/Renovate or a dependency-review gate.
  • Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 Β· Deployment & Rollback5.0 / 10Fairβœ“ Tool-verified

Readiness Β· Readiness β€” Whether releases are automated and safely reversible (probes, rolling updates, approval gates) β€” from manifests/pipeline files, not the live environment.

Method: Filesystem scan: deployment manifests/IaC (K8s YAML, Helm, Terraform) for rolling updates, probes, approval gates, migration hooks. Exhaustive, deterministic.

  • Deployment automation exists but no readiness/liveness probes, rolling-update strategy, lifecycle hooks or migration job were evidenced β€” a bad release is harder to detect and reverse.

What to do

  • Add readiness/liveness probes and a rolling-update (or blue/green) strategy so a bad release is caught and rolled back automatically.
  • Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 Β· DR & Backup0.0 / 10Criticalβœ“ Tool-verified

Readiness Β· Readiness β€” Whether disaster recovery is planned and codified β€” backups, geo-recovery, RTO/RPO, persistence guarantees β€” from IaC + container manifests + docs, never the live cloud.

Method: Filesystem scan: disaster recovery, backup, geo-recovery, RTO/RPO, persistence guarantees from IaC, manifests, and docs. Exhaustive, deterministic, never a live environment.

  • A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced β€” a volume that survives a container recreate is not a tested restore from catastrophic loss.

What to do

  • Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure β€” a persistence guard alone is not disaster recovery.
P7 Β· Outbound HTTP resilience3.0 / 10Poorβœ“ Tool-verified

Readiness Β· Readiness β€” Whether outbound HTTP calls are wrapped in resilience (retry/timeout/circuit-breaker) so a failing dependency doesn't cascade.

Method: Roslyn scan: Polly resilience markers (Retry, CircuitBreaker, Timeout) on outbound HTTP invocations. Computed per type, deterministic.

  • The app makes outbound HTTP calls but no resilience handler was detected (Polly / AddStandardResilienceHandler / circuit-breaker). A slow or failing dependency will cascade β€” add timeouts, retries with back-off, and a circuit breaker.

What to do

  • Add `AddStandardResilienceHandler()` (or Polly policies) to your HttpClient registrations so a flaky dependency can't take the app down.
P8 Β· Schema migrations10.0 / 10Exemplaryβ—‹ Nothing flagged

Readiness Β· Readiness β€” Whether EF Core schema changes go through versioned migrations rather than the un-evolvable EnsureCreated().

Method: Roslyn scan: EF Core DbContext for a versioned migrations directory versus bare EnsureCreated usage. Exhaustive per project, deterministic.

P9 Β· Domain vs controller coverage2.8 / 10Poorβœ“ Tool-verified

Readiness Β· Readiness β€” Whether test coverage concentrates on the domain (business rules) rather than the trivial web/controller layer β€” a focus check a generic tool can't make.

Method: Roslyn plus test-execution analysis: domain-layer versus trivial web/controller coverage ratio. Computed metric, deterministic.

  • Domain coverage is 20% β€” the layer carrying the business rules is under-tested.

What to do

  • Raise unit-test coverage of the domain (aggregates, value objects, domain services) β€” that's where correctness matters most.
S1 Β· Web-Security Posture6.5 / 10Fairβœ“ Tool-verified

Other Β· Security β€” Transport security, security headers, secure cookies, input validation, middleware order and crypto hygiene (presence, not runtime).

Method: Roslyn plus filesystem scan: HSTS/security headers, secure cookies, input validation, middleware order, weak crypto (MD5/SHA1/DES); HTTPS-metadata context-aware. Deterministic.

  • No Content-Security-Policy / X-Frame-Options / X-Content-Type-Options configuration found β€” defense in depth, even when a reverse proxy could set them. (βˆ’2.0 on this card.)
  • No CookieSecurePolicy/HttpOnly/SameSite configuration found. (βˆ’1.5 on this card; skip if the app sets no cookies.)

What to do

  • Add security response headers (Content-Security-Policy, X-Frame-Options, X-Content-Type-Options) β€” defense in depth, even when a reverse proxy could set them.
  • Set secure cookie flags β€” CookieSecurePolicy.Always, HttpOnly, and SameSite (Strict/Lax) on auth/session cookies. Skip only if the app sets no cookies.
X1 Β· Async correctness10.0 / 10Exemplaryβ—‹ Nothing flagged

Other Β· Code Health β€” Whether the code avoids sync-over-async (deadlock-prone blocking on tasks) and async void.

Method: Roslyn syntax scan: async methods scanned for .Wait()/.GetAwaiter().GetResult() and async-void outside event handlers. Deterministic, hard fact per invocation.

X2 Β· Cancellation propagation9.0 / 10Healthyβœ“ Tool-verified

Other Β· Code Health β€” Whether async methods accept a CancellationToken so work can be cancelled (adoption curve).

Method: Roslyn scan: every async method (excluding framework-fixed overrides/Blazor handlers) checked for CancellationToken parameter presence. Deterministic, adoption percentage.

  • Only 203/244 async methods accept a CancellationToken, so requests can't be cancelled cleanly under load or on client disconnect. In Blazor Server circuits and other short-write hosts, omitting it can be an accepted convention β€” judge against your hosting model.
  • No CancellationToken parameter β€” work can't be cancelled cleanly on disconnect/shutdown. (×25) β€” CorsHeaderMiddleware.cs:14, PermissionInjectorMiddleware.cs:20, DomainEventDispatcher.cs:15, …

What to do

  • Thread a CancellationToken through async methods so work stops promptly on cancellation.
X3 Β· Exception handling10.0 / 10Exemplaryβ—‹ Nothing flagged

Other Β· Code Health β€” Whether exceptions are handled rather than silently swallowed or rethrown with lost stack traces.

Method: Roslyn syntax scan: every catch clause counted; empty catches and bare rethrows flagged. Population is all catch clauses, not estimated. Deterministic, hard fact.

X4 Β· Structured logging5.1 / 10Fairβœ“ Tool-verified

Other Β· Code Health β€” Whether log calls use message templates (queryable) rather than interpolated strings.

Method: Roslyn syntax scan: every log call-site counted; interpolated-string first-argument violations flagged. Population is all log calls, not estimated. Deterministic.

  • Logging an interpolated string (`$"..."`) collapses the event to plain text β€” you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: `LogInformation("User {UserId} did {Action}", id, action)`. (×3) β€” NbpExchangeRateApiClient.cs:57, NbpExchangeRateApiClient.cs:89, NotificationSender.cs:43

What to do

  • Interpolated log message defeats structured logging
X5 Β· Nullable reference types9.9 / 10Exemplaryβœ“ Tool-verified

Other Β· Code Health β€” Whether nullable reference types are enabled and not undermined by heavy `!` suppression.

Method: Roslyn compiler-options scan: NullableContextOptions per project; null-forgiving (!) suppression density per 1k syntax nodes. Deterministic, adoption plus suppression penalty.

  • ~0.1 `!` suppressions per 1k syntax nodes β€” each one tells the compiler to trust you about null, suppressing the very safety NRTs provide.

What to do

  • Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.

Reference β€” by lens

The score is the rank-weighted fold of these lenses (worst-heaviest), each including its meta-dimensions; a lens with a Critical contributor is capped at Fair (its band reads "gated by …") and is never the strongest area however high its average.

LensScoreRatingImpact
Code Health76%HealthySolid.
Architecture83%HealthyStrongest area.
Maturity50%Fair β€” gated by D34, M2Capped at Fair by a Critical contributor β€” resolve it before relying on this lens.
Readiness26%Poor β€” gated by D8, P3, P5, P7, P9Capped at Fair by a Critical contributor β€” resolve it before relying on this lens.
Security60%FairAcceptable, with room to improve.
Domain Modelling82%HealthySolid.
Event-Driven83%HealthySolid.
Not included β€” 27 check(s) not relevant to this codebase

These checks had nothing to measure here (no tests, no git history, the codebase is small, or the architecture style doesn't apply), so they're omitted above rather than scored low.

  • AC1 Text alternatives β€” No web markup found β€” accessibility is not applicable to this repository.
  • AC2 Forms & labels β€” No web markup found β€” accessibility is not applicable to this repository.
  • AC3 Page structure β€” No web markup found β€” accessibility is not applicable to this repository.
  • AC4 Keyboard semantics β€” No web markup found β€” accessibility is not applicable to this repository.
  • AC5 ARIA correctness β€” No web markup found β€” accessibility is not applicable to this repository.
  • AC6 Visual & motion safety β€” No web markup found β€” accessibility is not applicable to this repository.
  • AC7 A11y enforcement β€” No web markup found β€” accessibility is not applicable to this repository.
  • C4 Data Retention β€” Repo shows no data-retention / TTL / cleanup mechanism for personal data β€” absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
  • D25 ADR Conformance β€” no ADRs to check
  • D30 Dependency Vulnerabilities β€” Not applicable
  • D32 Data Compliance (PII/GDPR) β€” Not applicable
  • D33 JS/npm Dependency Vulnerabilities β€” Not applicable
  • D36 Supply-chain Provenance & Signing β€” Not applicable
  • D37 Vulnerability-disclosure Policy β€” Not applicable
  • D38 OSV Dependency Vulnerabilities β€” Not applicable
  • D7 Architectural Integrity β€” No checkable ADRs to assess
  • DM3 Integration-event coupling β€” no integration events detected β€” coupling check not applicable
  • DM7 Repository granularity β€” no repository abstraction detected (e.g. uses a document session)
  • ED2 Event/command shape β€” no command-shaped messages detected β€” single-handler-per-command check not applicable
  • ES1 Event Sourcing β€” not run β€” 0/3 markers found
  • P12 CI test-gate honesty β€” no data
  • P6 Release Hygiene β€” not evidenced β€” no changelog, version stamp or semver release tag in the repo
  • PF1 Benchmark discipline β€” Performance is assessed only for perf-relevant repos β€” a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
  • PF2 Allocation hygiene β€” Performance is assessed only for perf-relevant repos β€” a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
  • PF3 Async & latency hygiene β€” Performance is assessed only for perf-relevant repos β€” a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
  • X6 Hand-rolled structured-format parsing β€” no data
  • X7 Silent fallback defaults β€” no data

Appendix A β€” Findings (grouped)

The findings behind the scores, grouped by severity, then by dimension and kind. The high-severity issues are enumerated in full below; items per group are capped at 25 with any overflow stated explicitly per group, never silently truncated. The complete machine-readable list of every finding (all severities) is the companion findings.md in this report's bundle.

Issue β€” 9 finding(s)
D28 Β· Secrets (history) Β· Secret Β· Γ—4
  • Secret: generic-api-key src/Bootstrapper/InvestTracker.Bootstrapper/appsettings.json:13 β€” matched rule 'generic-api-key'
  • Secret: generic-api-key src/Bootstrapper/InvestTracker.Bootstrapper/appsettings.development.json:12 β€” matched rule 'generic-api-key'
  • Secret: generic-api-key src/Bootstrapper/InvestTracker.Bootstrapper/appsettings.json:17 β€” matched rule 'generic-api-key'
  • Secret: generic-api-key src/Bootstrapper/InvestTracker.Bootstrapper/appsettings.development.json:16 β€” matched rule 'generic-api-key'
D5 Β· Coupling Β· Layer violation Β· Γ—4
  • Layer violation: Domain β†’ Infrastructure β€” InvestTracker.Calculators.Core (Domain) references InvestTracker.Shared.Infrastructure (Infrastructure) β€” dependencies must point inward (Web β†’ Application β†’ Domain; Infrastructure implements inner interfaces, nothing depends outward on it).
  • Layer violation: Domain β†’ Infrastructure β€” InvestTracker.Notifications.Core (Domain) references InvestTracker.Shared.Infrastructure (Infrastructure) β€” dependencies must point inward (Web β†’ Application β†’ Domain; Infrastructure implements inner interfaces, nothing depends outward on it).
  • Layer violation: Domain β†’ Infrastructure β€” InvestTracker.Offers.Core (Domain) references InvestTracker.Shared.Infrastructure (Infrastructure) β€” dependencies must point inward (Web β†’ Application β†’ Domain; Infrastructure implements inner interfaces, nothing depends outward on it).
  • Layer violation: Domain β†’ Infrastructure β€” InvestTracker.Users.Core (Domain) references InvestTracker.Shared.Infrastructure (Infrastructure) β€” dependencies must point inward (Web β†’ Application β†’ Domain; Infrastructure implements inner interfaces, nothing depends outward on it).
D12 Β· Dependency Hygiene Β· Vulnerable Β· Γ—1
  • Vulnerable: MailKit β€” MailKit 4.3.0 β€” Moderate severity. https://github.com/advisories/[GHSA redacted]
Warning β€” 112 finding(s)
D17 Β· Explicit Debt Β· Dead code Β· Γ—84
  • Dead code: AdvisorsController src/Modules/Offers/src/InvestTracker.Offers.Api/Controllers/AdvisorsController.cs:15 β€” NamedType AdvisorsController β€” no references found in solution.
  • Dead code: CollaborationsController src/Modules/Offers/src/InvestTracker.Offers.Api/Controllers/CollaborationsController.cs:15 β€” NamedType CollaborationsController β€” no references found in solution.
  • Dead code: HomeController src/Modules/Offers/src/InvestTracker.Offers.Api/Controllers/HomeController.cs:6 β€” NamedType HomeController β€” no references found in solution.
  • Dead code: InvitationsController src/Modules/Offers/src/InvestTracker.Offers.Api/Controllers/InvitationsController.cs:16 β€” NamedType InvitationsController β€” no references found in solution.
  • Dead code: OffersController src/Modules/Offers/src/InvestTracker.Offers.Api/Controllers/OffersController.cs:20 β€” NamedType OffersController β€” no references found in solution.
  • Dead code: AccountCreatedHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Events/External/Handlers/AccountCreatedHandler.cs:8 β€” NamedType AccountCreatedHandler β€” no references found in solution.
  • Dead code: AccountDeletedHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Events/External/Handlers/AccountDeletedHandler.cs:6 β€” NamedType AccountDeletedHandler β€” no references found in solution.
  • Dead code: UserSubscriptionChangedHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Events/External/Handlers/UserSubscriptionChangedHandler.cs:8 β€” NamedType UserSubscriptionChangedHandler β€” no references found in solution.
  • Dead code: CannotCancelNotOwnCollaborationsException src/Modules/Offers/src/InvestTracker.Offers.Core/Exceptions/CannotCancelNotOwnCollaborationsException.cs:3 β€” NamedType CannotCancelNotOwnCollaborationsException β€” no references found in solution.
  • Dead code: UpdateAdvisorHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Advisors/Commands/UpdateAdvisor/UpdateAdvisorHandler.cs:8 β€” NamedType UpdateAdvisorHandler β€” no references found in solution.
  • Dead code: GetAdvisorHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Advisors/Queries/GetAdvisor/GetAdvisorHandler.cs:11 β€” NamedType GetAdvisorHandler β€” no references found in solution.
  • Dead code: CancelCollaborationHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Collaborations/Commands/CancelCollaboration/CancelCollaborationHandler.cs:10 β€” NamedType CancelCollaborationHandler β€” no references found in solution.
  • Dead code: GetCollaborationHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Collaborations/Queries/GetCollaboration/GetCollaborationHandler.cs:8 β€” NamedType GetCollaborationHandler β€” no references found in solution.
  • Dead code: GetCollaborationsHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Collaborations/Queries/GetCollaborations/GetCollaborationsHandler.cs:7 β€” NamedType GetCollaborationsHandler β€” no references found in solution.
  • Dead code: ConfirmInvitationHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Invitations/Commands/ConfirmInvitation/ConfirmInvitationHandler.cs:13 β€” NamedType ConfirmInvitationHandler β€” no references found in solution.
  • Dead code: RejectInvitationHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Invitations/Commands/RejectInvitation/RejectInvitationHandler.cs:10 β€” NamedType RejectInvitationHandler β€” no references found in solution.
  • Dead code: SendInvitationHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Invitations/Commands/SendInvitation/SendInvitationHandler.cs:13 β€” NamedType SendInvitationHandler β€” no references found in solution.
  • Dead code: GetInvitationsHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Invitations/Queries/GetInvitations/GetInvitationsHandler.cs:7 β€” NamedType GetInvitationsHandler β€” no references found in solution.
  • Dead code: CreateOfferHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Offers/Commands/CreateOffer/CreateOfferHandler.cs:10 β€” NamedType CreateOfferHandler β€” no references found in solution.
  • Dead code: DeleteOfferHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Offers/Commands/DeleteOffer/DeleteOfferHandler.cs:9 β€” NamedType DeleteOfferHandler β€” no references found in solution.
  • Dead code: UpdateOfferHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Offers/Commands/UpdateOffer/UpdateOfferHandler.cs:10 β€” NamedType UpdateOfferHandler β€” no references found in solution.
  • Dead code: GetOfferDetailsHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Offers/Queries/GetOfferDetails/GetOfferDetailsHandler.cs:9 β€” NamedType GetOfferDetailsHandler β€” no references found in solution.
  • Dead code: GetOffersHandler src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Offers/Queries/GetOffers/GetOffersHandler.cs:9 β€” NamedType GetOffersHandler β€” no references found in solution.
  • Dead code: EmailsController src/Modules/Notifications/src/InvestTracker.Notifications.Api/Controllers/EmailsController.cs:11 β€” NamedType EmailsController β€” no references found in solution.
  • Dead code: GlobalSettingsController src/Modules/Notifications/src/InvestTracker.Notifications.Api/Controllers/GlobalSettingsController.cs:11 β€” NamedType GlobalSettingsController β€” no references found in solution.
  • + 59 more in this group β€” see findings.md.
D19 Β· Documentation Quality Β· Low XML-doc coverage Β· Γ—16
  • Low XML-doc coverage: InvestTracker.Bootstrapper src/Bootstrapper/InvestTracker.Bootstrapper/InvestTracker.Bootstrapper.csproj β€” InvestTracker.Bootstrapper: 0 % XML-doc coverage (0/2).
  • Low XML-doc coverage: InvestTracker.Shared.Abstractions src/Shared/InvestTracker.Shared.Abstractions/InvestTracker.Shared.Abstractions.csproj β€” InvestTracker.Shared.Abstractions: 2 % XML-doc coverage (3/190).
  • Low XML-doc coverage: InvestTracker.Shared.Infrastructure src/Shared/InvestTracker.Shared.Infrastructure/InvestTracker.Shared.Infrastructure.csproj β€” InvestTracker.Shared.Infrastructure: 1 % XML-doc coverage (1/138).
  • Low XML-doc coverage: InvestTracker.Offers.Api src/Modules/Offers/src/InvestTracker.Offers.Api/InvestTracker.Offers.Api.csproj β€” InvestTracker.Offers.Api: 0 % XML-doc coverage (0/30).
  • Low XML-doc coverage: InvestTracker.Offers.Core src/Modules/Offers/src/InvestTracker.Offers.Core/InvestTracker.Offers.Core.csproj β€” InvestTracker.Offers.Core: 3 % XML-doc coverage (6/214).
  • Low XML-doc coverage: InvestTracker.Notifications.Api src/Modules/Notifications/src/InvestTracker.Notifications.Api/InvestTracker.Notifications.Api.csproj β€” InvestTracker.Notifications.Api: 0 % XML-doc coverage (0/35).
  • Low XML-doc coverage: InvestTracker.Notifications.Core src/Modules/Notifications/src/InvestTracker.Notifications.Core/InvestTracker.Notifications.Core.csproj β€” InvestTracker.Notifications.Core: 0 % XML-doc coverage (0/160).
  • Low XML-doc coverage: InvestTracker.InvestmentStrategies.Api src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Api/InvestTracker.InvestmentStrategies.Api.csproj β€” InvestTracker.InvestmentStrategies.Api: 0 % XML-doc coverage (0/43).
  • Low XML-doc coverage: InvestTracker.InvestmentStrategies.Application src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/InvestTracker.InvestmentStrategies.Application.csproj β€” InvestTracker.InvestmentStrategies.Application: 0 % XML-doc coverage (0/159).
  • Low XML-doc coverage: InvestTracker.InvestmentStrategies.Domain src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Domain/InvestTracker.InvestmentStrategies.Domain.csproj β€” InvestTracker.InvestmentStrategies.Domain: 0 % XML-doc coverage (0/296).
  • Low XML-doc coverage: InvestTracker.InvestmentStrategies.Infrastructure src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/InvestTracker.InvestmentStrategies.Infrastructure.csproj β€” InvestTracker.InvestmentStrategies.Infrastructure: 8 % XML-doc coverage (18/231).
  • Low XML-doc coverage: InvestTracker.Calculators.Api src/Modules/Calculators/src/InvestTracker.Calculators.Api/InvestTracker.Calculators.Api.csproj β€” InvestTracker.Calculators.Api: 0 % XML-doc coverage (0/7).
  • Low XML-doc coverage: InvestTracker.Calculators.Core src/Modules/Calculators/src/InvestTracker.Calculators.Core/InvestTracker.Calculators.Core.csproj β€” InvestTracker.Calculators.Core: 0 % XML-doc coverage (0/1).
  • Low XML-doc coverage: InvestTracker.Users.Api src/Modules/Users/src/InvestTracker.Users.Api/InvestTracker.Users.Api.csproj β€” InvestTracker.Users.Api: 0 % XML-doc coverage (0/27).
  • Low XML-doc coverage: InvestTracker.Users.Core src/Modules/Users/src/InvestTracker.Users.Core/InvestTracker.Users.Core.csproj β€” InvestTracker.Users.Core: 4 % XML-doc coverage (6/168).
  • Low XML-doc coverage: InvestTracker.Notifications.Infrastructure src/Modules/Notifications/src/InvestTracker.Notifications.Infrastructure/InvestTracker.Notifications.Infrastructure.csproj β€” InvestTracker.Notifications.Infrastructure: 3 % XML-doc coverage (2/73).
D12 Β· Dependency Hygiene Β· Deprecated Β· Γ—2
  • Deprecated: xunit β€” xunit 2.6.6 β€” Legacy xunit.v3 >= 0.0.0
  • Deprecated: xunit β€” xunit 2.6.6 β€” Legacy xunit.v3 >= 0.0.0
D35 Β· Change Coupling Β· Change coupling Β· Γ—2
  • Change coupling: UsersPermission.cs ↔ UsersPermissionMatrix.cs src/Modules/Users/src/InvestTracker.Users.Api/Permissions/UsersPermission.cs β€” `src/Modules/Users/src/InvestTracker.Users.Api/Permissions/UsersPermission.cs` and `src/Modules/Users/src/InvestTracker.Users.Api/Permissions/UsersPermissionMatrix.cs` change together 57% of the time (8 shared commits) with no explicit dependency β€” a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: PermissionInjectorMiddleware.cs ↔ Extensions.cs src/Shared/InvestTracker.Shared.Infrastructure/Authorization/PermissionInjectorMiddleware.cs β€” `src/Shared/InvestTracker.Shared.Infrastructure/Authorization/PermissionInjectorMiddleware.cs` and `src/Shared/InvestTracker.Shared.Infrastructure/Extensions.cs` change together 50% of the time (6 shared commits) with no explicit dependency β€” a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
D6 Β· Cohesion (LCOM4) Β· Low cohesion Β· Γ—2
  • Low cohesion: TreasuryBond (LCOM4 5) src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Domain/Portfolios/Abstractions/TreasuryBond.cs:9 β€” TreasuryBond's methods form 5 groups that share no state and don't call each other β€” a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: Cash (LCOM4 5) src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Domain/Portfolios/Entities/FinancialAssets/Cash.cs:12 β€” Cash's methods form 5 groups that share no state and don't call each other β€” a sign it may have several responsibilities. Review whether it splits into focused classes.
D1 Β· Cyclomatic Complexity Β· ExchangeRateRepository.GetAsync (cyclomatic 17) Β· Γ—1
  • ExchangeRateRepository.GetAsync (cyclomatic 17) src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/Persistence/Repositories/ExchangeRateRepository.cs:18 β€” ExchangeRateRepository.GetAsync has cyclomatic complexity 17 (threshold 15).
D1 Β· Cyclomatic Complexity Β· Extensions.FilterByRecipientGroup (cyclomatic 16) Β· Γ—1
  • Extensions.FilterByRecipientGroup (cyclomatic 16) src/Modules/Notifications/src/InvestTracker.Notifications.Infrastructure/Extensions.cs:121 β€” Extensions.FilterByRecipientGroup has cyclomatic complexity 16 (threshold 15).
D2 Β· Cognitive Complexity Β· ExchangeRateRepository.GetAsync (cognitive 19) Β· Γ—1
  • ExchangeRateRepository.GetAsync (cognitive 19) src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/Persistence/Repositories/ExchangeRateRepository.cs:18 β€” ExchangeRateRepository.GetAsync has cognitive complexity 19 (threshold 15).
D2 Β· Cognitive Complexity Β· UpdateInflationRatesTask.GetMissingMonths (cognitive 16) Β· Γ—1
  • UpdateInflationRatesTask.GetMissingMonths (cognitive 16) src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/DataCollectors/InflationRates/BackgroundTasks/UpdateInflationRatesTask.cs:87 β€” UpdateInflationRatesTask.GetMissingMonths has cognitive complexity 16 (threshold 15).
D4 Β· Code Duplication Β· Duplicated block (40 lines × 2) Β· Γ—1
  • Duplicated block (40 lines × 2) src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Domain/Portfolios/Entities/FinancialAssets/CoiTreasuryBond.cs:102 β€” src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Domain/Portfolios/Entities/FinancialAssets/CoiTreasuryBond.cs:102-141 | src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Domain/Portfolios/Entities/FinancialAssets/EdoTreasuryBond.cs:110-149
D5 Β· Coupling Β· Off the main sequence Β· Γ—1
  • Off the main sequence: InvestTracker.Shared.Infrastructure β€” InvestTracker.Shared.Infrastructure: abstractness 0.09, instability 0.07, distance 0.84 β€” zone of pain β€” concrete and heavily depended-on, so it's rigid to change.
Recommendation β€” 15 finding(s)
D24 Β· Comment Value Β· redundant comment Β· Γ—2
  • redundant comment src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/Persistence/Migrations/20231008005653_InvestmentStrategies_Module_Init.Designer.cs:1 β€” "// <auto-generated />" β€” Remove. This is boilerplate noise that adds no value. If the file is auto-generated, the header comment is sufficient; if it's not, the comment is misleading.
  • redundant comment src/Modules/InvestmentStrategies/tests/InvestTracker.InvestmentStrategies.UnitTests/Domain/Asset/Entities/Assets/EdoTreasuryBondTests.cs:21 β€” "// arrange" β€” Remove. 'Arrange' is a standard test pattern; the code structure (variable declarations) already implies this. Use a more specific comment if the setup is complex.
D16 Β· Bus Factor Β· Small-team knowledge concentration Β· Γ—1
  • Small-team knowledge concentration β€” 0 file(s) are concentrated to one author β€” the ambient state with 2 active author(s), not 0 separate risks. The signal becomes meaningful as ownership spreads; no per-file action implied now.
D20 Β· ADR Quality Β· No ADRs found Β· Γ—1
  • No ADRs found β€” No ADRs found at common paths; consider documenting architectural decisions in Docs/ADL/ or similar.
D25 Β· ADR Conformance Β· no ADRs to check Β· Γ—1
  • no ADRs to check β€” No ADRs found, so conformance can't be assessed.
D28 Β· Secrets (history) Β· Rotate the exposed credentials Β· Γ—1
  • Rotate the exposed credentials β€” git history can't be un-committed β€” Some of these secrets are in git HISTORY: deleting the file does not remove them (the commit persists on every clone, fork and backup). The remediation is to ROTATE each historically-exposed credential and treat it as compromised β€” not to delete the file. Rewriting history is disruptive and unreliable across existing forks. (Working-tree-only secrets β€” no commit β€” can instead be removed from the file and moved to a secret store.)
D30 Β· Dependency Vulnerabilities Β· Not applicable Β· Γ—1
  • Not applicable β€” the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan for NuGet CVEs β€” excluded rather than scored; re-run on an SDK that can restore this solution
D31 Β· IaC & Container Security Β· Low IaC Β· Γ—1
  • Low IaC: DS-0026 src/Bootstrapper/InvestTracker.Bootstrapper/Dockerfile β€” No HEALTHCHECK defined
D32 Β· Data Compliance (PII/GDPR) Β· Not applicable Β· Γ—1
  • Not applicable β€” No PII/GDPR-handling patterns detected (p/gdpr ruleset) β€” no data-compliance surface to assess.
D33 Β· JS/npm Dependency Vulnerabilities Β· Not applicable Β· Γ—1
  • Not applicable β€” No JS/npm manifest or lockfile found outside bin/obj (package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); no JS dependencies to scan.
D34 Β· Knowledge Freshness Β· Dormant codebase Β· Γ—1
  • Dormant codebase β€” 55 of 57 significant files have no living knowledge β€” the codebase as a whole is dormant, not 55 separate risks. Re-engage owners or document before change.
D36 Β· Supply-chain Provenance & Signing Β· Not applicable Β· Γ—1
  • Not applicable β€” The CI pipeline builds and tests but publishes no released artifact β€” no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a NuGet package, a container image, a GitHub release).
D37 Β· Vulnerability-disclosure Policy Β· Not applicable Β· Γ—1
  • Not applicable β€” No vulnerability-disclosure policy file found (SECURITY.md, .github/SECURITY.md, docs/SECURITY.md, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
D38 Β· OSV Dependency Vulnerabilities Β· Not applicable Β· Γ—1
  • Not applicable β€” No JS/npm lockfile found outside bin/obj (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); nothing for OSV to scan.
D7 Β· Architectural Integrity Β· No checkable ADRs to assess Β· Γ—1
  • No checkable ADRs to assess β€” No architecture decision records were found and the project graph is acyclic, so architectural integrity could not be assessed. Add ADRs (with `enforcement: analyzer|test`) to make the architecture's rules checkable.
Info β€” 59 finding(s)
D12 Β· Dependency Hygiene Β· Outdated Β· Γ—28
  • Outdated: Microsoft.EntityFrameworkCore.Design β€” Microsoft.EntityFrameworkCore.Design 8.0.1 β†’ 10.0.9 available.
  • Outdated: Microsoft.Extensions.Configuration.Abstractions β€” Microsoft.Extensions.Configuration.Abstractions 8.0.0 β†’ 10.0.9 available.
  • Outdated: Microsoft.Extensions.DependencyInjection.Abstractions β€” Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 β†’ 10.0.9 available.
  • Outdated: Humanizer β€” Humanizer 2.14.1 β†’ 3.0.10 available.
  • Outdated: Microsoft.AspNetCore.Authentication.JwtBearer β€” Microsoft.AspNetCore.Authentication.JwtBearer 8.0.1 β†’ 10.0.9 available.
  • Outdated: Microsoft.EntityFrameworkCore.Proxies β€” Microsoft.EntityFrameworkCore.Proxies 8.0.1 β†’ 10.0.9 available.
  • Outdated: Newtonsoft.Json β€” Newtonsoft.Json 13.0.3 β†’ 13.0.4 available.
  • Outdated: Npgsql.EntityFrameworkCore.PostgreSQL β€” Npgsql.EntityFrameworkCore.PostgreSQL 8.0.0 β†’ 10.0.2 available.
  • Outdated: Scrutor β€” Scrutor 4.2.2 β†’ 7.0.0 available.
  • Outdated: Swashbuckle.AspNetCore.Annotations β€” Swashbuckle.AspNetCore.Annotations 6.5.0 β†’ 10.2.2 available.
  • Outdated: Swashbuckle.AspNetCore.Swagger β€” Swashbuckle.AspNetCore.Swagger 6.5.0 β†’ 10.2.2 available.
  • Outdated: Swashbuckle.AspNetCore.SwaggerGen β€” Swashbuckle.AspNetCore.SwaggerGen 6.5.0 β†’ 10.2.2 available.
  • Outdated: Swashbuckle.AspNetCore.SwaggerUI β€” Swashbuckle.AspNetCore.SwaggerUI 6.5.0 β†’ 10.2.2 available.
  • Outdated: coverlet.collector β€” coverlet.collector 6.0.0 β†’ 10.0.1 available.
  • Outdated: Microsoft.NET.Test.Sdk β€” Microsoft.NET.Test.Sdk 17.8.0 β†’ 18.6.0 available.
  • Outdated: NSubstitute β€” NSubstitute 5.1.0 β†’ 5.3.0 available.
  • Outdated: Shouldly β€” Shouldly 4.2.1 β†’ 4.3.0 available.
  • Outdated: xunit β€” xunit 2.6.6 β†’ 2.9.3 available.
  • Outdated: xunit.runner.visualstudio β€” xunit.runner.visualstudio 2.5.6 β†’ 3.1.5 available.
  • Outdated: coverlet.collector β€” coverlet.collector 6.0.0 β†’ 10.0.1 available.
  • Outdated: Microsoft.NET.Test.Sdk β€” Microsoft.NET.Test.Sdk 17.8.0 β†’ 18.6.0 available.
  • Outdated: NSubstitute β€” NSubstitute 5.1.0 β†’ 5.3.0 available.
  • Outdated: Shouldly β€” Shouldly 4.2.1 β†’ 4.3.0 available.
  • Outdated: xunit β€” xunit 2.6.6 β†’ 2.9.3 available.
  • Outdated: xunit.runner.visualstudio β€” xunit.runner.visualstudio 2.5.6 β†’ 3.1.5 available.
  • + 3 more in this group β€” see findings.md.
D10 Β· Test Quality Β· Mock framework Β· Γ—2
  • Mock framework: NSubstitute β€” InvestTracker.Users.UnitTests references NSubstitute.
  • Mock framework: NSubstitute β€” InvestTracker.InvestmentStrategies.UnitTests references NSubstitute.
D14 Β· License Compliance Β· Licenses scanned Β· Γ—1
  • Licenses scanned β€” 19 packages scanned; 5 distinct SPDX licenses.
D18 Β· Solution Shape Β· InvestTracker.Bootstrapper (Production) Β· Γ—1
  • InvestTracker.Bootstrapper (Production) src/Bootstrapper/InvestTracker.Bootstrapper/InvestTracker.Bootstrapper.csproj β€” 2 .cs files, 57 LoC (47 significant)
D18 Β· Solution Shape Β· InvestTracker.Shared.Abstractions (Production) Β· Γ—1
  • InvestTracker.Shared.Abstractions (Production) src/Shared/InvestTracker.Shared.Abstractions/InvestTracker.Shared.Abstractions.csproj β€” 61 .cs files, 952 LoC (743 significant)
D18 Β· Solution Shape Β· InvestTracker.Shared.Infrastructure (Production) Β· Γ—1
  • InvestTracker.Shared.Infrastructure (Production) src/Shared/InvestTracker.Shared.Infrastructure/InvestTracker.Shared.Infrastructure.csproj β€” 54 .cs files, 1645 LoC (1335 significant)
D18 Β· Solution Shape Β· InvestTracker.Offers.Api (Production) Β· Γ—1
  • InvestTracker.Offers.Api (Production) src/Modules/Offers/src/InvestTracker.Offers.Api/InvestTracker.Offers.Api.csproj β€” 11 .cs files, 389 LoC (336 significant)
D18 Β· Solution Shape Β· InvestTracker.Offers.Core (Production) Β· Γ—1
  • InvestTracker.Offers.Core (Production) src/Modules/Offers/src/InvestTracker.Offers.Core/InvestTracker.Offers.Core.csproj β€” 90 .cs files, 4120 LoC (3279 significant)
D18 Β· Solution Shape Β· InvestTracker.Notifications.Api (Production) Β· Γ—1
  • InvestTracker.Notifications.Api (Production) src/Modules/Notifications/src/InvestTracker.Notifications.Api/InvestTracker.Notifications.Api.csproj β€” 14 .cs files, 343 LoC (293 significant)
D18 Β· Solution Shape Β· InvestTracker.Notifications.Core (Production) Β· Γ—1
  • InvestTracker.Notifications.Core (Production) src/Modules/Notifications/src/InvestTracker.Notifications.Core/InvestTracker.Notifications.Core.csproj β€” 54 .cs files, 1065 LoC (869 significant)
D18 Β· Solution Shape Β· InvestTracker.InvestmentStrategies.Api (Production) Β· Γ—1
  • InvestTracker.InvestmentStrategies.Api (Production) src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Api/InvestTracker.InvestmentStrategies.Api.csproj β€” 19 .cs files, 543 LoC (476 significant)
D18 Β· Solution Shape Β· InvestTracker.InvestmentStrategies.Application (Production) Β· Γ—1
  • InvestTracker.InvestmentStrategies.Application (Production) src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/InvestTracker.InvestmentStrategies.Application.csproj β€” 63 .cs files, 1167 LoC (949 significant)
D18 Β· Solution Shape Β· InvestTracker.InvestmentStrategies.Domain (Production) Β· Γ—1
  • InvestTracker.InvestmentStrategies.Domain (Production) src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Domain/InvestTracker.InvestmentStrategies.Domain.csproj β€” 99 .cs files, 2181 LoC (1760 significant)
D18 Β· Solution Shape Β· InvestTracker.InvestmentStrategies.Infrastructure (Production) Β· Γ—1
  • InvestTracker.InvestmentStrategies.Infrastructure (Production) src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Infrastructure/InvestTracker.InvestmentStrategies.Infrastructure.csproj β€” 109 .cs files, 14627 LoC (11103 significant)
D18 Β· Solution Shape Β· InvestTracker.Calculators.Api (Production) Β· Γ—1
  • InvestTracker.Calculators.Api (Production) src/Modules/Calculators/src/InvestTracker.Calculators.Api/InvestTracker.Calculators.Api.csproj β€” 4 .cs files, 59 LoC (48 significant)
D18 Β· Solution Shape Β· InvestTracker.Calculators.Core (Production) Β· Γ—1
  • InvestTracker.Calculators.Core (Production) src/Modules/Calculators/src/InvestTracker.Calculators.Core/InvestTracker.Calculators.Core.csproj β€” 1 .cs files, 13 LoC (11 significant)
D18 Β· Solution Shape Β· InvestTracker.Users.Api (Production) Β· Γ—1
  • InvestTracker.Users.Api (Production) src/Modules/Users/src/InvestTracker.Users.Api/InvestTracker.Users.Api.csproj β€” 8 .cs files, 299 LoC (256 significant)
D18 Β· Solution Shape Β· InvestTracker.Users.Core (Production) Β· Γ—1
  • InvestTracker.Users.Core (Production) src/Modules/Users/src/InvestTracker.Users.Core/InvestTracker.Users.Core.csproj β€” 75 .cs files, 2743 LoC (2146 significant)
D18 Β· Solution Shape Β· InvestTracker.Users.UnitTests (Test) Β· Γ—1
  • InvestTracker.Users.UnitTests (Test) src/Modules/Users/tests/InvestTracker.Users.UnitTests/InvestTracker.Users.UnitTests.csproj β€” 3 .cs files, 1001 LoC (704 significant)
D18 Β· Solution Shape Β· InvestTracker.InvestmentStrategies.UnitTests (Test) Β· Γ—1
  • InvestTracker.InvestmentStrategies.UnitTests (Test) src/Modules/InvestmentStrategies/tests/InvestTracker.InvestmentStrategies.UnitTests/InvestTracker.InvestmentStrategies.UnitTests.csproj β€” 2 .cs files, 204 LoC (154 significant)
D18 Β· Solution Shape Β· NotificationsClientTestApp (Production) Β· Γ—1
  • NotificationsClientTestApp (Production) src/Modules/Notifications/tests/NotificationsClientTestApp/NotificationsClientTestApp.csproj β€” 1 .cs files, 47 LoC (34 significant)
D18 Β· Solution Shape Β· InvestTracker.Notifications.Infrastructure (Production) Β· Γ—1
  • InvestTracker.Notifications.Infrastructure (Production) src/Modules/Notifications/src/InvestTracker.Notifications.Infrastructure/InvestTracker.Notifications.Infrastructure.csproj β€” 29 .cs files, 1706 LoC (1372 significant)
D22 Β· Internal API Consistency Β· No exposed public API Β· Γ—1
  • No exposed public API β€” No intentionally-exposed types (IsPackable or .Contracts) to evaluate.
D23 Β· Boundary Type-Coupling Β· InvestmentStrategies Β· Γ—1
  • InvestmentStrategies: 6 contract type(s) expose producer-owned ids/enums β€” In InvestmentStrategies, 6 contract type(s) (AssetLimitPolicyDto, CashChart, FinancialAssetAdded, PortfolioCreated, PortfolioPolicyLimitDto, ShareInvestmentStrategyDto) expose strong-typed ids/value objects (Currency, FinancialAssetId, InvestmentStrategyId, PortfolioId, ShareInvestmentStrategyDto, Subscription); a serialized contract could expose the underlying primitive instead. Advisory β€” a deliberate strong-ID style is fine.
D23 Β· Boundary Type-Coupling Β· Notifications Β· Γ—1
  • Notifications: 2 contract type(s) expose producer-owned ids/enums β€” In Notifications, 2 contract type(s) (DirectEmailMessage, EmailMessage) expose strong-typed ids/value objects (Email); a serialized contract could expose the underlying primitive instead. Advisory β€” a deliberate strong-ID style is fine.
D23 Β· Boundary Type-Coupling Β· Offers Β· Γ—1
  • Offers: 1 contract type(s) expose producer-owned ids/enums β€” In Offers, 1 contract type(s) (AccountDeleted) expose strong-typed ids/value objects (AccountDeleted); a serialized contract could expose the underlying primitive instead. Advisory β€” a deliberate strong-ID style is fine.
D23 Β· Boundary Type-Coupling Β· Users Β· Γ—1
  • Users: 1 contract type(s) expose producer-owned ids/enums β€” In Users, 1 contract type(s) (PasswordChanged) expose strong-typed ids/value objects (PasswordChanged); a serialized contract could expose the underlying primitive instead. Advisory β€” a deliberate strong-ID style is fine.
D9 Β· Test Distribution Β· Unit tests Β· Γ—1
  • Unit tests β€” 38 unit test method(s).
D9 Β· Test Distribution Β· Integration tests Β· Γ—1
  • Integration tests β€” 0 integration test method(s).
D9 Β· Test Distribution Β· BDD tests Β· Γ—1
  • BDD tests β€” 0 BDD test method(s).
D9 Β· Test Distribution Β· E2E tests Β· Γ—1
  • E2E tests β€” 0 end-to-end test method(s).

Appendix B β€” Reproduction & audit trail

Every external tool invocation behind a deep-scan dimension β€” the tool, its captured version, the exact command, how many findings it yielded, and a link to the retained raw output. To reproduce any finding: check out the same commit and run the command shown (repo-relative β€” never an absolute scratch path). The complete raw scanner output is retained verbatim under artifacts/raw/ (indexed in artifacts/raw/index.json); per-invocation exit codes and wall-clock durations are in sidecar.json β€” kept out of this table so the rendered report stays byte-identical across runs of the same commit.

DimensionToolVersionCommandFindingsRaw output
D28 Β· Secrets (history)gitleaksβ€”gitleaks detect --no-banner --report-format json --report-path /dev/stdout --exit-code 0 --source .4artifacts/raw/gitleaks-history.json
D29 Β· Static Analysis (SAST)semgrepβ€”semgrep --config auto --json --quiet --timeout 0 --metrics off .0β€”
D30 Β· Dependency Vulnerabilitiesdotnetβ€”dotnet: not applicable β€” the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan for NuGet CVEs β€” excluded rather than scored; re-run on an SDK that can restore this solution0β€”
D31 Β· IaC & Container Securitytrivyβ€”trivy config --format json --quiet .1artifacts/raw/trivy-config.json
D32 Β· Data Compliance (PII/GDPR)semgrepβ€”semgrep: not applicable β€” No PII/GDPR-handling patterns detected (p/gdpr ruleset) β€” no data-compliance surface to assess.0β€”
D33 Β· JS/npm Dependency Vulnerabilitiestrivyβ€”trivy: not applicable β€” No JS/npm manifest or lockfile found outside bin/obj (package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); no JS dependencies to scan.0β€”
D36 Β· Supply-chain Provenance & Signingprovenanceβ€”provenance: not applicable β€” The CI pipeline builds and tests but publishes no released artifact β€” no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a NuGet package, a container image, a GitHub release).0β€”
D37 Β· Vulnerability-disclosure Policydisclosureβ€”disclosure: not applicable β€” No vulnerability-disclosure policy file found (SECURITY.md, .github/SECURITY.md, docs/SECURITY.md, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.0β€”
D38 Β· OSV Dependency Vulnerabilitiesosv-scannerβ€”osv-scanner: not applicable β€” No JS/npm lockfile found outside bin/obj (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); nothing for OSV to scan.0β€”

Run 019ee1d9-3fdf-7e8e-906d-af9d572f18d4 Β· every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.

Appendix C β€” Personal-data map

Every field, property and record parameter whose name is conventional personal data β€” 76 field(s) across 3 categories, each with an exact repo-relative file:line. This is the data inventory a compliance review starts from β€” right-to-erasure, retention, minimisation. Detected by name with a deliberately specific classifier (the same one the GDPR dimensions use, so CardDefinition or FileName don't trip); informational β€” it feeds no score.

Email β€” 34 field(s)
  • AccountCreated.Email src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/Stakeholders/Events/External/AccountCreated.cs:5
  • UserSubscriptionChanged.Email src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/Stakeholders/Events/External/UserSubscriptionChanged.cs:5
  • Stakeholder.Email src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Domain/Stakeholders/Entities/Stakeholder.cs:12
  • EmailsController._emailPublisher src/Modules/Notifications/src/InvestTracker.Notifications.Api/Controllers/EmailsController.cs:13
  • GlobalSettingsDto.EnableEmails src/Modules/Notifications/src/InvestTracker.Notifications.Core/Dto/GlobalSettingsDto.cs:7
  • PersonalSettingsDto.EnableEmails src/Modules/Notifications/src/InvestTracker.Notifications.Core/Dto/PersonalSettingsDto.cs:6
  • ReceiverDto.Email src/Modules/Notifications/src/InvestTracker.Notifications.Core/Dto/ReceiverDto.cs:7
  • SetGlobalSettingsDto.EnableEmails src/Modules/Notifications/src/InvestTracker.Notifications.Core/Dto/SetGlobalSettingsDto.cs:6
  • SetPersonalSettingsDto.EnableEmails src/Modules/Notifications/src/InvestTracker.Notifications.Core/Dto/SetPersonalSettingsDto.cs:6
  • NotificationSettings.EnableEmails src/Modules/Notifications/src/InvestTracker.Notifications.Core/Entities/Base/NotificationSettings.cs:7
  • Receiver.Email src/Modules/Notifications/src/InvestTracker.Notifications.Core/Entities/Receiver.cs:9
  • CollaborationCancelledHandler._emailPublisher src/Modules/Notifications/src/InvestTracker.Notifications.Core/ExternalEvents/Offers/Handlers/CollaborationCancelledHandler.cs:12
  • CollaborationStartedHandler._emailPublisher src/Modules/Notifications/src/InvestTracker.Notifications.Core/ExternalEvents/Offers/Handlers/CollaborationStartedHandler.cs:12
  • AccountCreated.Email src/Modules/Notifications/src/InvestTracker.Notifications.Core/ExternalEvents/Users/AccountCreated.cs:5
  • UserSubscriptionChanged.Email src/Modules/Notifications/src/InvestTracker.Notifications.Core/ExternalEvents/Users/UserSubscriptionChanged.cs:5
  • EmailSenderOptions.SenderEmail src/Modules/Notifications/src/InvestTracker.Notifications.Infrastructure/Options/EmailSenderOptions.cs:11
  • EmailPublisher._emailSender src/Modules/Notifications/src/InvestTracker.Notifications.Infrastructure/Services/Emails/EmailPublisher.cs:11
  • Advisor.Email src/Modules/Offers/src/InvestTracker.Offers.Core/Entities/Advisor.cs:7
  • Investor.Email src/Modules/Offers/src/InvestTracker.Offers.Core/Entities/Investor.cs:7
  • CollaborationInvitationSent.ReceiverEmail src/Modules/Offers/src/InvestTracker.Offers.Core/Events/CollaborationInvitationSent.cs:5
  • CollaborationInvitationSent.SenderEmail src/Modules/Offers/src/InvestTracker.Offers.Core/Events/CollaborationInvitationSent.cs:5
  • AccountCreated.Email src/Modules/Offers/src/InvestTracker.Offers.Core/Events/External/AccountCreated.cs:5
  • UserSubscriptionChanged.Email src/Modules/Offers/src/InvestTracker.Offers.Core/Events/External/UserSubscriptionChanged.cs:5
  • CollaborationDetailsDto.AdvisorEmail src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Collaborations/Queries/GetCollaboration/CollaborationDetailsDto.cs:9
  • CollaborationDetailsDto.InvestorEmail src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Collaborations/Queries/GetCollaboration/CollaborationDetailsDto.cs:12
  • AdvisorDetailsDto.Email src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Offers/Queries/GetOfferDetails/Dtos/AdvisorDetailsDto.cs:7
  • SignInDto.Email src/Modules/Users/src/InvestTracker.Users.Core/Dtos/SignInDto.cs:5
  • SignUpDto.Email src/Modules/Users/src/InvestTracker.Users.Core/Dtos/SignUpDto.cs:8
  • UserDetailsDto.Email src/Modules/Users/src/InvestTracker.Users.Core/Dtos/UserDetailsDto.cs:7
  • UserDto.Email src/Modules/Users/src/InvestTracker.Users.Core/Dtos/UserDto.cs:7
  • User.Email src/Modules/Users/src/InvestTracker.Users.Core/Entities/User.cs:9
  • AccountCreated.Email src/Modules/Users/src/InvestTracker.Users.Core/Events/AccountCreated.cs:5
  • UserSubscriptionChanged.Email src/Modules/Users/src/InvestTracker.Users.Core/Events/UserSubscriptionChanged.cs:5
  • AccessTokenDto.Email src/Shared/InvestTracker.Shared.Abstractions/Authentication/AccessTokenDto.cs:11
Name β€” 27 field(s)
  • AccountCreated.FullName src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/Stakeholders/Events/External/AccountCreated.cs:5
  • UserSubscriptionChanged.FullName src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/Stakeholders/Events/External/UserSubscriptionChanged.cs:5
  • Stakeholder.FullName src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Domain/Stakeholders/Entities/Stakeholder.cs:11
  • ReceiverDto.FullName src/Modules/Notifications/src/InvestTracker.Notifications.Core/Dto/ReceiverDto.cs:6
  • Receiver.FullName src/Modules/Notifications/src/InvestTracker.Notifications.Core/Entities/Receiver.cs:8
  • AccountCreated.FullName src/Modules/Notifications/src/InvestTracker.Notifications.Core/ExternalEvents/Users/AccountCreated.cs:5
  • UserSubscriptionChanged.FullName src/Modules/Notifications/src/InvestTracker.Notifications.Core/ExternalEvents/Users/UserSubscriptionChanged.cs:5
  • Advisor.FullName src/Modules/Offers/src/InvestTracker.Offers.Core/Entities/Advisor.cs:6
  • Investor.FullName src/Modules/Offers/src/InvestTracker.Offers.Core/Entities/Investor.cs:6
  • CollaborationInvitationSent.SenderFullName src/Modules/Offers/src/InvestTracker.Offers.Core/Events/CollaborationInvitationSent.cs:5
  • CollaborationInvitationSent.ReceiverFullName src/Modules/Offers/src/InvestTracker.Offers.Core/Events/CollaborationInvitationSent.cs:6
  • AccountCreated.FullName src/Modules/Offers/src/InvestTracker.Offers.Core/Events/External/AccountCreated.cs:5
  • UserSubscriptionChanged.FullName src/Modules/Offers/src/InvestTracker.Offers.Core/Events/External/UserSubscriptionChanged.cs:5
  • CollaborationDetailsDto.AdvisorFullName src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Collaborations/Queries/GetCollaboration/CollaborationDetailsDto.cs:8
  • CollaborationDetailsDto.InvestorFullName src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Collaborations/Queries/GetCollaboration/CollaborationDetailsDto.cs:11
  • CollaborationDto.AdvisorFullName src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Collaborations/Queries/GetCollaborations/CollaborationDto.cs:8
  • CollaborationDto.InvestorFullName src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Collaborations/Queries/GetCollaborations/CollaborationDto.cs:9
  • InvitationDto.SenderFullName src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Invitations/Queries/GetInvitations/InvitationDto.cs:9
  • InvitationDto.AdvisorFullName src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Invitations/Queries/GetInvitations/InvitationDto.cs:11
  • AdvisorDetailsDto.FullName src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Offers/Queries/GetOfferDetails/Dtos/AdvisorDetailsDto.cs:6
  • OfferDto.AdvisorFullName src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Offers/Queries/GetOffers/OfferDto.cs:8
  • SignUpDto.FullName src/Modules/Users/src/InvestTracker.Users.Core/Dtos/SignUpDto.cs:14
  • UserDetailsDto.FullName src/Modules/Users/src/InvestTracker.Users.Core/Dtos/UserDetailsDto.cs:6
  • UserDto.FullName src/Modules/Users/src/InvestTracker.Users.Core/Dtos/UserDto.cs:6
  • User.FullName src/Modules/Users/src/InvestTracker.Users.Core/Entities/User.cs:8
  • AccountCreated.FullName src/Modules/Users/src/InvestTracker.Users.Core/Events/AccountCreated.cs:5
  • UserSubscriptionChanged.FullName src/Modules/Users/src/InvestTracker.Users.Core/Events/UserSubscriptionChanged.cs:5
Phone β€” 15 field(s)
  • AccountCreated.PhoneNumber src/Modules/InvestmentStrategies/src/InvestTracker.InvestmentStrategies.Application/Stakeholders/Events/External/AccountCreated.cs:5
  • ReceiverDto.PhoneNumber src/Modules/Notifications/src/InvestTracker.Notifications.Core/Dto/ReceiverDto.cs:8
  • Receiver.PhoneNumber src/Modules/Notifications/src/InvestTracker.Notifications.Core/Entities/Receiver.cs:10
  • AccountCreated.PhoneNumber src/Modules/Notifications/src/InvestTracker.Notifications.Core/ExternalEvents/Users/AccountCreated.cs:5
  • UpdateAdvisorDto.PhoneNumber src/Modules/Offers/src/InvestTracker.Offers.Api/Dtos/UpdateAdvisorDto.cs:3
  • Advisor.PhoneNumber src/Modules/Offers/src/InvestTracker.Offers.Core/Entities/Advisor.cs:8
  • AccountCreated.PhoneNumber src/Modules/Offers/src/InvestTracker.Offers.Core/Events/External/AccountCreated.cs:5
  • UpdateAdvisor.PhoneNumber src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Advisors/Commands/UpdateAdvisor/UpdateAdvisor.cs:5
  • CollaborationDetailsDto.AdvisorPhoneNumber src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Collaborations/Queries/GetCollaboration/CollaborationDetailsDto.cs:10
  • AdvisorDetailsDto.PhoneNumber src/Modules/Offers/src/InvestTracker.Offers.Core/Features/Offers/Queries/GetOfferDetails/Dtos/AdvisorDetailsDto.cs:8
  • SignUpDto.Phone src/Modules/Users/src/InvestTracker.Users.Core/Dtos/SignUpDto.cs:17
  • UserDetailsDto.Phone src/Modules/Users/src/InvestTracker.Users.Core/Dtos/UserDetailsDto.cs:8
  • UserDto.Phone src/Modules/Users/src/InvestTracker.Users.Core/Dtos/UserDto.cs:8
  • User.Phone src/Modules/Users/src/InvestTracker.Users.Core/Entities/User.cs:10
  • AccountCreated.PhoneNumber src/Modules/Users/src/InvestTracker.Users.Core/Events/AccountCreated.cs:5

Downloadable artifacts

Machine-readable and reproducible from this commit + frozen rubric β€” drop them straight into a contract appendix, a CRA dossier, or a downstream SCA / VEX tool.

⬇ Findings, MITRE CWE-tagged .sarif