Public report — code-sample02, published 3 Aug 2026. Concrete security findings (CVE IDs, secret matches, dependency versions) are hidden in this version; ask the repo owner for the full report.
Watchdog 03-08-2026 @ 17:28 UTC Public
Code Health Audit

Mahedee/code-Sample02

44% At Risk

Small · 4,384 LoC · 4 projects · rebuild ~0.1 person-years · weakest lens: Maturity (40%)

Grounded in facts. Every number here is computed, not narrated — reproducible, tool-backed, and traceable to a line of code. How to trust this ▸

64/66dimensions tool-verifieddeterministic · confidence 1.0 · 2 LLM-assisted, advisory
135findings with an exact file:lineof 159 — the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
66/108dimensions across the health lenses4384 LoC · 4 projects — wide & deep

Executive summary

Read through the Template lens: this is a template / kata / sample / demo — code meant to be read or copied, not operated. The ship-it and operate-it dimensions (CI/CD, observability, ADRs, architecture docs, deployment security) are N/A, and the colour bands on what remains are relaxed to what an example needs. Code correctness stays near-strict; the score is absolute and comparable across repos.

mahedee/code-sample02 is in a workable but fragile state (44%). It is not in crisis, but it carries material risk that makes change slower and incidents harder to contain if left unaddressed.

Most urgent: a critical security exposure was detected (see the Security & Compliance lens). Treat it as a priority regardless of the overall grade.

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

Leadership focus, highest impact first: Expand the README with getting-started (Documentation (README)); Record significant decisions one document per decision (Architecture documentation); Group production code under src/ (or split deliberately (Folder & project structure).

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

How the score is built — each lens's share of the headline Width is the lens's weight in the worst-heaviest fold (the weakest area pulls hardest); colour is that lens's own band. A lens fixes the score in proportion to its width.
Maturity 40% · 46% weightReadiness 43% · 25% weightAccessibility 47% · 14% weightCode Health 48% · 8% weightSecurity 57% · 4% weightArchitecture 82% · 2% weight

Raise Maturity 40 → 70 (the Healthy floor) ⇒ headline 44 → ~48.

Code composition — where the lines go
Business logic 7%Plumbing 58%Tests 11%Generated 24%
New since the last scan (100+)

198 finding(s) are new versus the previous scan (2026-07-29) — surfaced by this scheduled scan itself, no pull request required. Showing the first 100; the full set is in the report.

  • D5 · Off the main sequence: MTShop.Core
  • D10 · No assertions (empty test): Test1 jenkins-demo/HRM/HRM.Test/UnitTest1.cs
  • D10 · No assertions (empty test): Test1 multi-env-app/src/HRM/HRM.Tests/UnitTest1.cs
  • D13 · Leaked secret: hardcoded-credential aks-hrm/HRM.API/deployment/pod-aks.yml
  • D14 · Banned license: iTextSharp.LGPLv2.Core
  • D16 · single-maintainer — knowledge-concentration (bus factor) risk
  • D17 · NoWarnInCsproj CleanArchitectureTemplate/TemplatePack.csproj
  • D17 · NoWarnInCsproj export-report-api/ExportReportAPI/ExportReportAPI.csproj
  • D18 · Monorepo: only 1 of 51 solutions was scored
  • D18 · Analyzed solution does not cover the bulk of the repository
  • D19 · LLM evaluation failed
  • D28 · Secret: generic-api-key ConcurrencyRawSQL/Concurrency.API/appsettings.json
  • D28 · Secret: generic-api-key EFBulkBatch/EFBulkBatch/appsettings.json
  • D28 · Secret: generic-api-key ConcurrencyHyperMedia/ConcurrencyHandling.API/appsettings.json
  • D28 · Secret: generic-api-key ConcurrencyEtags/ConcurrencyHandling.API/appsettings.json
  • D28 · Secret: generic-api-key ConcurrencyDBToken/ConcurrencyHandling.API/appsettings.json
  • D28 · Secret: generic-api-key AuditLogRawSQL/AuditLog.API/appsettings.json
  • D28 · Secret: generic-api-key ConcurrencyAppToken/ConcurrencyHandling.API/appsettings.json
  • D28 · Secret: generic-api-key AuditLogEFPlus/AuditLog.API/appsettings.json
  • D28 · Secret: generic-api-key MultiTenant/MTShop.API/appsettings.json
  • D28 · Secret: generic-api-key MultiTenant/MTShop.API/tenantsettings.json
  • D28 · Secret: generic-api-key IdempotentDemo/Accounting.API/appsettings.json
  • D28 · Secret: generic-api-key CleanArchitectureTemplate/CleanArchitecture/CleanArch.API/appsettings.json
  • D28 · Secret: generic-api-key EventSourcing/Catalog.API/appsettings.json
  • D28 · Secret: generic-api-key kubernetes-demo/KubernetesDemo/Catalog.API/appsettings.json
  • D28 · Secret: generic-api-key health-check/HealthCheck/Location.API/appsettings.json
  • D28 · Secret: generic-api-key health-check/HealthCheck/Customer/appsettings.json
  • D28 · Secret: jwt token-based-auth-core-react/ecommerce.client/src/components/services/AccessAPI.js
  • D28 · Secret: jwt token-based-auth-core-react/ecommerce.client/src/components/services/AccessAPI.js
  • D28 · Secret: generic-api-key DapperDemo/DapperDemo/Customer.API/appsettings.json
  • D28 · Secret: generic-api-key CleanArchitectureDemo/Ecommerce/Services/Ordering/Ordering.API/appsettings.json
  • D29 · Medium: missing-or-broken-authorization EFBulkBatch/EFBulkBatch/Controllers/CustomerController.cs
  • D29 · Medium: missing-or-broken-authorization EFBulkBatch/EFBulkBatch/Controllers/EmployeeController.cs
  • D29 · Medium: allow-privilege-escalation-no-securitycontext aks-hrm/HRM.API/deployment/pod-aks.yml
  • D29 · Medium: allow-privilege-escalation-no-securitycontext hrm/HRM/HRM.API/Deploy/k8s/pod.yml
  • D29 · Medium: allow-privilege-escalation-no-securitycontext kubernetes-demo/KubernetesDemo/Catalog.API/deploy/k8s/pod.yml
  • D29 · Medium: allow-privilege-escalation-no-securitycontext service-mesh/Istio/elasticsearch.yaml
  • D29 · Medium: allow-privilege-escalation-no-securitycontext service-mesh/Istio/fluentd.yaml
  • D29 · Medium: allow-privilege-escalation-no-securitycontext service-mesh/Istio/kibana.yaml
  • D29 · Medium: allow-privilege-escalation-no-securitycontext service-mesh/ServiceMesh/BFF.Web/Deploy/k8s/deployment.yml
  • D29 · Medium: allow-privilege-escalation-no-securitycontext service-mesh/ServiceMesh/Catalog.API/Deploy/k8s/deployment.yml
  • D29 · Medium: allow-privilege-escalation-no-securitycontext service-mesh/ServiceMesh/Location.API/Deploy/k8s/deployment.yml
  • D29 · Medium: allow-privilege-escalation-no-securitycontext service-mesh/ServiceMesh/Ordering.API/Deploy/k8s/deployment.yml
  • D30 · Critical CVE: System.Text.Encodings.Web 4.5.0
  • D30 · High CVE: AutoMapper 12.0.0
  • D30 · High CVE: Microsoft.Data.SqlClient 2.1.4
  • D30 · High CVE: Microsoft.Extensions.Caching.Memory 6.0.1
  • D30 · Medium CVE: Microsoft.IdentityModel.JsonWebTokens 6.24.0
  • D30 · Medium CVE: Swashbuckle.AspNetCore.SwaggerUI 6.2.3
  • D30 · Medium CVE: System.IdentityModel.Tokens.Jwt 6.24.0
  • D30 · Medium CVE: System.Security.Cryptography.Xml 4.5.0
  • D31 · High IaC: DS-0002 MicroservicesDemo/src/Services/OrderService/Dockerfile
  • D31 · High IaC: DS-0002 MicroservicesDemo/src/Services/ProductService/Dockerfile
  • D31 · High IaC: KSV-0014 aks-hrm/HRM.API/deployment/pod-aks.yml
  • D31 · High IaC: KSV-0014 hrm/HRM/HRM.API/Deploy/k8s/pod.yml
  • D31 · High IaC: DS-0002 hrm/HRM/HRM.API/Dockerfile
  • D31 · High IaC: DS-0002 kubernetes-demo/KubernetesDemo/Catalog.API/Dockerfile
  • D31 · High IaC: KSV-0014 kubernetes-demo/KubernetesDemo/Catalog.API/deploy/k8s/pod.yml
  • D31 · High IaC: DS-0002 sd-docker-demo/BFF.Web/Dockerfile
  • D31 · High IaC: DS-0002 sd-docker-demo/LocationA.API/Dockerfile
  • D31 · High IaC: DS-0002 sd-docker-demo/LocationB.API/Dockerfile
  • D31 · High IaC: DS-0002 sd-docker-demo/LocationC.API/Dockerfile
  • D31 · High IaC: KSV-0014 service-mesh/Istio/elasticsearch.yaml
  • D31 · High IaC: KSV-0014 service-mesh/Istio/fluentd.yaml
  • D31 · High IaC: KSV-0014 service-mesh/Istio/kibana.yaml
  • D31 · High IaC: KSV-0014 service-mesh/ServiceMesh/BFF.Web/Deploy/k8s/deployment.yml
  • D31 · High IaC: DS-0002 service-mesh/ServiceMesh/BFF.Web/Dockerfile
  • D31 · High IaC: KSV-0014 service-mesh/ServiceMesh/Catalog.API/Deploy/k8s/deployment.yml
  • D31 · High IaC: DS-0002 service-mesh/ServiceMesh/Catalog.API/Dockerfile
  • D31 · High IaC: KSV-0014 service-mesh/ServiceMesh/Location.API/Deploy/k8s/deployment.yml
  • D31 · High IaC: DS-0002 service-mesh/ServiceMesh/Location.API/Dockerfile
  • D31 · High IaC: KSV-0014 service-mesh/ServiceMesh/Ordering.API/Deploy/k8s/deployment.yml
  • D31 · High IaC: DS-0002 service-mesh/ServiceMesh/Ordering.API/Dockerfile
  • D31 · Medium IaC: KSV-0001 aks-hrm/HRM.API/deployment/pod-aks.yml
  • D31 · Medium IaC: KSV-0012 aks-hrm/HRM.API/deployment/pod-aks.yml
  • D31 · Medium IaC: KSV-0013 aks-hrm/HRM.API/deployment/pod-aks.yml
  • D31 · Medium IaC: KSV-0104 aks-hrm/HRM.API/deployment/pod-aks.yml
  • D31 · Medium IaC: KSV-0001 hrm/HRM/HRM.API/Deploy/k8s/pod.yml
  • D31 · Medium IaC: KSV-0012 hrm/HRM/HRM.API/Deploy/k8s/pod.yml
  • D31 · Medium IaC: KSV-0104 hrm/HRM/HRM.API/Deploy/k8s/pod.yml
  • D31 · Medium IaC: KSV-0125 hrm/HRM/HRM.API/Deploy/k8s/pod.yml
  • D31 · Medium IaC: KSV-0001 kubernetes-demo/KubernetesDemo/Catalog.API/deploy/k8s/pod.yml
  • D31 · Medium IaC: KSV-0012 kubernetes-demo/KubernetesDemo/Catalog.API/deploy/k8s/pod.yml
  • D31 · Medium IaC: KSV-0104 kubernetes-demo/KubernetesDemo/Catalog.API/deploy/k8s/pod.yml
  • D31 · Medium IaC: KSV-0125 kubernetes-demo/KubernetesDemo/Catalog.API/deploy/k8s/pod.yml
  • D31 · Medium IaC: KSV-0111 kubernetes-demo/k8s-dashboard/dashboard-adminuser.yaml
  • D31 · Medium IaC: KSV-0012 kubernetes-demo/k8s-dashboard/recommended.yaml
  • D31 · Medium IaC: KSV-0049 kubernetes-demo/k8s-dashboard/recommended.yaml
  • D31 · Medium IaC: KSV-0104 kubernetes-demo/k8s-dashboard/recommended.yaml
  • D31 · Medium IaC: KSV-0113 kubernetes-demo/k8s-dashboard/recommended.yaml
  • D31 · Medium IaC: KSV-0125 kubernetes-demo/k8s-dashboard/recommended.yaml
  • D31 · Medium IaC: KSV-0001 service-mesh/Istio/elasticsearch.yaml
  • D31 · Medium IaC: KSV-0012 service-mesh/Istio/elasticsearch.yaml
  • D31 · Medium IaC: KSV-0104 service-mesh/Istio/elasticsearch.yaml
  • D31 · Medium IaC: KSV-0125 service-mesh/Istio/elasticsearch.yaml
  • D31 · Medium IaC: KSV-0001 service-mesh/Istio/fluentd.yaml
  • D31 · Medium IaC: KSV-0012 service-mesh/Istio/fluentd.yaml
  • D31 · Medium IaC: KSV-0023 service-mesh/Istio/fluentd.yaml
  • D31 · Medium IaC: KSV-0037 service-mesh/Istio/fluentd.yaml
  • D38 · Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json

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 — €1,700–€8,400
Cost to rebuild€1,700–€8,400 (0.1 person-years (28–88 h), ~1 engineer)
Domain complexityStandard — harder problems cost more per line
Quality factor0.7× (at 44% quality) — the last 20% of quality is most of the work
Size & shapeSmall · 46% boilerplate · 43% straight-line · 11% branching logic
Dead frontend code~13 LoC unreachable (1 file(s)) — that slice of this estimate buys code with zero runtime value; deleting it is the cheapest win in this report (the R7 card lists every file)

This codebase represents roughly ~0.1 person-years of build effort (about ~€5,000 to rebuild). Its weakest lens is Maturity at 40% — the part of that asset most exposed by the findings below.

How we model this: boilerplate at a scaffolding rate + logic × domain Standard (×1.2) — service/app, CQRS × 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
Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with pod-aks.yml.
+2.4 pts · Low effort · Secret Scanning
2
Expand the README with getting-started, architecture overview and a project map.
+4.5 pts · Medium effort · Documentation (README)
3
Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree with `NNNN-title.md` names is the most discoverable form).
+4.5 pts · Medium effort · Architecture documentation

Diagnosis — what's actually going on

Value concentrated against a weak lens · High · Value at risk
This is a Small asset (~0.1 person-years to rebuild), and its weakest lens is Maturity at 40%. The operational and business risk on an asset this size concentrates there — that's where remediation buys the most protection.
Evidence: valuation: Small, ~0.1 person-years rebuild (4,384 LoC) · weakest lens: Maturity 40%
→ Direct remediation budget at Maturity first — highest risk-reduction per euro on an asset this size.
Highest-leverage move · Medium · Leverage
Of everything flagged, the best return on effort is: Expand the README with getting-started, architecture overview and a project map. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
→ Expand the README with getting-started, architecture overview and a project map.

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 API API ctx:Application Application Application ctx:Infrastructure Infrastructure Infrastructure ctx:Infrastructure->ctx:Application ctx:API (token-based-auth-core-react/ECommerce/Ordering.API) API (token-based-auth-core-react/ECommerce/Ordering.API) API) ctx:Application (token-based-auth-core-react/ECommerce/Ordering.Application) Application (token-based-auth-core-react/ECommerce/Ordering.Application) Application) ctx:API (token-based-auth-core-react/ECommerce/Ordering.API)->ctx:Application (token-based-auth-core-react/ECommerce/Ordering.Application) ctx:Core (token-based-auth-core-react/ECommerce/Ordering.Core) Core (token-based-auth-core-react/ECommerce/Ordering.Core) Core) ctx:API (token-based-auth-core-react/ECommerce/Ordering.API)->ctx:Core (token-based-auth-core-react/ECommerce/Ordering.Core) ctx:Infrastructure (token-based-auth-core-react/ECommerce/Ordering.Infrastructure) Infrastructure (token-based-auth-core-react/ECommerce/Ordering.Infrastructure) Infrastructure) ctx:API (token-based-auth-core-react/ECommerce/Ordering.API)->ctx:Infrastructure (token-based-auth-core-react/ECommerce/Ordering.Infrastructure) ctx:API (token-based-auth-core/ECommerce/Ordering.API) API (token-based-auth-core/ECommerce/Ordering.API) API) ctx:Application (token-based-auth-core/ECommerce/Ordering.Application) Application (token-based-auth-core/ECommerce/Ordering.Application) Application) ctx:API (token-based-auth-core/ECommerce/Ordering.API)->ctx:Application (token-based-auth-core/ECommerce/Ordering.Application) ctx:Core (token-based-auth-core/ECommerce/Ordering.Core) Core (token-based-auth-core/ECommerce/Ordering.Core) Core) ctx:API (token-based-auth-core/ECommerce/Ordering.API)->ctx:Core (token-based-auth-core/ECommerce/Ordering.Core) ctx:Infrastructure (token-based-auth-core/ECommerce/Ordering.Infrastructure) Infrastructure (token-based-auth-core/ECommerce/Ordering.Infrastructure) Infrastructure) ctx:API (token-based-auth-core/ECommerce/Ordering.API)->ctx:Infrastructure (token-based-auth-core/ECommerce/Ordering.Infrastructure) ctx:API (token-based-auth-ng/ECommerce/Ordering.API) API (token-based-auth-ng/ECommerce/Ordering.API) API) ctx:Application (token-based-auth-ng/ECommerce/Ordering.Application) Application (token-based-auth-ng/ECommerce/Ordering.Application) Application) ctx:API (token-based-auth-ng/ECommerce/Ordering.API)->ctx:Application (token-based-auth-ng/ECommerce/Ordering.Application) ctx:Core (token-based-auth-ng/ECommerce/Ordering.Core) Core (token-based-auth-ng/ECommerce/Ordering.Core) Core) ctx:API (token-based-auth-ng/ECommerce/Ordering.API)->ctx:Core (token-based-auth-ng/ECommerce/Ordering.Core) ctx:Infrastructure (token-based-auth-ng/ECommerce/Ordering.Infrastructure) Infrastructure (token-based-auth-ng/ECommerce/Ordering.Infrastructure) Infrastructure) ctx:API (token-based-auth-ng/ECommerce/Ordering.API)->ctx:Infrastructure (token-based-auth-ng/ECommerce/Ordering.Infrastructure) ctx:Application (token-based-auth-core-react/ECommerce/Ordering.Application)->ctx:Core (token-based-auth-core-react/ECommerce/Ordering.Core) ctx:Application (token-based-auth-core/ECommerce/Ordering.Application)->ctx:Core (token-based-auth-core/ECommerce/Ordering.Core) ctx:Application (token-based-auth-ng/ECommerce/Ordering.Application)->ctx:Core (token-based-auth-ng/ECommerce/Ordering.Core) ctx:Infrastructure (token-based-auth-core-react/ECommerce/Ordering.Infrastructure)->ctx:Application (token-based-auth-core-react/ECommerce/Ordering.Application) ctx:Infrastructure (token-based-auth-core-react/ECommerce/Ordering.Infrastructure)->ctx:Core (token-based-auth-core-react/ECommerce/Ordering.Core) ctx:Infrastructure (token-based-auth-core/ECommerce/Ordering.Infrastructure)->ctx:Application (token-based-auth-core/ECommerce/Ordering.Application) ctx:Infrastructure (token-based-auth-core/ECommerce/Ordering.Infrastructure)->ctx:Core (token-based-auth-core/ECommerce/Ordering.Core) ctx:Infrastructure (token-based-auth-ng/ECommerce/Ordering.Infrastructure)->ctx:Application (token-based-auth-ng/ECommerce/Ordering.Application) ctx:Infrastructure (token-based-auth-ng/ECommerce/Ordering.Infrastructure)->ctx:Core (token-based-auth-ng/ECommerce/Ordering.Core) __more__ +82 more contexts

Architecture — module dependency matrix

43 modules, 73 dependencies — every dependency points down the layering, so there are no cycles. Rows and columns are the same modules, ordered so that a module only depends on ones above it. A cell means the row depends on the column, and its number is how many type pairs create that dependency. Read one thing: is anything above the diagonal? A mark there is a dependency cycle. (A cycle is all this shows — an unusual but cycle-free dependency sits below the diagonal like any other.)

(global)MTShop.API.Middlewares…tion.Common.Constants…ion.Common.Exceptions…ation.Common.Mappings…ation.Common.Settings…Shop.Application.DTOsMTShop.Core.Contracts…tities.Admin.Identity…op.Core.Entities.Base…astructure.ExtensionsMTShop.Core.Entities…p.Core.Entities.Admin…ore.Entities.Identity…e.Admin.Configuration…mahedee.treetraversal…ication.Common.Models…pplication.Interfaces…tion.Interfaces.Admin…terfaces.Repositories…ure.Persistence.Admin…istence.ConfigurationMTShop.Application…ication.Commands.Auth…ion.Commands.Customer…ion.Commands.Products…ication.Commands.Role…ation.Commands.Tenant…ication.Commands.User…tion.Queries.Customer…tion.Queries.Products…lication.Queries.Role…cation.Queries.Tenant…lication.Queries.User…cture.Implementations…Implementations.AdminMTShop.API.Controllers…structure.Persistence…ntations.Repositories…p.Infrastructure.Seed(global)1MTShop.API.Middlewares2…tion.Common.Constants3…ion.Common.Exceptions4…ation.Common.Mappings5…ation.Common.Settings6…Shop.Application.DTOs7MTShop.Core.Contracts8…tities.Admin.Identity9…op.Core.Entities.Base10…astructure.Extensions11MTShop.Core.Entities12…p.Core.Entities.Admin13…ore.Entities.Identity14…e.Admin.Configuration15…mahedee.treetraversal16…ication.Common.Models17…pplication.Interfaces18…tion.Interfaces.Admin19…terfaces.Repositories20…ure.Persistence.Admin21…istence.Configuration22MTShop.Application23…ication.Commands.Auth24…ion.Commands.Customer25…ion.Commands.Products26…ication.Commands.Role27…ation.Commands.Tenant28…ication.Commands.User29…tion.Queries.Customer30…tion.Queries.Products31…lication.Queries.Role32…cation.Queries.Tenant33…lication.Queries.User34…cture.Implementations35…Implementations.Admin36MTShop.API.Controllers37…structure.Persistence38…ntations.Repositories39…p.Infrastructure.Seed402212721111221217112111111112424325222222221122232111211221211511222223111+3 more modules (most-connected shown)

At a glance — Code Health · 48% · Adequate · gated by R1

At a glance — Architecture · 82% · Strong

At a glance — Maturity · 40% · Adequate · gated by M1, M2

At a glance — Readiness · 43% · Adequate · gated by R6, R8

At a glance — Security · 57% · Adequate · gated by D28, D31, D38

At a glance — Accessibility · 47% · Adequate · gated by AC2

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
A06:2021 — Vulnerable & Outdated Components58High / Critical
A05:2021 — Security Misconfiguration48High / Critical
A02:2021 — Cryptographic Failures22High / Critical
A03:2021 — Injection12Medium

Roadmap

Begin by expanding the README with a clear getting-started guide, architecture overview, and project map. Next, document significant architectural decisions in a dedicated folder to preserve context and consequences. Then, reorganize the repository by grouping production code under a src/ directory to separate it from tooling. Finally, enforce code quality by adding linting and type checking to the build process, and clean up dependencies by removing unused packages and correctly categorizing dev-only tools.

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

Do thisHelpsEffortDimension
Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with pod-aks.yml.+2.4 ptsLowSecret Scanning
Expand the README with getting-started, architecture overview and a project map.+4.5 ptsMediumDocumentation (README)
Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree with `NNNN-title.md` names is the most discoverable form).+4.5 ptsMediumArchitecture documentation
Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.+4.0 ptsMediumFolder & project structure
Add eslint and type checking (adopt TypeScript, or type-check the existing JavaScript with `checkJs`) as package.json scripts and run them in CI.+3.4 ptsMediumTooling
Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.+3.4 ptsMediumDependency Hygiene
Improve Comment Value — currently 5.0/10.+3.4 ptsMediumComment Value
Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.+3.2 ptsMediumRelease Hygiene

File quality

Per-file score 0–10 — a quality signature. Of 51 files carrying findings, judged against the Template bar: 2% slop · 25% mixed · 73% near-clean.

FileScoreBandWorst signal
aks-hrm/HRM.API/deployment/pod-aks.yml0.3SlopSecret Scanning: Leaked secret: hardcoded-credential
hrm/HRM/HRM.API/Deploy/k8s/pod.yml3.1MixedIaC & Container Security: High IaC: KSV-0014
kubernetes-demo/KubernetesDemo/Catalog.API/deploy/k8s/pod.yml3.1MixedIaC & Container Security: High IaC: KSV-0014
service-mesh/Istio/elasticsearch.yaml3.1MixedIaC & Container Security: High IaC: KSV-0014
service-mesh/Istio/fluentd.yaml3.1MixedIaC & Container Security: High IaC: KSV-0014
token-based-auth-core-react/ecommerce.client/package-lock.json4.4MixedOSV Dependency Vulnerabilities: Critical CVE: [GHSA redacted]
micro-frontend/customer-frontend/package-lock.json4.4MixedOSV Dependency Vulnerabilities: Critical CVE: [GHSA redacted]
service-mesh/Istio/kibana.yaml5.1MixedIaC & Container Security: High IaC: KSV-0014
service-mesh/ServiceMesh/BFF.Web/Deploy/k8s/deployment.yml5.1MixedIaC & Container Security: High IaC: KSV-0014
service-mesh/ServiceMesh/Catalog.API/Deploy/k8s/deployment.yml5.1MixedIaC & Container Security: High IaC: KSV-0014
service-mesh/ServiceMesh/Location.API/Deploy/k8s/deployment.yml5.1MixedIaC & Container Security: High IaC: KSV-0014
service-mesh/ServiceMesh/Ordering.API/Deploy/k8s/deployment.yml5.1MixedIaC & Container Security: High IaC: KSV-0014
token-based-auth-core-react/ecommerce.client/src/components/services/AccessAPI.js5.8MixedSecrets (history): Secret: jwt
kubernetes-demo/k8s-dashboard/recommended.yaml5.9MixedIaC & Container Security: Medium IaC: KSV-0012
ConcurrencyRawSQL/Concurrency.API/appsettings.json7.2Near-cleanSecrets (history): Secret: generic-api-key
EFBulkBatch/EFBulkBatch/appsettings.json7.2Near-cleanSecrets (history): Secret: generic-api-key
ConcurrencyHyperMedia/ConcurrencyHandling.API/appsettings.json7.2Near-cleanSecrets (history): Secret: generic-api-key
ConcurrencyEtags/ConcurrencyHandling.API/appsettings.json7.2Near-cleanSecrets (history): Secret: generic-api-key
ConcurrencyDBToken/ConcurrencyHandling.API/appsettings.json7.2Near-cleanSecrets (history): Secret: generic-api-key
AuditLogRawSQL/AuditLog.API/appsettings.json7.2Near-cleanSecrets (history): Secret: generic-api-key

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. 64 of 66 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 2 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.7 — 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 — 66 dimensions across the health lenses
D5D6D8D9D10D12D13D14D17D18D21D24D26D27D28D29D30D31D33D34D35D38D40D41AC2AC3AC6AC7AX1AX10AX3AX5AX6AX8AX9C1C2C3C5GD1IC1M1M2M3M4P2P4P5P6P8R1R10R2R3R4R5R6R7R8R9S1X1X2X3X4X5

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 159 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.302✓ deterministic
NuGet / dotnetOutdated, vulnerable & deprecated dependencies10.0.302✓ 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 · 3.2.533✓ deterministic
LLM (sampled · advisory)Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurementLocal LLM◐ LLM · sampled · advisory

Every finding is locatable in findings.md. Run 019fc8ab-4441-723c-81e7-87bc20f7afbf.

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.

  • D19 Documentation Quality — LLM provider failed — The model provider returned an unusable result, so this LLM-assisted dimension fell back to a measurement gap (confidence 0) rather than a penalty. Re-run with a reachable provider to score it.

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.

  • 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 test suite 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.
  • 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.
  • 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 (scaffolded migrations, designer/codegen output, generated stubs) 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.
  • 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.
  • 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").
  • D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and the advisory database — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen.
  • 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.
  • D33 JS/npm Dependency Vulnerabilities: JS/npm CVE matching reads package manifests and lockfiles — risk from how a dependency is used, and advisories not yet published, fall outside this scan.
  • 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.
  • D40 Network Egress Confinement: Egress confinement is read from committed Kubernetes manifests — a policy applied out-of-band (cluster-default deny, a service mesh, or a cloud firewall/security group off-repo) is invisible, and a present NetworkPolicy is declared config, not proof the cluster admission-controller actually enforces it at runtime.
  • D41 Kernel & Syscall Confinement: Syscall/MAC confinement is read from committed manifests — a profile applied by a cluster-wide PodSecurity default or a mutating webhook off-repo isn't seen, and a declared seccomp/AppArmor profile is config presence, not proof the node's kernel actually loaded and enforced it.
  • AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A clean result is "no unlabelled native control found", not a labelling proof.
  • AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
  • AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
  • AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
  • 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.
  • 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.
  • P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.

The LLM boundary

LLM-set scores this run (3): D21, D24, M4 (model: Local LLM). 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

D5 · Coupling8.0 / 10Strong✓ 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: DocumentedVerifiedPrevented · effective 8.0 / 10 · rule-coverage 100% · ceiling Prevented

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

Off the main sequence: MTShop.Core

What to do

  1. Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
  2. Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

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

D6 · Cohesion (LCOM4)10.0 / 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: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Verified

0 of 14 classes have LCOM4 above 3.

✓ On the Gold path — maintain.

Detailed fixes: d6_recommendation.md.

D8 · Code Coverage7.6 / 10Strong✓ 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: DocumentedVerifiedPrevented · effective 7.6 / 10 · rule-coverage 100% · ceiling Verified

Line coverage 39.1%.

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: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

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

Tests co-located / outside the solution

✓ On the Gold path — maintain.

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

D10 · Test Quality8.2 / 10Strong✓ 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: DocumentedVerifiedPrevented · effective 8.2 / 10 · rule-coverage 100% · ceiling Prevented

0 skipped, 2 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 33 tests.

No assertions (empty test): Test1 · ×2jenkins-demo/HRM/HRM.Test/UnitTest1.cs:7

What to do

  1. Resolve the 2 No assertions (empty test) finding(s) in Test Quality — start with UnitTest1.cs (2). — One of this dimension's main actionable groups (2 issue-level).
  2. Enforce Test Quality in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

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

D12 · Dependency Hygiene10.0 / 10Exemplary✓ 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: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Verified

0 outdated, 0 vulnerable, 0 deprecated packages.

✓ On the Gold path — maintain.

Detailed fixes: d12_recommendation.md.

D13 · Secret Scanning5.0 / 10Adequate✓ Tool-verified

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: DocumentedVerifiedPrevented · effective 5.0 / 10 · rule-coverage 100% · ceiling Prevented

1 secret(s) detected.

Leaked secret: hardcoded-credentialaks-hrm/HRM.API/deployment/pod-aks.yml:17

What to do

  1. Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with pod-aks.yml. — One of this dimension's main actionable groups (1 issue-level).
  2. Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

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

D14 · License Compliance8.0 / 10Strong✓ Tool-verified

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: DocumentedVerifiedPrevented · effective 8.0 / 10 · rule-coverage 100% · ceiling Verified

1 of 93 packages use a banned license.

Banned license: iTextSharp.LGPLv2.Core

What to do

  1. Resolve the 1 Banned license finding(s) in License Compliance. — One of this dimension's main actionable groups (1 issue-level).
  2. Enforce License Compliance in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.

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

D17 · Explicit Debt9.2 / 10Exemplary✓ 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: DocumentedVerifiedPrevented · effective 9.2 / 10 · rule-coverage 100% · ceiling Prevented

2 deducted debt markers + 0 dead symbols across 3311 LoC (0.4/KLoC) → score 9.2.

NoWarnInCsproj · ×2CleanArchitectureTemplate/TemplatePack.csproj:27

✓ On the Gold path — maintain.

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: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

4 projects, 112 source files, 3311 hand-written lines of code (3311 production / 0 test), plus 1614 generated (machine-written code — designer, scaffolded and tool-emitted files — excluded from quality), 6 inter-project edges.

Monorepo: only 1 of 51 solutions was scored
Analyzed solution does not cover the bulk of the repository

✓ On the Gold path — maintain.

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

D21 · Naming Consistency / 10Strong◐ 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: DocumentedVerifiedPrevented · effective Strong / 10 · rule-coverage 100% · ceiling Verified

3 naming inconsistencies across 200 sampled symbols.

Two distinct service interfaces are used for identity management: `IIdentityService` and `IAdminIdentityService`. While they may have different scopes (general vs admin), the naming suggests a potential confusion or overlap in responsibilities regarding user and role management.
Repository interfaces follow a consistent `I{Name}Repository` pattern, but the implementation classes use mixed naming: `CustomerRepository`, `ProductRepository`, and `ManageTenantRepository`. The 'Manage' prefix in `ManageTenantRepository` breaks the direct noun-based naming convention seen in others.
DTOs are consistently named with the `DTO` suffix (e.g., `UserDTO`), but `AuthResponseDTO` uses a different pattern (`ResponseDTO` suffix). This is a minor inconsistency in suffix usage.

What to do

  1. Resolve the 1 Two distinct service interfaces are used for identity management finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).
  2. Resolve the 1 Repository interfaces follow a consistent `I{Name}Repository` pattern,… finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).
  3. Resolve the 1 DTOs are consistently named with the `DTO` suffix (e.g., `UserDTO`), but… finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).

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

D24 · Comment Value / 10Adequate◐ 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: DocumentedVerifiedPrevented · effective Adequate / 10 · rule-coverage 100% · ceiling Documented

12 valuable / 0 redundant across 85 sampled comments.

What to do

  1. Improve Comment Value — currently 5.0/10. — 12 valuable / 0 redundant across 85 sampled comments.

Detailed fixes: d24_recommendation.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: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

0 of 4 projects flagged as possibly oversized/incoherent.

✓ On the Gold path — maintain.

Detailed fixes: d26_recommendation.md.

D27 · Navigability9.7 / 10Exemplary✓ 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: DocumentedVerifiedPrevented · effective 9.7 / 10 · rule-coverage 100% · ceiling Documented

99 % of calls cross a namespace and 7 % go through an interface, but 100 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: small — navigation cost is tolerated.

✓ On the Gold path — maintain.

Detailed fixes: d27_recommendation.md.

D28 · Secrets (history)0.0 / 10Critical✓ 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: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

20 finding(s): 0 critical, 20 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 · ×20ConcurrencyRawSQL/Concurrency.API/appsettings.json:9detected by gitleaks finding
Rotate the exposed credentials — git history can't be un-committed

What to do

  1. Resolve the 20 Secret finding(s) in Secrets (history) — start with appsettings.json (17), AccessAPI.js (2), tenantsettings.json. — One of this dimension's main actionable groups (20 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)5.4 / 10Adequate✓ Tool-verified

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

Method: Polyglot static analysis via semgrep across the repo using the pinned, image-baked p/security-audit + p/owasp-top-ten rulesets (no scan-time registry fetch); severity rules (ERROR/WARNING/INFO) map to a full-band severity-weighted score. 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: DocumentedVerifiedPrevented · effective 5.4 / 10 · rule-coverage 100% · ceiling Documented

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

Medium: missing-or-broken-authorization · ×12EFBulkBatch/EFBulkBatch/Controllers/CustomerController.cs:6detected by semgrep finding

What to do

  1. Resolve the 12 Medium finding(s) in Static Analysis (SAST) — start with deployment.yml (4), pod.yml (2), CustomerController.cs. — One of this dimension's main actionable groups (12 warning-level).

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

D30 · Dependency Vulnerabilities6.1 / 10Adequate✓ Tool-verified

What it measures: Whether any dependencies have known published vulnerabilities (CVEs), direct or transitive.

Method: NuGet CVE scan via dotnet list package --vulnerable including transitive; severity tally (Critical/High/Medium/Low) to 0-10 tight normalizer. Exhaustive, deterministic; degrades when absent.

Maturity: DocumentedVerifiedPrevented · effective 6.1 / 10 · rule-coverage 100% · ceiling Documented

8 vulnerable package(s): 1 critical, 3 high, 4 medium, 0 low.

High CVE: AutoMapper 12.0.0 · ×3detected by dotnet list package --vulnerable
Critical CVE: System.Text.Encodings.Web 4.5.0detected by dotnet list package --vulnerable
Medium CVE: Microsoft.IdentityModel.JsonWebTokens 6.24.0 · ×4detected by dotnet list package --vulnerable

What to do

  1. Resolve the 3 High CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (3 issue-level).
  2. Resolve the 1 Critical CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (1 issue-level).
  3. Resolve the 4 Medium CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (4 warning-level).

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

D31 · IaC & Container Security0.0 / 10Critical✓ 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: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

180 finding(s): 0 critical, 22 high, 93 medium, 65 low.

High IaC: DS-0002 · ×22MicroservicesDemo/src/Services/OrderService/Dockerfiledetected by trivy finding
Medium IaC: KSV-0001 · ×26aks-hrm/HRM.API/deployment/pod-aks.ymldetected by trivy finding

What to do

  1. Resolve the 26 Medium IaC finding(s) in IaC & Container Security — start with pod.yml (8), recommended.yaml (5), pod-aks.yml (4). — One of this dimension's main actionable groups (26 warning-level).
  2. Resolve the 22 High IaC finding(s) in IaC & Container Security — start with Dockerfile (12), deployment.yml (4), pod.yml (2). — One of this dimension's main actionable groups (22 issue-level).

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

D33 · JS/npm Dependency Vulnerabilities10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether JavaScript/npm dependencies have known published vulnerabilities (CVEs) — the npm ecosystem's biggest risk.

Method: JS/npm CVE scan via trivy fs --scanners vuln over JS manifests (package.json/yarn.lock/pnpm-lock/bun.lockb); 0-10 tight normalizer. NotApplicable without JS manifests. Exhaustive, deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No known-vulnerable JS/npm dependencies.

✓ On the Gold path — maintain.

Detailed fixes: d33_recommendation.md.

D34 · Knowledge Freshness10.0 / 10Exemplary✓ 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: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

Every significant source file has living knowledge — recently and meaningfully worked.

✓ On the Gold path — maintain.

Detailed fixes: d34_recommendation.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: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No strong hidden change-coupling between production files.

✓ On the Gold path — maintain.

Detailed fixes: d35_recommendation.md.

D38 · OSV Dependency Vulnerabilities0.0 / 10Critical✓ Tool-verified

What it measures: Whether dependencies have known published vulnerabilities (CVEs) per the OSV database — read natively from whatever lockfile the repository ships (Cargo, npm, Go, Python, Maven, RubyGems, …). D33 and D30 add ecosystem-specific scanners on top for npm and .NET.

Method: Multi-ecosystem dependency-CVE scan via osv-scanner --recursive (queries the osv.dev database + parses lockfiles natively across ecosystems: npm package-lock/yarn/pnpm/bun, Go go.mod, Rust Cargo.lock, Maven/Gradle pom.xml/gradle.lockfile, PyPI requirements.txt/poetry.lock/Pipfile.lock, Composer composer.lock, RubyGems Gemfile.lock, Hex mix.lock, pub pubspec.lock, Swift Package.resolved); severity tally (Critical/High/Medium/Low) to 0-10 tight normalizer (8.0). NotApplicable only when the repo declares no supported non-.NET dependency lockfile (a NuGet-only repo stays NotApplicable — .NET CVEs are D30's domain); coverage needs a resolved lockfile. Additive to D33 (trivy fs); exhaustive + deterministic, DB kept fresh.

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

134 finding(s): 21 critical, 67 high, 34 medium, 12 low.

High CVE: [GHSA redacted] · ×29token-based-auth-core-react/ecommerce.client/package-lock.jsondetected by osv-scanner finding
Critical CVE: [GHSA redacted] · ×20token-based-auth-core-react/ecommerce.client/package-lock.jsondetected by osv-scanner finding
Critical vulnerability: [GHSA redacted]token-based-auth-core-react/ecommerce.client/package-lock.jsondetected by osv-scanner finding

What to do

  1. Resolve the 29 High CVE finding(s) in OSV Dependency Vulnerabilities — start with package-lock.json (29). — One of this dimension's main actionable groups (29 issue-level).
  2. Resolve the 20 Critical CVE finding(s) in OSV Dependency Vulnerabilities — start with package-lock.json (20). — One of this dimension's main actionable groups (20 issue-level).
  3. Resolve the 1 Critical vulnerability finding(s) in OSV Dependency Vulnerabilities — start with package-lock.json. — One of this dimension's main actionable groups (1 issue-level).

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

D40 · Network Egress Confinement6.0 / 10Adequate✓ Tool-verified

What it measures: Whether Kubernetes workloads restrict network EGRESS with a NetworkPolicy (or Cilium policy), limiting where a compromised pod can send data or reach a command-and-control server. Presence of committed egress-restricting policy, not runtime enforcement.

Method: Deterministic YAML-manifest inspection (no external tool, no Roslyn — language-agnostic): Kubernetes workloads gate applicability; credits a NetworkPolicy / Cilium policy that restricts egress (policyTypes: [Egress] / egress rules). Reward-leaning (neutral floor climbing to 10, never a deduction — baseline misconfigs stay with D31). Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 6.0 / 10 · rule-coverage 100% · ceiling Documented

0/2 network-egress controls present (network policy, egress restriction).

No network policy

What to do

  1. Resolve the 1 No network policy finding(s) in Network Egress Confinement. — One of this dimension's main actionable groups (1 recommendation-level).

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

D41 · Kernel & Syscall Confinement8.0 / 10Strong✓ Tool-verified

What it measures: Whether Kubernetes workloads confine the kernel boundary — a seccomp profile (RuntimeDefault/Localhost) plus an AppArmor/SELinux mandatory-access-control layer — shrinking the syscall attack surface a container escape would use. Presence of committed confinement config, not runtime enforcement.

Method: Deterministic YAML-manifest inspection (no external tool, no Roslyn): on Kubernetes workloads, credits a seccomp profile (RuntimeDefault/Localhost) and an AppArmor/SELinux MAC layer. Reward-leaning (neutral floor climbing to 10); NotApplicable without workloads. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 8.0 / 10 · rule-coverage 100% · ceiling Documented

1/2 syscall-confinement controls present (seccomp, AppArmor/SELinux).

No AppArmor/SELinux confinement

What to do

  1. Resolve the 1 No AppArmor/SELinux confinement finding(s) in Kernel & Syscall Confinement. — One of this dimension's main actionable groups (1 recommendation-level).

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

Frontend & cross-cutting dimensions

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

AC2 · Forms & labels2.9 / 10Weak✓ Tool-verified

Other · Accessibility — Whether form controls have a programmatic label (an associated label, aria-label or aria-labelledby), buttons have text, links have an accessible name, fieldsets have a non-empty legend, known UI-library field components carry a label prop, and a placeholder isn't used as the only label. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: inputs/selects/textareas checked for an associated label[for]/wrapping label/aria-label/aria-labelledby (per document), buttons for accessible text, fieldsets for a legend; placeholder-only labelling flagged. Deterministic, hard fact per control.

  • This control has no associated label. Add a <label htmlFor> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it. (×10) — Create.jsx:54, Create.jsx:59, Create.jsx:64, …

What to do

  • Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
AC3 · Page structure5.0 / 10Adequate✓ Tool-verified

Other · Accessibility — Whether pages declare a language (well-formed BCP-47) and a non-empty title, expose exactly one main landmark and a sane heading order with non-empty headings, keep zoom enabled, title their iframes, give data tables header cells, and avoid meta-refresh. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: html lang, document <title>, a main landmark and heading order on full documents only, plus zoom-disabling viewports, untitled iframes and meta-refresh anywhere. Deterministic, per structural checkpoint.

  • No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. (×6) — index.html:2, index.html:2, index.html:2, …

What to do

  • Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC6 · Visual & motion safety10.0 / 10Exemplary○ Nothing flagged

Other · Accessibility — Whether focus outlines aren't removed without a replacement, motion respects prefers-reduced-motion, and literal CSS colour pairs meet contrast — PARTIAL: inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS literals are read (hex/rgb/hsl/named), never computed/runtime/external-CDN colour. Static markup readiness, not a WCAG conformance claim.

Method: Static markup/CSS scan: inline outline:none/0, literal inline colour/background contrast against the 4.5:1 AA floor, and <style>-block animation without a prefers-reduced-motion guard. Deterministic but PARTIAL — only inline styles and in-repo CSS literals are visible.

AC7 · A11y enforcement4.0 / 10Adequate✓ Tool-verified

Other · Accessibility — Whether accessibility is ENFORCED in the toolchain — an accessibility checker configured over the markup (an a11y lint rule set, e.g. eslint-plugin-jsx-a11y or vuejs-accessibility where the project lints JavaScript) and an automated accessibility assertion wired into tests or CI (axe/pa11y/Lighthouse or an equivalent) — on the Documented→Verified→Prevented ladder.

Method: Repo config/CI scan: an accessibility checker configured over the markup (an a11y lint rule set such as eslint-plugin-jsx-a11y / vuejs-accessibility where JavaScript is linted) and an automated accessibility assertion in tests or CI (axe/pa11y/Lighthouse or equivalent), graded on the Documented→Verified→Prevented rungs. Deterministic, presence/rung detection.

  • No accessibility enforcement found — no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time.

What to do

  • Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y, then assert with your test runner's axe binding (jest-axe, vitest-axe, cypress-axe or @axe-core/playwright) in tests, then gate axe/pa11y/Lighthouse in CI.
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.3 / 10Adequate✓ 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.

What to do

  • The domain core is a small share of production code — check that business logic isn't leaking into the application/infrastructure layers (a thin domain is the anemic-domain smell).
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.

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 segregation9.3 / 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.

  • `IIdentityService` declares 19 members. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — IIdentityService.cs:6
  • `IAdminIdentityService` declares 19 members. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — IAdminIdentityService.cs:6

What to do

  • Split fat interfaces into focused role-interfaces so clients depend only on what they use.
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 Protection6.0 / 10Adequate✓ 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 — a framework authorization attribute/decorator or policy, 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 Trail7.5 / 10Strong✓ 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.

  • An audit mechanism is present, but the trail is not yet complete — missing: an EF SaveChanges interceptor (or equivalent write-side hook, e.g. an event-store append every change flows through), [Audited] per-entity coverage.

What to do

  • Back the audit convention with a structural mechanism: an EF SaveChanges interceptor (or equivalent) writing every sensitive change to an immutable audit log, and apply [Audited] to the entities that need a who-changed-what trail.
C5 · Data-Subject Rights4.0 / 10Weak✓ 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.
GD1 · Unfinished & placeholder code9.9 / 10Exemplary✓ Tool-verified

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.

  • A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface. (×2) — ManageTenantRepository.cs:44, ManageTenantRepository.cs:56

What to do

  • Finish or delete NotImplementedException stubs and replace placeholder literals before shipping.
IC1 · Incompleteness & stubs7.4 / 10Strong✓ 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.

  • `GetByName` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — ManageTenantRepository.cs:42
  • `GetConnectionString` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — ManageTenantRepository.cs:54
  • `SetTenant` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — TenantService.cs:49
  • A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers). (×21) — Program.cs:72, IAdminIdentityService.cs:24, IManageTenantRepository.cs:10, …

What to do

  • Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.
  • Clear the softer debt: remove commented-out code and dead branches, re-enable or delete skipped tests, and replace blanket warning suppressions with targeted ones.
M1 · Documentation (README)0.5 / 10Critical✓ 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.

  • The root README is 2 words — likely missing build/run/architecture context.
  • 22 code files changed in the last 6 months but the README was not touched — it may no longer reflect the system.

What to do

  • Expand the README with getting-started, architecture overview and a project map.
  • Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
  • 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 4 of 4 project(s) that lack one — worth up to 2 pts.
  • Review the README against recent changes; refresh the parts that drifted.
M2 · Architecture documentation2.0 / 10Weak✓ 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 — no conventional ADR directory, no `NNNN-title.md` documents and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.

What to do

  • Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree with `NNNN-title.md` names is the most discoverable form).
M3 · Folder & project structure6.0 / 10Strong✓ 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.

  • Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
  • Tests aren't grouped in a dedicated test folder — the test surface isn't separable from production code at a glance.

What to do

  • Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
  • Group tests in the folder your build system expects (tests/, test/, spec/, or your module's test source set) so the test surface is discoverable and CI can scope it.
M4 · Documentation accuracy9.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.

P2 · Observability6.0 / 10Strong✓ 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 2/3 service-like projects use logging (pure contract/DTO projects are excluded — they have nothing to log). Of those 3, 1 ship a process this repository operates; the rest are libraries their consumer hosts, where the logging decision belongs to the host.

What to do

  • Extend structured logging across the projects you operate, and give the library ones a diagnostics seam instead — an `EventSource`/`ActivitySource` the host can subscribe to, or an optional logger on your options object — rather than taking a logging dependency on your consumers' behalf.
  • Consider OpenTelemetry tracing/metrics and a health-check endpoint for operability.
P4 · Deployment & Rollback8.0 / 10Exemplary✓ 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.

What to do

  • Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup7.0 / 10Strong✓ 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.

What to do

  • Document RTO/RPO and a tested restore procedure (a backup config alone isn't disaster recovery).
P6 · Release Hygiene5.0 / 10Adequate✓ Tool-verified

Readiness · Readiness — Whether releases are traceable — a maintained changelog and explicit version stamping.

Method: Filesystem scan: changelog file presence and version tags in csproj or git tags. Exhaustive, deterministic.

  • No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)

What to do

  • Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
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.

R1 · Type Safety0.0 / 10Critical✓ Tool-verified

React / JS · Code Health — How much of the frontend is typed TypeScript vs untyped JavaScript.

Method: Frontend file inventory: the share of typed TypeScript vs untyped JavaScript across the source tree. Deterministic, exhaustive over frontend files.

  • 0 typed · 101 plain JS — the untyped files are micro-frontend/customer-frontend/config-overrides.js, micro-frontend/customer-frontend/src/App.js, micro-frontend/customer-frontend/src/App.test.js, micro-frontend/customer-frontend/src/components/CustomerComponent/CustomersListComponent.js, micro-frontend/customer-frontend/src/components/CustomerComponent/DataTableComponent.js, micro-frontend/customer-frontend/src/index.js (+95 more).

What to do

  • Adopt TypeScript for the frontend: add a typecheck step to the build, then either type-check the existing JavaScript in place (`checkJs`/JSDoc types) or convert the highest-traffic modules first — no file is typed today, so this is an adoption, not a clean-up.
R10 · Code Duplication4.1 / 10Weak✓ Tool-verified

React / JS · Code Health — Copy-pasted token-identical blocks across the frontend (the D4 clone algorithm over JS/TS tokens, D-386).

Method: Copy-pasted token-identical blocks across the frontend (the D4 clone algorithm run over JS/TS tokens). Deterministic.

  • react-redux-toolkit/redux-app/src/components/customer/CustomerList.js:111 · react-redux-toolkit/redux-app/src/components/product/ProductsList.js:71 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — CustomerList.js:111
  • react-redux-toolkit/redux-app/src/components/customer/EditCustomer.js:136 · react-redux-toolkit/redux-app/src/components/product/EditProduct.js:117 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — EditCustomer.js:136
  • token-based-auth-core-react/ecommerce.client/src/components/Role/Roles.js:34 · token-based-auth-core-react/ecommerce.client/src/components/User/Users.js:34 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — Roles.js:34
  • micro-frontend/customer-frontend/src/components/CustomerComponent/DataTableComponent.js:35 · micro-frontend/product-frontend/src/components/ProductComponent/DataTableComponent.js:45 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — DataTableComponent.js:35
  • micro-frontend/master-frontend/src/common/SideNavbar.js:24 · micro-frontend/master-frontend/src/common/SideNavbar.js:43 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — SideNavbar.js:24
  • react-redux-toolkit/redux-app/src/components/customer/AddCustomer.js:77 · react-redux-toolkit/redux-app/src/components/product/AddProduct.js:63 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — AddCustomer.js:77
  • token-based-auth-core-react/ecommerce.client/src/components/Customer/Delete.jsx:28 · token-based-auth-core-react/ecommerce.client/src/components/Customer/Edit.jsx:33 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — Delete.jsx:28
  • token-based-auth-core-react/ecommerce.client/src/components/Customer/Edit.jsx:99 · token-based-auth-core-react/ecommerce.client/src/components/Role/EditRole.js:47 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — Edit.jsx:99

What to do

  • Extract the duplicated blocks into shared functions/components.
R2 · Cyclomatic Complexity10.0 / 10Exemplary✓ Tool-verified

React / JS · Code Health — Per-function cyclomatic/cognitive complexity from the token-level function scanner (D-386) — real branching, not a regex heuristic.

Method: Per-function cyclomatic/cognitive complexity from a token-level function scanner (real branching, not a regex heuristic), computed over every frontend function. Deterministic.

R3 · Large Files10.0 / 10Exemplary✓ Tool-verified

React / JS · Code Health — How many source files exceed the large-file threshold.

Method: Components/modules exceeding the large-file threshold, counted exhaustively across the frontend source tree. Deterministic.

R4 · Test Coverage7.8 / 10Exemplary✓ Tool-verified

React / JS · Readiness — Static test reachability (D-386): the share of production files reachable from any test via the import graph — measured without running anything.

Method: Static test reachability: the share of production files reachable from any test via the import graph — measured without running anything. Deterministic.

  • No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×8) — index.js, index.js, index.js, …

What to do

  • Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness8.7 / 10Exemplary✓ Tool-verified

React / JS · Readiness — How outdated the npm dependencies are (a maturity signal). JS/npm CVEs are scored separately in D33 (JS/npm Dependency Vulnerabilities).

Method: npm dependency staleness from manifest/registry metadata (a maturity signal; JS/npm CVEs are scored separately in D33). Deterministic.

What to do

  • Bump outdated dependencies to current versions to limit upgrade debt.
R6 · Tooling3.4 / 10Adequate✓ Tool-verified

React / JS · Readiness — Whether the project wires up test, lint and typecheck — detected from each package.json script's COMMAND (eslint / tsc / vitest / jest / playwright), not just its name, and corroborated against CI-workflow invocations so a tool run only in CI still counts.

Method: package.json scanned for test/lint/typecheck script wiring. Deterministic presence check.

  • test ✓ · lint ✗ · typecheck ✗

What to do

  • Add eslint and type checking (adopt TypeScript, or type-check the existing JavaScript with `checkJs`) as package.json scripts and run them in CI.
R7 · Dead Code9.8 / 10Exemplary✓ Tool-verified

React / JS · Code Health — Files unreachable from every application/tooling/test entry point, and exports nothing imports (module-graph reachability, D-386).

Method: Dead code: files unreachable from every application/tooling/test entry point plus exports nothing imports, via module-graph reachability. Deterministic, exhaustive over the import graph.

  • Unreachable from the 19 application, 6 tooling and 12 test entry point(s) detected in this repo. Gate removals on your build/type-check — an undetected custom entry would make these reachable.
  • no import path from any entry point (19 application, 6 tooling, 12 test roots considered) — reportWebVitals.js
  • Nothing imports this binding — it is safe to review for removal. (×3) — ToastifyMessage.js:17, ToastifyMessage.js:24, Conversion.js:1

What to do

  • Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene0.0 / 10Critical✓ Tool-verified

React / JS · Readiness — npm dependency truthfulness (D-386): unused dependencies, imports not declared anywhere, and type-/test-only packages shipped as production deps.

Method: npm dependency truthfulness: unused dependencies, imports declared nowhere, and type-/test-only packages shipped as production deps — from the manifest + import graph. Deterministic.

  • Imported but not declared in any reachable package.json — installs work only by hoisting accident. — App.js:2
  • Declared in micro-frontend/customer-frontend/package.json but never imported anywhere in that package or its workspace members — dead weight and attack surface. Verify against build tooling before removing. (×3)
  • Only test files import it — move it to devDependencies. — App.test.js:1

What to do

  • Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports10.0 / 10Exemplary✓ Tool-verified

React / JS · Architecture — Import cycles in the module graph (D-386) — files that can only be understood and changed together.

Method: Import cycles in the module graph, detected exhaustively over JS/TS imports (the same cycle detection as the .NET coupling dimension). Deterministic.

S1 · Web-Security Posture8.0 / 10Strong✓ 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.

  • `RequireHttpsMetadata = false` allows the OIDC discovery doc to be fetched over plain HTTP. Safe for loopback-only fetches (Aspire / on-host); risky for any other path. — Program.cs:53
  • 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.)

What to do

  • Set RequireHttpsMetadata = true in prod (or pin MetadataAddress to a localhost URL the API can hit directly).
  • 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.
X1 · Async correctness7.1 / 10Strong✓ Tool-verified

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.

  • `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained. — TenantService.cs:49

What to do

  • async void method: SetTenant
X2 · Cancellation propagation6.6 / 10Strong✓ 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 22/50 async methods accept a CancellationToken, so in-flight work can't be stopped early when the caller gives up — whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice — judge against your hosting model.
  • No CancellationToken parameter — this work can't be stopped early once started. (×25) — AuthController.cs:23, AuthController.cs:36, CustomerController.cs:22, …

What to do

  • Thread a CancellationToken through async methods so work stops promptly on cancellation.
X3 · Exception handling5.0 / 10Adequate✓ Tool-verified

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.

  • `throw ex;` resets the exception's stack trace to this line, hiding where it really came from. Use a bare `throw;` to preserve the original stack. — AdminUnitOfWork.cs:48

What to do

  • Rethrow loses stack trace (`throw ex;`)
X4 · Structured logging10.0 / 10Exemplary○ Nothing flagged

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.

X5 · Nullable reference types10.0 / 10Exemplary○ Nothing flagged

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.

WCAG coverage — what static analysis assessed

Statically assessed 10 of 55 WCAG 2.2 Level A/AA success criteria (18%; ≈20% of the 50 WCAG 2.1 AA criteria for EN 301 549). The other 45 require runtime or manual evaluation. Partial signal only (a clean result is necessary, not sufficient; static analysis fully verifies none). This is accessibility readiness, not a conformance claim — a WCAG conformance claim requires manual evaluation (WCAG-EM 1.0).

DimensionWCAG 2.2 A/AA criteriaCoverage
AC2 · Forms & labels1.3.1, 3.3.2, 4.1.2Partial signal
AC3 · Page structure1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2Partial signal
AC6 · Visual & motion safety1.4.3, 2.4.7Partial — literal CSS only
AC7 · A11y enforcementenforcement — no page criterionEnforcement posture (process)

Not statically assessed — these 45 Level A/AA criteria need runtime or manual evaluation (WCAG-EM): 1.1.1, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.4.1, 1.4.2, 1.4.5, 1.4.10, 1.4.11, 1.4.12, 1.4.13, 2.1.1, 2.1.2, 2.1.4, 2.2.2, 2.3.1, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.11, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.7, 2.5.8, 3.1.2, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.6, 3.3.1, 3.3.3, 3.3.4, 3.3.7, 3.3.8, 4.1.3.

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 Health48%Adequate — gated by R1Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Architecture82%StrongStrongest area.
Maturity40%Adequate — gated by M1, M2Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Readiness43%Adequate — gated by R6, R8Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Security57%Adequate — gated by D28, D31, D38Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Accessibility47%Adequate — gated by AC2Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Not included — 42 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 image/media element found in the parsed markup — AC1 not applicable here.
  • AC4 Keyboard semantics — No interactive element found in the parsed markup — AC4 not applicable here.
  • AC5 ARIA correctness — No ARIA usage found in the parsed markup — AC5 not applicable here.
  • AX2 Stateful singletons — no singleton implementations detected
  • AX4 Dependency direction — not applicable to a CQRS architecture (the inward-dependency rule is for layered/clean styles)
  • AX7 Slice cohesion — not applicable — not a vertical-slice architecture
  • AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
  • 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.
  • D1 Cyclomatic Complexity — Most of this repository's production source (.cs, .java) had no cyclomatic complexity computed for it, so cyclomatic complexity was not measured — whatever else this pass did read is not this repository's complexity. Not scored: no method bodies were exposed for those file kinds by any language model this pass could load. This is a gap in the analysis run, not a finding about this repository.
  • D11 Test Reliability — Test reliability not included
  • D15 Churn × Complexity Hotspots — complexity unreadable for .cs, .java — churn × complexity hotspots could not be measured
  • D16 Bus Factor — single-maintainer — knowledge-concentration (bus factor) risk
  • D19 Documentation Quality — LLM evaluation failed
  • D2 Cognitive Complexity — Most of this repository's production source (.cs, .java) had no cognitive complexity computed for it, so cognitive complexity was not measured — whatever else this pass did read is not this repository's complexity. Not scored: no method bodies were exposed for those file kinds by any language model this pass could load. This is a gap in the analysis run, not a finding about this repository.
  • D20 ADR Quality — N/A — this repo declares itself a template / kata / sample / demo; a formal ADR log is deferred to a real application built from it.
  • D22 Internal API Consistency — No exposed public API
  • D23 Boundary Type-Coupling — At only 3311 LoC the codebase is small despite four projects, so its size alone makes it not need explicit boundaries.
  • D25 ADR Conformance — no ADRs to check
  • D3 God Classes — Most of this repository's production source (.cs, .java) was not read by god-class detection, so class size was not assessed for the languages that are the product — whatever else this pass did read is not this repository's class size. Not scored — this is a gap in the analyzer, not a verdict about this repository.
  • D32 Data Compliance (PII/GDPR) — No PII/GDPR-handling patterns detected (p/gdpr ruleset) — no data-compliance surface to assess.
  • D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .gitlab-ci.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, Jenkinsfile, .circleci); there is no build to attest provenance for.
  • D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
  • D39 IL Efficiency — The target did not build, so no IL was available to measure.
  • D4 Code Duplication — Most of this repository's production source (.cs, .java) was not read by duplication detection, so code duplication was not measured — whatever else this pass did read is not this repository's duplication. Not scored: no source of those file kinds was exposed to the token comparison by any language model this pass could load. This is a gap in the analysis run, not a finding about this repository.
  • D42 Runtime Threat Enforcement — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess.
  • D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
  • DM1 Domain Modelling — not scored — this repository shows none of the 3 signals this check looks for
  • ED1 Event-Driven — applicable but not scored (2 of 3 signals for this style — below the bar we score at): a message-bus package; 22 CQRS handler(s)
  • ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
  • ES1 Event Sourcing — not scored — this repository shows only 1 of the 3 signals this check looks for (an event-store package (Marten/EventStore))
  • P1 CI/CD gates — This repo declares itself a template / kata / sample / demo — code meant to be read or copied, not operated. Automated CI/CD gates are deferred to the application you build from it, so their absence is not a defect here. The dimension reactivates once the repo becomes a real app.
  • P12 CI test-gate honesty — no CI workflow found
  • P3 Security & performance tooling — This repo declares itself a template / kata / sample / demo — code meant to be read or copied, not operated. SAST, secret/dependency scanning and performance benchmarks are deferred to the application you build from it, so their absence is not a defect here. The dimension reactivates once the repo becomes a real app.
  • P7 Outbound HTTP resilience — no outbound HTTP usage detected
  • P9 Domain vs controller coverage — coverage data present but no domain-layer files were identified (no /Domain//Aggregates/ paths)
  • 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.
  • R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
  • SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
  • X6 Hand-rolled structured-format parsing — Reported, not scored — this card publishes what it found rather than grading it. Its content is the findings and the key metric above.
  • X7 Silent fallback defaults — Reported, not scored — this card publishes what it found rather than grading it. Its content is the findings and the key metric above.

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 — 102 finding(s)
D38 · OSV Dependency Vulnerabilities · High CVE · ×29
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — @babel/plugin-transform-modules-systemjs 7.16.7: [GHSA redacted] — @babel/plugin-transform-modules-systemjs is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin @babel/plugin-transform-modules-systemjs to 7.29.4 with an `overrides` entry).
  • High CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — @babel/plugin-transform-modules-systemjs 7.22.5: [GHSA redacted] — @babel/plugin-transform-modules-systemjs is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin @babel/plugin-transform-modules-systemjs to 7.29.4 with an `overrides` entry). (in 5 dependency files)
  • High CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — @remix-run/router 1.7.2: [GHSA redacted] — @remix-run/router is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin @remix-run/router to 1.23.2 with an `overrides` entry). (in 5 dependency files)
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — ansi-html 0.0.7: [GHSA redacted] — ansi-html is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin ansi-html to 0.0.8 with an `overrides` entry).
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — ansi-regex 4.1.0: [GHSA redacted] — ansi-regex is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin ansi-regex to 4.1.1 with an `overrides` entry).
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — ansi-regex 5.0.0: [GHSA redacted] — ansi-regex is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin ansi-regex to 5.0.1 with an `overrides` entry).
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — async 2.6.3: [GHSA redacted] — async is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin async to 2.6.4 with an `overrides` entry).
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — axios 0.21.1: [GHSA redacted] — upgrade to 0.31.1. This is 1 of 24 advisories with a published fix this scan raises against axios 0.21.1, and their fixed versions do not agree — anything below 0.33.0 still leaves at least one of them open. Take this package to 0.33.0 or later: that is the floor for the package, not this row's target alone. This one row stands for the 24 advisories this scan raises against axios 0.21.1: [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — axios 1.4.0: [GHSA redacted] — this repo declares axios ^1.4.0, a range that ALREADY admits the fixed 1.16.0, so there is no manifest edit to make here. Re-resolve the lock so axios moves onto 1.16.0 or later; if the flagged 1.4.0 comes back, a dependency is pinning it — upgrade that dependent, or pin axios with an `overrides` entry so only one copy resolves. This is 1 of 30 advisories with a published fix this scan raises against axios 1.4.0, and their fixed versions do not agree — anything below 1.18.0 still leaves at least one of them open. Take this package to 1.18.0 or later: that is the floor for the package, not this row's target alone. (in 3 dependency files: micro-frontend/customer-frontend/package-lock.json, micro-frontend/product-frontend/package-lock.json, react-redux-toolkit/redux-app/package-lock.json) This one row stands for the 30 advisories this scan raises against axios 1.4.0: [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — body-parser 1.19.1: [GHSA redacted] — body-parser is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin body-parser to 1.20.3 with an `overrides` entry). This is 1 of 2 advisories with a published fix this scan raises against body-parser 1.19.1, and their fixed versions do not agree — anything below 1.20.6 still leaves at least one of them open. Take this package to 1.20.6 or later: that is the floor for the package, not this row's target alone. This one row stands for the 2 advisories this scan raises against body-parser 1.19.1: [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — body-parser 1.20.1: [GHSA redacted] — body-parser is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin body-parser to 1.20.3 with an `overrides` entry). This is 1 of 2 advisories with a published fix this scan raises against body-parser 1.20.1, and their fixed versions do not agree — anything below 1.20.6 still leaves at least one of them open. Take this package to 1.20.6 or later: that is the floor for the package, not this row's target alone. (in 5 dependency files) This one row stands for the 2 advisories this scan raises against body-parser 1.20.1: [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — brace-expansion 1.1.11: [GHSA redacted] — brace-expansion is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin brace-expansion to 1.1.16 with an `overrides` entry). This is 1 of 5 advisories with a published fix this scan raises against brace-expansion 1.1.11, and their fixed versions do not agree — anything below 1.1.18 still leaves at least one of them open. Take this package to 1.1.18 or later: that is the floor for the package, not this row's target alone. (in 6 dependency files) This one row stands for the 5 advisories this scan raises against brace-expansion 1.1.11: [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — brace-expansion 2.0.1: [GHSA redacted] — brace-expansion is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin brace-expansion to 2.1.2 with an `overrides` entry). This is 1 of 5 advisories with a published fix this scan raises against brace-expansion 2.0.1, and their fixed versions do not agree — anything below 2.1.4 still leaves at least one of them open. Take this package to 2.1.4 or later: that is the floor for the package, not this row's target alone. (in 5 dependency files) This one row stands for the 5 advisories this scan raises against brace-expansion 2.0.1: [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — braces 2.3.2: [GHSA redacted] — braces is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (— 3.0.3 is a MAJOR ahead of the resolved 2.3.2, so an `overrides` pin would force a breaking version under a dependent written against 2.3.2; upgrading the declaring package is the remedy, and where no patched release exists in your major line, record the exposure instead).
  • High CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — braces 3.0.2: [GHSA redacted] — braces is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin braces to 3.0.3 with an `overrides` entry). (in 6 dependency files)
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — browserify-sign 4.2.1: [GHSA redacted] — browserify-sign is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin browserify-sign to 4.2.2 with an `overrides` entry).
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — cross-spawn 6.0.5: [GHSA redacted] — cross-spawn is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin cross-spawn to 6.0.6 with an `overrides` entry).
  • High CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — cross-spawn 7.0.3: [GHSA redacted] — cross-spawn is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin cross-spawn to 7.0.5 with an `overrides` entry). (in 6 dependency files)
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — decode-uri-component 0.2.0: [GHSA redacted] — decode-uri-component is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin decode-uri-component to 0.2.1 with an `overrides` entry).
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — flatted 3.2.5: [GHSA redacted] — flatted is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin flatted to 3.4.0 with an `overrides` entry). This is 1 of 2 advisories with a published fix this scan raises against flatted 3.2.5, and their fixed versions do not agree — anything below 3.4.2 still leaves at least one of them open. Take this package to 3.4.2 or later: that is the floor for the package, not this row's target alone. This one row stands for the 2 advisories this scan raises against flatted 3.2.5: [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — flatted 3.2.7: [GHSA redacted] — flatted is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin flatted to 3.4.0 with an `overrides` entry). This is 1 of 2 advisories with a published fix this scan raises against flatted 3.2.7, and their fixed versions do not agree — anything below 3.4.2 still leaves at least one of them open. Take this package to 3.4.2 or later: that is the floor for the package, not this row's target alone. (in 5 dependency files) This one row stands for the 2 advisories this scan raises against flatted 3.2.7: [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — follow-redirects 1.14.0: [GHSA redacted] — follow-redirects is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin follow-redirects to 1.14.7 with an `overrides` entry). This is 1 of 5 advisories with a published fix this scan raises against follow-redirects 1.14.0, and their fixed versions do not agree — anything below 1.16.0 still leaves at least one of them open. Take this package to 1.16.0 or later: that is the floor for the package, not this row's target alone. This one row stands for the 5 advisories this scan raises against follow-redirects 1.14.0: [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — http-proxy-middleware 0.19.1: [GHSA redacted] — http-proxy-middleware is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (— 2.0.7 is a MAJOR ahead of the resolved 0.19.1, so an `overrides` pin would force a breaking version under a dependent written against 0.19.1; upgrading the declaring package is the remedy, and where no patched release exists in your major line, record the exposure instead). This is 1 of 2 advisories with a published fix this scan raises against http-proxy-middleware 0.19.1, and their fixed versions do not agree — anything below 2.0.10 still leaves at least one of them open. Take this package to 2.0.10 or later: that is the floor for the package, not this row's target alone. This one row stands for the 2 advisories this scan raises against http-proxy-middleware 0.19.1: [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — http-proxy-middleware 2.0.6: [GHSA redacted] — http-proxy-middleware is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin http-proxy-middleware to 2.0.7 with an `overrides` entry). This is 1 of 4 advisories with a published fix this scan raises against http-proxy-middleware 2.0.6, and their fixed versions do not agree — anything below 2.0.10 still leaves at least one of them open. Take this package to 2.0.10 or later: that is the floor for the package, not this row's target alone. (in 5 dependency files) This one row stands for the 4 advisories this scan raises against http-proxy-middleware 2.0.6: [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — ip 1.1.5: [GHSA redacted] — no fixed version has been published yet. Track the advisory; ip is not declared in this repo's manifests: it is pulled in transitively, so the action is on the dependency that requires it — upgrade or replace that dependent. This one row stands for the 2 advisories this scan raises against ip 1.1.5: [GHSA redacted], [GHSA redacted].
  • + 4 more in this group — see findings.md.
D31 · IaC & Container Security · High IaC · ×22
  • High IaC: DS-0002 MicroservicesDemo/src/Services/OrderService/Dockerfile — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app` — or whatever this base image's account tooling is, `adduser` and `useradd` are not both present everywhere`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
  • High IaC: DS-0002 MicroservicesDemo/src/Services/ProductService/Dockerfile — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app` — or whatever this base image's account tooling is, `adduser` and `useradd` are not both present everywhere`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
  • High IaC: KSV-0014 aks-hrm/HRM.API/deployment/pod-aks.yml — Root file system is not read-only
  • High IaC: KSV-0014 hrm/HRM/HRM.API/Deploy/k8s/pod.yml — Root file system is not read-only
  • High IaC: DS-0002 hrm/HRM/HRM.API/Dockerfile — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app` — or whatever this base image's account tooling is, `adduser` and `useradd` are not both present everywhere`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
  • High IaC: DS-0002 kubernetes-demo/KubernetesDemo/Catalog.API/Dockerfile — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app` — or whatever this base image's account tooling is, `adduser` and `useradd` are not both present everywhere`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
  • High IaC: KSV-0014 kubernetes-demo/KubernetesDemo/Catalog.API/deploy/k8s/pod.yml — Root file system is not read-only
  • High IaC: DS-0002 sd-docker-demo/BFF.Web/Dockerfile — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app` — or whatever this base image's account tooling is, `adduser` and `useradd` are not both present everywhere`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
  • High IaC: DS-0002 sd-docker-demo/LocationA.API/Dockerfile — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app` — or whatever this base image's account tooling is, `adduser` and `useradd` are not both present everywhere`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
  • High IaC: DS-0002 sd-docker-demo/LocationB.API/Dockerfile — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app` — or whatever this base image's account tooling is, `adduser` and `useradd` are not both present everywhere`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
  • High IaC: DS-0002 sd-docker-demo/LocationC.API/Dockerfile — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app` — or whatever this base image's account tooling is, `adduser` and `useradd` are not both present everywhere`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
  • High IaC: KSV-0014 service-mesh/Istio/elasticsearch.yaml — Root file system is not read-only
  • High IaC: KSV-0014 service-mesh/Istio/fluentd.yaml — Root file system is not read-only
  • High IaC: KSV-0014 service-mesh/Istio/kibana.yaml — Root file system is not read-only
  • High IaC: KSV-0014 service-mesh/ServiceMesh/BFF.Web/Deploy/k8s/deployment.yml — Root file system is not read-only
  • High IaC: DS-0002 service-mesh/ServiceMesh/BFF.Web/Dockerfile — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app` — or whatever this base image's account tooling is, `adduser` and `useradd` are not both present everywhere`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
  • High IaC: KSV-0014 service-mesh/ServiceMesh/Catalog.API/Deploy/k8s/deployment.yml — Root file system is not read-only
  • High IaC: DS-0002 service-mesh/ServiceMesh/Catalog.API/Dockerfile — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app` — or whatever this base image's account tooling is, `adduser` and `useradd` are not both present everywhere`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
  • High IaC: KSV-0014 service-mesh/ServiceMesh/Location.API/Deploy/k8s/deployment.yml — Root file system is not read-only
  • High IaC: DS-0002 service-mesh/ServiceMesh/Location.API/Dockerfile — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app` — or whatever this base image's account tooling is, `adduser` and `useradd` are not both present everywhere`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
  • High IaC: KSV-0014 service-mesh/ServiceMesh/Ordering.API/Deploy/k8s/deployment.yml — Root file system is not read-only
  • High IaC: DS-0002 service-mesh/ServiceMesh/Ordering.API/Dockerfile — Image user should not be 'root' A container that starts as root runs your process with root's capabilities inside the namespace, so a compromise of the process starts from there. The step: create an unprivileged account in the image (`RUN useradd -r -M app` — or whatever this base image's account tooling is, `adduser` and `useradd` are not both present everywhere`), give it ownership of the paths the process writes at runtime (`COPY --chown=` on those layers, or a `RUN chown -R`), and end the final stage with `USER app` so it is the default at start. Build stages that only compile can stay root; it is the stage that RUNS that needs the account. If the process genuinely requires root — it manages the container runtime, ptraces another process or opens raw devices — say so here rather than making a change that breaks it.
D28 · Secrets (history) · Secret · ×20
  • Secret: generic-api-key ConcurrencyRawSQL/Concurrency.API/appsettings.json:9 — matched rule 'generic-api-key'
  • Secret: generic-api-key EFBulkBatch/EFBulkBatch/appsettings.json:10 — matched rule 'generic-api-key'
  • Secret: generic-api-key ConcurrencyHyperMedia/ConcurrencyHandling.API/appsettings.json:9 — matched rule 'generic-api-key'
  • Secret: generic-api-key ConcurrencyEtags/ConcurrencyHandling.API/appsettings.json:9 — matched rule 'generic-api-key'
  • Secret: generic-api-key ConcurrencyDBToken/ConcurrencyHandling.API/appsettings.json:9 — matched rule 'generic-api-key'
  • Secret: generic-api-key AuditLogRawSQL/AuditLog.API/appsettings.json:9 — matched rule 'generic-api-key'
  • Secret: generic-api-key ConcurrencyAppToken/ConcurrencyHandling.API/appsettings.json:9 — matched rule 'generic-api-key'
  • Secret: generic-api-key AuditLogEFPlus/AuditLog.API/appsettings.json:9 — matched rule 'generic-api-key'
  • Secret: generic-api-key MultiTenant/MTShop.API/appsettings.json:31 — matched rule 'generic-api-key'
  • Secret: generic-api-key MultiTenant/MTShop.API/tenantsettings.json:29 — matched rule 'generic-api-key'
  • Secret: generic-api-key IdempotentDemo/Accounting.API/appsettings.json:10 — matched rule 'generic-api-key'
  • Secret: generic-api-key CleanArchitectureTemplate/CleanArchitecture/CleanArch.API/appsettings.json:28 — matched rule 'generic-api-key'
  • Secret: generic-api-key EventSourcing/Catalog.API/appsettings.json:10 — matched rule 'generic-api-key'
  • Secret: generic-api-key kubernetes-demo/KubernetesDemo/Catalog.API/appsettings.json:10 — matched rule 'generic-api-key'
  • Secret: generic-api-key health-check/HealthCheck/Location.API/appsettings.json:9 — matched rule 'generic-api-key'
  • Secret: generic-api-key health-check/HealthCheck/Customer/appsettings.json:9 — matched rule 'generic-api-key'
  • Secret: jwt token-based-auth-core-react/ecommerce.client/src/components/services/AccessAPI.js:35 — matched rule 'jwt'
  • Secret: jwt token-based-auth-core-react/ecommerce.client/src/components/services/AccessAPI.js:35 — matched rule 'jwt'
  • Secret: generic-api-key DapperDemo/DapperDemo/Customer.API/appsettings.json:11 — matched rule 'generic-api-key'
  • Secret: generic-api-key CleanArchitectureDemo/Ecommerce/Services/Ordering/Ordering.API/appsettings.json:10 — matched rule 'generic-api-key'
D38 · OSV Dependency Vulnerabilities · Critical CVE · ×20
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — @babel/traverse 7.16.10: [GHSA redacted] — @babel/traverse is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin @babel/traverse to 7.23.2 with an `overrides` entry).
  • Critical CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — @babel/traverse 7.22.8: [GHSA redacted] — @babel/traverse is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin @babel/traverse to 7.23.2 with an `overrides` entry). (in 5 dependency files)
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — cipher-base 1.0.4: [GHSA redacted] — cipher-base is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin cipher-base to 1.0.5 with an `overrides` entry).
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — ejs 2.7.4: [GHSA redacted] — ejs is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (— 3.1.7 is a MAJOR ahead of the resolved 2.7.4, so an `overrides` pin would force a breaking version under a dependent written against 2.7.4; upgrading the declaring package is the remedy, and where no patched release exists in your major line, record the exposure instead). This is 1 of 2 advisories with a published fix this scan raises against ejs 2.7.4, and their fixed versions do not agree — anything below 3.1.10 still leaves at least one of them open. Take this package to 3.1.10 or later: that is the floor for the package, not this row's target alone. This one row stands for the 2 advisories this scan raises against ejs 2.7.4: [GHSA redacted], [GHSA redacted].
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — eventsource 1.1.0: [GHSA redacted] — eventsource is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin eventsource to 1.1.1 with an `overrides` entry).
  • Critical CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — form-data 3.0.1: [GHSA redacted] — form-data is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin form-data to 3.0.4 with an `overrides` entry). This is 1 of 2 advisories with a published fix this scan raises against form-data 3.0.1, and their fixed versions do not agree — anything below 3.0.5 still leaves at least one of them open. Take this package to 3.0.5 or later: that is the floor for the package, not this row's target alone. (in 6 dependency files) This one row stands for the 2 advisories this scan raises against form-data 3.0.1: [GHSA redacted], [GHSA redacted].
  • Critical CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — form-data 4.0.0: [GHSA redacted] — form-data is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin form-data to 4.0.4 with an `overrides` entry). This is 1 of 2 advisories with a published fix this scan raises against form-data 4.0.0, and their fixed versions do not agree — anything below 4.0.6 still leaves at least one of them open. Take this package to 4.0.6 or later: that is the floor for the package, not this row's target alone. (in 3 dependency files: micro-frontend/customer-frontend/package-lock.json, micro-frontend/product-frontend/package-lock.json, react-redux-toolkit/redux-app/package-lock.json) This one row stands for the 2 advisories this scan raises against form-data 4.0.0: [GHSA redacted], [GHSA redacted].
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — immer 8.0.1: [GHSA redacted] — immer is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (— 9.0.6 is a MAJOR ahead of the resolved 8.0.1, so an `overrides` pin would force a breaking version under a dependent written against 8.0.1; upgrading the declaring package is the remedy, and where no patched release exists in your major line, record the exposure instead). This one row stands for the 2 advisories this scan raises against immer 8.0.1: [GHSA redacted], [GHSA redacted].
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — loader-utils 1.2.3: [GHSA redacted] — loader-utils is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin loader-utils to 1.4.1 with an `overrides` entry). This is 1 of 3 advisories with a published fix this scan raises against loader-utils 1.2.3, and their fixed versions do not agree — anything below 1.4.2 still leaves at least one of them open. Take this package to 1.4.2 or later: that is the floor for the package, not this row's target alone. This one row stands for the 3 advisories this scan raises against loader-utils 1.2.3: [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — loader-utils 1.4.0: [GHSA redacted] — loader-utils is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin loader-utils to 1.4.1 with an `overrides` entry). This is 1 of 3 advisories with a published fix this scan raises against loader-utils 1.4.0, and their fixed versions do not agree — anything below 1.4.2 still leaves at least one of them open. Take this package to 1.4.2 or later: that is the floor for the package, not this row's target alone. This one row stands for the 3 advisories this scan raises against loader-utils 1.4.0: [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — loader-utils 2.0.0: [GHSA redacted] — loader-utils is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin loader-utils to 2.0.3 with an `overrides` entry). This is 1 of 3 advisories with a published fix this scan raises against loader-utils 2.0.0, and their fixed versions do not agree — anything below 2.0.4 still leaves at least one of them open. Take this package to 2.0.4 or later: that is the floor for the package, not this row's target alone. This one row stands for the 3 advisories this scan raises against loader-utils 2.0.0: [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — loader-utils 2.0.2: [GHSA redacted] — loader-utils is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin loader-utils to 2.0.3 with an `overrides` entry). This is 1 of 3 advisories with a published fix this scan raises against loader-utils 2.0.2, and their fixed versions do not agree — anything below 2.0.4 still leaves at least one of them open. Take this package to 2.0.4 or later: that is the floor for the package, not this row's target alone. This one row stands for the 3 advisories this scan raises against loader-utils 2.0.2: [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — minimist 1.2.5: [GHSA redacted] — minimist is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin minimist to 1.2.6 with an `overrides` entry).
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — pbkdf2 3.1.2: [GHSA redacted] — pbkdf2 is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin pbkdf2 to 3.1.3 with an `overrides` entry). This one row stands for the 2 advisories this scan raises against pbkdf2 3.1.2: [GHSA redacted], [GHSA redacted].
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — sha.js 2.4.11: [GHSA redacted] — sha.js is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin sha.js to 2.4.12 with an `overrides` entry).
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — shell-quote 1.7.2: [GHSA redacted] — shell-quote is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin shell-quote to 1.7.3 with an `overrides` entry). This is 1 of 3 advisories with a published fix this scan raises against shell-quote 1.7.2, and their fixed versions do not agree — anything below 1.9.0 still leaves at least one of them open. Take this package to 1.9.0 or later: that is the floor for the package, not this row's target alone. This one row stands for the 3 advisories this scan raises against shell-quote 1.7.2: [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • Critical CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — shell-quote 1.8.1: [GHSA redacted] — shell-quote is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin shell-quote to 1.8.4 with an `overrides` entry). This is 1 of 2 advisories with a published fix this scan raises against shell-quote 1.8.1, and their fixed versions do not agree — anything below 1.9.0 still leaves at least one of them open. Take this package to 1.9.0 or later: that is the floor for the package, not this row's target alone. (in 5 dependency files) This one row stands for the 2 advisories this scan raises against shell-quote 1.8.1: [GHSA redacted], [GHSA redacted].
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — tar 6.1.11: [GHSA redacted] — tar is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (— 7.5.19 is a MAJOR ahead of the resolved 6.1.11, so an `overrides` pin would force a breaking version under a dependent written against 6.1.11; upgrading the declaring package is the remedy, and where no patched release exists in your major line, record the exposure instead). This one row stands for the 13 advisories this scan raises against tar 6.1.11: [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • Critical CVE: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — url-parse 1.5.4: [GHSA redacted] — url-parse is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin url-parse to 1.5.8 with an `overrides` entry). This is 1 of 4 advisories with a published fix this scan raises against url-parse 1.5.4, and their fixed versions do not agree — anything below 1.5.9 still leaves at least one of them open. Take this package to 1.5.9 or later: that is the floor for the package, not this row's target alone. This one row stands for the 4 advisories this scan raises against url-parse 1.5.4: [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • Critical CVE: [GHSA redacted] micro-frontend/customer-frontend/package-lock.json — websocket-driver 0.7.4: [GHSA redacted] — websocket-driver is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin websocket-driver to 0.7.5 with an `overrides` entry). (in 6 dependency files) This one row stands for the 2 advisories this scan raises against websocket-driver 0.7.4: [GHSA redacted], [GHSA redacted].
D30 · Dependency Vulnerabilities · High CVE · ×3
  • High CVE: AutoMapper 12.0.0 — AutoMapper 12.0.0 (transitive) has a High advisory; affects 3 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
  • High CVE: Microsoft.Data.SqlClient 2.1.4 — Microsoft.Data.SqlClient 2.1.4 (transitive) has a High advisory; affects 2 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
  • High CVE: Microsoft.Extensions.Caching.Memory 6.0.1 — Microsoft.Extensions.Caching.Memory 6.0.1 (transitive) has a High advisory; affects 4 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
D10 · Test Quality · No assertions (empty test) · ×2
  • No assertions (empty test): Test1 jenkins-demo/HRM/HRM.Test/UnitTest1.cs:7 — Test method has an empty body — it asserts nothing and exercises no code.
  • No assertions (empty test): Test1 multi-env-app/src/HRM/HRM.Tests/UnitTest1.cs:5 — Test method has an empty body — it asserts nothing and exercises no code.
D17 · Explicit Debt · NoWarnInCsproj · ×2
  • NoWarnInCsproj CleanArchitectureTemplate/TemplatePack.csproj:27 — NU5128 — this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or — if some occurrences really are legitimate — narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project.
  • NoWarnInCsproj export-report-api/ExportReportAPI/ExportReportAPI.csproj:8 — 1591 — this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or — if some occurrences really are legitimate — narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project.
D13 · Secret Scanning · Leaked secret · ×1
  • Leaked secret: hardcoded-credential aks-hrm/HRM.API/deployment/pod-aks.yml:17 — hardcoded-credential detected. Treat the value as compromised: it is readable by everyone who has ever had the repository, and deleting the line does not un-publish it. In order — (1) REVOKE it at whatever issued it and issue a replacement, which is the only step that actually closes the exposure; (2) load the replacement at run time from your platform's secret store or the process environment instead of from the tree, so no future value is committable; (3) remove the file or line and add its path to the repository's ignore rules, so it cannot come back; (4) if the value was ever live, purge it from the history as well, since a clone taken before the deletion still carries it. If this is instead a FIXTURE — key material generated for tests and valid nowhere — then the exposure is nil and the fix is to make that legible: generate it in test setup, or keep it under a test-data path, so a reader (and this scan) can tell it from the real thing.
D14 · License Compliance · Banned license · ×1
  • Banned license: iTextSharp.LGPLv2.Core — iTextSharp.LGPLv2.Core 3.4.22 is licensed LGPL-2.0-only (banned by policy).
D30 · Dependency Vulnerabilities · Critical CVE · ×1
  • Critical CVE: System.Text.Encodings.Web 4.5.0 — System.Text.Encodings.Web 4.5.0 (transitive) has a Critical advisory; affects 2 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
D38 · OSV Dependency Vulnerabilities · Critical vulnerability · ×1
  • Critical vulnerability: [GHSA redacted] token-based-auth-core-react/ecommerce.client/package-lock.json — elliptic 6.5.4: [GHSA redacted] — elliptic is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin elliptic to 6.6.1 with an `overrides` entry). This is 1 of 6 advisories with a published fix this scan raises against elliptic 6.5.4, and their fixed versions do not agree — anything below 6.6.1 still leaves at least one of them open. Take this package to 6.6.1 or later: that is the floor for the package, not this row's target alone. This one row stands for the 7 advisories this scan raises against elliptic 6.5.4: [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted].
Warning — 47 finding(s)
D31 · IaC & Container Security · Medium IaC · ×26
  • Medium IaC: KSV-0001 aks-hrm/HRM.API/deployment/pod-aks.yml — Can elevate its own privileges
  • Medium IaC: KSV-0012 aks-hrm/HRM.API/deployment/pod-aks.yml — Runs as root user One securityContext edit clears this facet's near-duplicate rules together: KSV-0012, KSV-0020, KSV-0021.
  • Medium IaC: KSV-0013 aks-hrm/HRM.API/deployment/pod-aks.yml — Image tag ":latest" used
  • Medium IaC: KSV-0104 aks-hrm/HRM.API/deployment/pod-aks.yml — Seccomp policies disabled One securityContext edit clears this facet's near-duplicate rules together: KSV-0030, KSV-0104.
  • Medium IaC: KSV-0001 hrm/HRM/HRM.API/Deploy/k8s/pod.yml — Can elevate its own privileges
  • Medium IaC: KSV-0012 hrm/HRM/HRM.API/Deploy/k8s/pod.yml — Runs as root user One securityContext edit clears this facet's near-duplicate rules together: KSV-0012, KSV-0020, KSV-0021.
  • Medium IaC: KSV-0104 hrm/HRM/HRM.API/Deploy/k8s/pod.yml — Seccomp policies disabled One securityContext edit clears this facet's near-duplicate rules together: KSV-0030, KSV-0104.
  • Medium IaC: KSV-0125 hrm/HRM/HRM.API/Deploy/k8s/pod.yml — Restrict container images to trusted registries
  • Medium IaC: KSV-0001 kubernetes-demo/KubernetesDemo/Catalog.API/deploy/k8s/pod.yml — Can elevate its own privileges
  • Medium IaC: KSV-0012 kubernetes-demo/KubernetesDemo/Catalog.API/deploy/k8s/pod.yml — Runs as root user One securityContext edit clears this facet's near-duplicate rules together: KSV-0012, KSV-0020, KSV-0021.
  • Medium IaC: KSV-0104 kubernetes-demo/KubernetesDemo/Catalog.API/deploy/k8s/pod.yml — Seccomp policies disabled One securityContext edit clears this facet's near-duplicate rules together: KSV-0030, KSV-0104.
  • Medium IaC: KSV-0125 kubernetes-demo/KubernetesDemo/Catalog.API/deploy/k8s/pod.yml — Restrict container images to trusted registries
  • Medium IaC: KSV-0111 kubernetes-demo/k8s-dashboard/dashboard-adminuser.yaml — User with admin access
  • Medium IaC: KSV-0012 kubernetes-demo/k8s-dashboard/recommended.yaml — Runs as root user One securityContext edit clears this facet's near-duplicate rules together: KSV-0012, KSV-0020, KSV-0021.
  • Medium IaC: KSV-0049 kubernetes-demo/k8s-dashboard/recommended.yaml — Manage configmaps
  • Medium IaC: KSV-0104 kubernetes-demo/k8s-dashboard/recommended.yaml — Seccomp policies disabled One securityContext edit clears this facet's near-duplicate rules together: KSV-0030, KSV-0104.
  • Medium IaC: KSV-0113 kubernetes-demo/k8s-dashboard/recommended.yaml — Manage namespace secrets
  • Medium IaC: KSV-0125 kubernetes-demo/k8s-dashboard/recommended.yaml — Restrict container images to trusted registries
  • Medium IaC: KSV-0001 service-mesh/Istio/elasticsearch.yaml — Can elevate its own privileges
  • Medium IaC: KSV-0012 service-mesh/Istio/elasticsearch.yaml — Runs as root user One securityContext edit clears this facet's near-duplicate rules together: KSV-0012, KSV-0020, KSV-0021.
  • Medium IaC: KSV-0104 service-mesh/Istio/elasticsearch.yaml — Seccomp policies disabled One securityContext edit clears this facet's near-duplicate rules together: KSV-0030, KSV-0104.
  • Medium IaC: KSV-0125 service-mesh/Istio/elasticsearch.yaml — Restrict container images to trusted registries
  • Medium IaC: KSV-0001 service-mesh/Istio/fluentd.yaml — Can elevate its own privileges
  • Medium IaC: KSV-0012 service-mesh/Istio/fluentd.yaml — Runs as root user One securityContext edit clears this facet's near-duplicate rules together: KSV-0012, KSV-0020, KSV-0021.
  • Medium IaC: KSV-0023 service-mesh/Istio/fluentd.yaml — hostPath volumes mounted
  • + 1 more in this group — see findings.md.
D29 · Static Analysis (SAST) · Medium · ×12
  • Medium: missing-or-broken-authorization EFBulkBatch/EFBulkBatch/Controllers/CustomerController.cs:6 — Anonymous access shouldn't be allowed unless explicit by design. Access control checks are missing and potentially can be bypassed. This finding violates the principle of least privilege or deny by default, where access should only be permitted for a specific set of roles or conforms to a custom policy or users. This is a semgrep security-AUDIT rule: it reports that a sensitive construct is present, not that it is exploitable here. Confirm whether this site handles untrusted input or is reachable across a trust boundary — and apply the change where it is; where the construct is required by the platform or protocol it calls into, and carries no untrusted data (a syscall/FFI shim, a build- or debug-gated tool, a fixed local surface), record the review and leave the code as it is.
  • Medium: missing-or-broken-authorization EFBulkBatch/EFBulkBatch/Controllers/EmployeeController.cs:7 — Anonymous access shouldn't be allowed unless explicit by design. Access control checks are missing and potentially can be bypassed. This finding violates the principle of least privilege or deny by default, where access should only be permitted for a specific set of roles or conforms to a custom policy or users. This is a semgrep security-AUDIT rule: it reports that a sensitive construct is present, not that it is exploitable here. Confirm whether this site handles untrusted input or is reachable across a trust boundary — and apply the change where it is; where the construct is required by the platform or protocol it calls into, and carries no untrusted data (a syscall/FFI shim, a build- or debug-gated tool, a fixed local surface), record the review and leave the code as it is.
  • Medium: allow-privilege-escalation-no-securitycontext aks-hrm/HRM.API/deployment/pod-aks.yml:11 — In Kubernetes, each pod runs in its own isolated environment with its own set of security policies. However, certain container images may contain `setuid` or `setgid` binaries that could allow an attacker to perform privilege escalation and gain access to sensitive resources. To mitigate this risk, it's recommended to add a `securityContext` to the container in the pod, with the parameter `allowPrivilegeEscalation` set to `false`. This will prevent the container from running any privileged processes and limit the impact of any potential attacks. By adding a `securityContext` to your Kubernetes pod, you can help to ensure that your containerized applications are more secure and less vulnerable to privilege escalation attacks.
  • Medium: allow-privilege-escalation-no-securitycontext hrm/HRM/HRM.API/Deploy/k8s/pod.yml:10 — In Kubernetes, each pod runs in its own isolated environment with its own set of security policies. However, certain container images may contain `setuid` or `setgid` binaries that could allow an attacker to perform privilege escalation and gain access to sensitive resources. To mitigate this risk, it's recommended to add a `securityContext` to the container in the pod, with the parameter `allowPrivilegeEscalation` set to `false`. This will prevent the container from running any privileged processes and limit the impact of any potential attacks. By adding a `securityContext` to your Kubernetes pod, you can help to ensure that your containerized applications are more secure and less vulnerable to privilege escalation attacks.
  • Medium: allow-privilege-escalation-no-securitycontext kubernetes-demo/KubernetesDemo/Catalog.API/deploy/k8s/pod.yml:10 — In Kubernetes, each pod runs in its own isolated environment with its own set of security policies. However, certain container images may contain `setuid` or `setgid` binaries that could allow an attacker to perform privilege escalation and gain access to sensitive resources. To mitigate this risk, it's recommended to add a `securityContext` to the container in the pod, with the parameter `allowPrivilegeEscalation` set to `false`. This will prevent the container from running any privileged processes and limit the impact of any potential attacks. By adding a `securityContext` to your Kubernetes pod, you can help to ensure that your containerized applications are more secure and less vulnerable to privilege escalation attacks.
  • Medium: allow-privilege-escalation-no-securitycontext service-mesh/Istio/elasticsearch.yaml:45 — In Kubernetes, each pod runs in its own isolated environment with its own set of security policies. However, certain container images may contain `setuid` or `setgid` binaries that could allow an attacker to perform privilege escalation and gain access to sensitive resources. To mitigate this risk, it's recommended to add a `securityContext` to the container in the pod, with the parameter `allowPrivilegeEscalation` set to `false`. This will prevent the container from running any privileged processes and limit the impact of any potential attacks. By adding a `securityContext` to your Kubernetes pod, you can help to ensure that your containerized applications are more secure and less vulnerable to privilege escalation attacks.
  • Medium: allow-privilege-escalation-no-securitycontext service-mesh/Istio/fluentd.yaml:83 — In Kubernetes, each pod runs in its own isolated environment with its own set of security policies. However, certain container images may contain `setuid` or `setgid` binaries that could allow an attacker to perform privilege escalation and gain access to sensitive resources. To mitigate this risk, it's recommended to add a `securityContext` to the container in the pod, with the parameter `allowPrivilegeEscalation` set to `false`. This will prevent the container from running any privileged processes and limit the impact of any potential attacks. By adding a `securityContext` to your Kubernetes pod, you can help to ensure that your containerized applications are more secure and less vulnerable to privilege escalation attacks.
  • Medium: allow-privilege-escalation-no-securitycontext service-mesh/Istio/kibana.yaml:38 — In Kubernetes, each pod runs in its own isolated environment with its own set of security policies. However, certain container images may contain `setuid` or `setgid` binaries that could allow an attacker to perform privilege escalation and gain access to sensitive resources. To mitigate this risk, it's recommended to add a `securityContext` to the container in the pod, with the parameter `allowPrivilegeEscalation` set to `false`. This will prevent the container from running any privileged processes and limit the impact of any potential attacks. By adding a `securityContext` to your Kubernetes pod, you can help to ensure that your containerized applications are more secure and less vulnerable to privilege escalation attacks.
  • Medium: allow-privilege-escalation-no-securitycontext service-mesh/ServiceMesh/BFF.Web/Deploy/k8s/deployment.yml:15 — In Kubernetes, each pod runs in its own isolated environment with its own set of security policies. However, certain container images may contain `setuid` or `setgid` binaries that could allow an attacker to perform privilege escalation and gain access to sensitive resources. To mitigate this risk, it's recommended to add a `securityContext` to the container in the pod, with the parameter `allowPrivilegeEscalation` set to `false`. This will prevent the container from running any privileged processes and limit the impact of any potential attacks. By adding a `securityContext` to your Kubernetes pod, you can help to ensure that your containerized applications are more secure and less vulnerable to privilege escalation attacks.
  • Medium: allow-privilege-escalation-no-securitycontext service-mesh/ServiceMesh/Catalog.API/Deploy/k8s/deployment.yml:16 — In Kubernetes, each pod runs in its own isolated environment with its own set of security policies. However, certain container images may contain `setuid` or `setgid` binaries that could allow an attacker to perform privilege escalation and gain access to sensitive resources. To mitigate this risk, it's recommended to add a `securityContext` to the container in the pod, with the parameter `allowPrivilegeEscalation` set to `false`. This will prevent the container from running any privileged processes and limit the impact of any potential attacks. By adding a `securityContext` to your Kubernetes pod, you can help to ensure that your containerized applications are more secure and less vulnerable to privilege escalation attacks.
  • Medium: allow-privilege-escalation-no-securitycontext service-mesh/ServiceMesh/Location.API/Deploy/k8s/deployment.yml:15 — In Kubernetes, each pod runs in its own isolated environment with its own set of security policies. However, certain container images may contain `setuid` or `setgid` binaries that could allow an attacker to perform privilege escalation and gain access to sensitive resources. To mitigate this risk, it's recommended to add a `securityContext` to the container in the pod, with the parameter `allowPrivilegeEscalation` set to `false`. This will prevent the container from running any privileged processes and limit the impact of any potential attacks. By adding a `securityContext` to your Kubernetes pod, you can help to ensure that your containerized applications are more secure and less vulnerable to privilege escalation attacks.
  • Medium: allow-privilege-escalation-no-securitycontext service-mesh/ServiceMesh/Ordering.API/Deploy/k8s/deployment.yml:15 — In Kubernetes, each pod runs in its own isolated environment with its own set of security policies. However, certain container images may contain `setuid` or `setgid` binaries that could allow an attacker to perform privilege escalation and gain access to sensitive resources. To mitigate this risk, it's recommended to add a `securityContext` to the container in the pod, with the parameter `allowPrivilegeEscalation` set to `false`. This will prevent the container from running any privileged processes and limit the impact of any potential attacks. By adding a `securityContext` to your Kubernetes pod, you can help to ensure that your containerized applications are more secure and less vulnerable to privilege escalation attacks.
D30 · Dependency Vulnerabilities · Medium CVE · ×4
  • Medium CVE: Microsoft.IdentityModel.JsonWebTokens 6.24.0 — Microsoft.IdentityModel.JsonWebTokens 6.24.0 (transitive) has a Medium advisory; affects 3 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
  • Medium CVE: Swashbuckle.AspNetCore.SwaggerUI 6.2.3 — Swashbuckle.AspNetCore.SwaggerUI 6.2.3 (transitive) has a Medium advisory. https://github.com/advisories/[GHSA redacted]
  • Medium CVE: System.IdentityModel.Tokens.Jwt 6.24.0 — System.IdentityModel.Tokens.Jwt 6.24.0 (transitive) has a Medium advisory; affects 3 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
  • Medium CVE: System.Security.Cryptography.Xml 4.5.0 — System.Security.Cryptography.Xml 4.5.0 (transitive) has a Medium advisory; affects 2 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
D16 · Bus Factor · single-maintainer · ×1
  • single-maintainer — knowledge-concentration (bus factor) risk — single-maintainer — knowledge-concentration (bus factor) risk (1 author(s) across 186 commit(s) sampled).
D18 · Solution Shape · Monorepo · ×1
  • Monorepo: only 1 of 51 solutions was scored — This repository contains 51 .NET solutions, but a scan analyzes ONE. Every score, lens, and finding here reflects only `MultiTenant/MultiTenant.sln` — the other 50 (`AuditLogEFPlus/EFPlusAuditLog.sln`, `AuditLogRawSQL/AuditTrail.sln`, `CacheRefreshFunction/CacheRefreshFunction.sln`, `CleanArchitectureDemo/Ecommerce/Ecommerce.sln`, `CleanArchitectureTemplate/CleanArchitecture/CleanArchTemplate.sln`, `ConcurrencyAppToken/ConcurrencyHandling.sln`, +44 more) were not analyzed and are not represented in the headline. To cover them, scan each solution as its own target and group them in a Solution or Product for a portfolio roll-up. If a secondary solution is an archived or vendored tree, declare it — `.gitattributes` (`path/** linguist-vendored`) or `.editorconfig` (`[path/**] generated_code = true`) — to exclude it from discovery the same way generated code is.
D18 · Solution Shape · Analyzed solution does not cover the bulk of the repository · ×1
  • Analyzed solution does not cover the bulk of the repository — The scored solution `MultiTenant/MultiTenant.sln` is not representative of this repository — it references only 130 of 910 discovered C# files (14 %). Lenses that need the product's source (domain modelling, event-driven, event sourcing) abstain because the aggregates, EF configs, and domain events under the product tree were not loaded. Point the scan at the product solution (or scan its directory directly) so the whole codebase is analyzed, not a build-tooling sub-solution.
D19 · Documentation Quality · LLM evaluation failed · ×1
  • LLM evaluation failed — JSON parse error: Expected end of string, but instead reached end of data. Path: $.findings[0].suggestion | LineNumber: 0 | BytePositionInLine: 1129.
D5 · Coupling · Off the main sequence · ×1
  • Off the main sequence: MTShop.Core — MTShop.Core: abstractness 0.11, instability 0.00, distance 0.89 — zone of pain — concrete and depended on by 3 project(s), so it's rigid to change.
Recommendation — 8 finding(s)
D11 · Test Reliability · Test reliability not included · ×1
  • Test reliability not included — Test source is present (.js) but the built-in reliability runner does not support this repository's ecosystem, so flakiness couldn't be assessed. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
D15 · Churn × Complexity Hotspots · complexity unreadable for .cs, .java · ×1
  • complexity unreadable for .cs, .java — churn × complexity hotspots could not be measured — A hotspot is churn × complexity. Churn was measured (0 line(s) across the 90-day window), but no complexity could be computed for .cs, .java, which is most of this repository's production code — so every churned file would score as complexity 0 and the hotspot list would be empty no matter how tangled the code is. Not scored — this is a gap in the analysis run, not a finding about this repository.
D21 · Naming Consistency · Two distinct service interfaces are used for identity management · ×1
  • Two distinct service interfaces are used for identity management: `IIdentityService` and `IAdminIdentityService`. While they may have different scopes (general vs admin), the naming suggests a potential confusion or overlap in responsibilities regarding user and role management. — Clarify the boundary between `IIdentityService` and `IAdminIdentityService`. If `IAdminIdentityService` is a specialized version, consider a naming convention that reflects this specialization (e.g., `IAdminIdentityService` vs `IUserIdentityService`) or ensure the distinction is architecturally clear. (symbols: MTShop.Application.Interfaces.IIdentityService, MTShop.Application.Interfaces.Admin.IAdminIdentityService)
D21 · Naming Consistency · Repository interfaces follow a consistent `I{Name}Repository` pattern, but the implementation classes use mixed naming · ×1
  • Repository interfaces follow a consistent `I{Name}Repository` pattern, but the implementation classes use mixed naming: `CustomerRepository`, `ProductRepository`, and `ManageTenantRepository`. The 'Manage' prefix in `ManageTenantRepository` breaks the direct noun-based naming convention seen in others. — Rename `ManageTenantRepository` to `TenantRepository` to align with the `CustomerRepository` and `ProductRepository` naming convention. (symbols: MTShop.Application.Interfaces.Repositories.ICustomerRepository, MTShop.Application.Interfaces.Repositories.IProductRepository, MTShop.Application.Interfaces.Repositories.IManageTenantRepository)
D21 · Naming Consistency · DTOs are consistently named with the `DTO` suffix (e.g., `UserDTO`), but `AuthResponseDTO` uses a different pattern (`ResponseDTO` suffix). This is a minor inconsistency in suffix usage. · ×1
  • DTOs are consistently named with the `DTO` suffix (e.g., `UserDTO`), but `AuthResponseDTO` uses a different pattern (`ResponseDTO` suffix). This is a minor inconsistency in suffix usage. — Rename `AuthResponseDTO` to `AuthResponseDto` or `AuthResponseDTO` to match the existing `DTO` suffix convention. (symbols: MTShop.Application.DTOs.UserDTO, MTShop.Application.DTOs.ProductDTO, MTShop.Application.DTOs.TenantDTO, MTShop.Application.DTOs.AuthResponseDTO)
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.)
D40 · Network Egress Confinement · No network policy · ×1
  • No network policy — No Kubernetes NetworkPolicy (or Cilium policy) found. Without one, every pod can talk to every other pod and reach out to the internet by default. Add a default-deny policy and open only the flows you need.
D41 · Kernel & Syscall Confinement · No AppArmor/SELinux confinement · ×1
  • No AppArmor/SELinux confinement — Workloads declare no AppArmor or SELinux profile. A mandatory-access-control profile confines what a compromised container can touch on the host, complementing seccomp's syscall filter.
Info — 2 finding(s)
D22 · Internal API Consistency · No exposed public API · ×1
  • No exposed public API — No intentionally-exposed types (IsPackable or .Contracts) to evaluate.
D9 · Test Distribution · Tests co-located / outside the solution · ×1
  • Tests co-located / outside the solution — 33 test method(s) were found on disk (co-located in feature projects, or outside the analyzed solution) rather than in dedicated test projects, so the unit/integration/E2E pyramid can't be classified — they're counted as one undifferentiated suite.

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)gitleaksgitleaks detect --no-banner --report-format json --report-path /dev/stdout --exit-code 0 --source .20artifacts/raw/gitleaks-history.json
D29 · Static Analysis (SAST)semgrepsemgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --json --quiet --timeout 0 --metrics off .12artifacts/raw/semgrep.json
D30 · Dependency Vulnerabilitiesdotnetdotnet list MultiTenant/MultiTenant.sln package --vulnerable --include-transitive --format json8artifacts/raw/dotnet-vulnerable.json
D31 · IaC & Container Securitytrivytrivy config --format json --quiet .180artifacts/raw/trivy-config.json
D32 · Data Compliance (PII/GDPR)semgrepsemgrep: not applicable — No PII/GDPR-handling patterns detected (p/gdpr ruleset) — no data-compliance surface to assess.0
D33 · JS/npm Dependency Vulnerabilitiestrivytrivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update0
D36 · Supply-chain Provenance & Signingprovenanceprovenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .gitlab-ci.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, Jenkinsfile, .circleci); there is no build to attest provenance for.0
D37 · Vulnerability-disclosure Policydisclosuredisclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .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-scannerosv-scanner --format json --recursive .134artifacts/raw/osv-scanner.json
D42 · Runtime Threat Enforcementruntime-hardeningruntime-hardening: not applicable — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess.0

Run 019fc8ab-4441-723c-81e7-87bc20f7afbf · 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 — 20 field(s) across 4 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 — 10 field(s)
  • CustomerCreatedCommand.Email MultiTenant/MTShop.Application/Commands/Customer/CustomerCreatedCommand.cs:14
  • UserCreateCommand.Email MultiTenant/MTShop.Application/Commands/User/UserCreateCommand.cs:13
  • UserUpdateCommand.Email MultiTenant/MTShop.Application/Commands/User/UserUpdateCommand.cs:13
  • Users.Email MultiTenant/MTShop.Application/Common/Models/UserConfiguration.cs:24
  • UserClaims.Email MultiTenant/MTShop.Application/Common/Models/UserConfiguration.cs:33
  • CustomerDTO.Email MultiTenant/MTShop.Application/DTOs/CustomerDTO.cs:9
  • UserDTO.Email MultiTenant/MTShop.Application/DTOs/UserDTO.cs:8
  • UserDTO.EmailConfirmed MultiTenant/MTShop.Application/DTOs/UserDTO.cs:9
  • UserResponseDTO.Email MultiTenant/MTShop.Application/DTOs/UserResponseDTO.cs:6
  • Customer.Email MultiTenant/MTShop.Core/Entities/Customer.cs:11
Phone — 4 field(s)
  • UserCreateCommand.PhoneNumber MultiTenant/MTShop.Application/Commands/User/UserCreateCommand.cs:14
  • UserUpdateCommand.PhoneNumber MultiTenant/MTShop.Application/Commands/User/UserUpdateCommand.cs:14
  • UserDTO.PhoneNumber MultiTenant/MTShop.Application/DTOs/UserDTO.cs:10
  • UserDTO.PhoneNumberConfirmed MultiTenant/MTShop.Application/DTOs/UserDTO.cs:11
Date of birth — 3 field(s)
  • CustomerCreatedCommand.DateOfBirth MultiTenant/MTShop.Application/Commands/Customer/CustomerCreatedCommand.cs:15
  • CustomerDTO.DateOfBirth MultiTenant/MTShop.Application/DTOs/CustomerDTO.cs:10
  • Customer.DateOfBirth MultiTenant/MTShop.Core/Entities/Customer.cs:12
Name — 3 field(s)
  • CustomerCreatedCommand.FullName MultiTenant/MTShop.Application/Commands/Customer/CustomerCreatedCommand.cs:11
  • CustomerDTO.FullName MultiTenant/MTShop.Application/DTOs/CustomerDTO.cs:6
  • Customer.FullName MultiTenant/MTShop.Core/Entities/Customer.cs:8

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⬇ Health changelog .md