Executive summary
Read through the Production lens — the standard calibration. *Green* means good enough to run in production. The score is absolute and comparable across repos.
abdalkreembzoor/Travel-and-Accommodation-Booking-Platform carries serious risk (53%). Several issues below can materially affect reliability, security, or the cost of change and warrant near-term attention.
It is strongest in Event-Driven (88%) — its messaging keeps components properly decoupled. Architecture (80%) is solid too.
The area that most needs attention is Maturity (44%) — onboarding is slow — key decisions and the architecture aren't written down, so contributors have to reverse-engineer the intent. Readiness (45%) is the next concern — operating, monitoring and recovering the system safely is harder.
Leadership focus, highest impact first: 1 No ADRs found finding(s) in ADR Quality (ADR Quality); Start an ADR log (docs/adr/) recording significant decisions… (Architecture documentation); Group production code under src/ (or split deliberately (Folder & project structure).
For scale: Small (~13,770 production lines); rebuilding it from scratch would take roughly ~0.1 person-years (~1 engineer). Approximate, ±~30%.
It builds on a genuinely strong Event-Driven foundation (88%); the priorities above are the highest-leverage way to bring the rest up to that level.
Raise Maturity 44 → 70 (the Healthy floor) ⇒ headline 53 → ~59.
Rebuild cost & value ~ Modeled — €5,200–€26,000
| Cost to rebuild | €5,200–€26,000 |
| Domain complexity | High |
| Quality factor | 0.7× (at 53% quality) |
| Size & shape | Small · 51% boilerplate · 41% straight-line · 8% branching logic |
This codebase represents roughly ~0.1 person-years of build effort (about ~€15,000 to rebuild). Its weakest lens is Maturity at 44% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency graph
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Event-Driven
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A06:2021 — Vulnerable & Outdated Components | 4 | High / Critical |
| A02:2021 — Cryptographic Failures | 2 | High / Critical |
Roadmap
Top priorities: Resolve the 1 No ADRs found finding(s) in ADR Quality; Start an ADR log (docs/adr/) recording significant decisions and their rationale; Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +8.4 pts | Low | ADR Quality |
| Resolve the 4 Vulnerable finding(s) in Dependency Hygiene. | +7.5 pts | Low | Dependency Hygiene |
| Resolve the 3 Deprecated finding(s) in Dependency Hygiene. | +7.0 pts | Low | Dependency Hygiene |
| Start an ADR log (docs/adr/) recording significant decisions and their rationale. | +8.4 pts | Medium | Architecture documentation |
| Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root. | +8.0 pts | Medium | Folder & project structure |
| Extend structured logging to the remaining service-like projects so the whole executable surface is diagnosable in production. | +7.6 pts | Medium | Observability |
| Make retry-prone mutations idempotent — guard each write with an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write, so a re-run doesn't double-apply. | +7.6 pts | Medium | Idempotency |
| Add a build/run (quick start) section to the root README — the first thing a newcomer needs. | +6.7 pts | Medium | Documentation (README) |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| TABP.Infrastructure/Repositories/CountryRepository.cs | 7.2 | Mixed | Change Coupling: Change coupling: CountryRepository.cs ↔ RoomRepository.cs |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| TABP.Infrastructure/Repositories/CityRepository.cs | 7.4 | Mixed | Change Coupling: Change coupling: CityRepository.cs ↔ CountryRepository.cs |
| TABP.Infrastructure/Repositories/RoleRepository.cs | 7.8 | Mixed | Change Coupling: Change coupling: RoleRepository.cs ↔ RoomCategoryRepository.cs |
| TABP.Api/Validators/RoomsCategories/RoomCategoryUpdateDtoValidator.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (15 lines × 2) |
| TABP.Api/Validators/Bookings/BookingRequestDtoValidator.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (10 lines × 2) |
| TABP.Api/Validators/Countries/CountryRequestDtoValidator.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (9 lines × 11) |
| TABP.Infrastructure/Repositories/HotelRepository.cs | 8.5 | Near-clean | Change Coupling: Change coupling: HotelRepository.cs ↔ RoleRepository.cs |
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. 56 of 56 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); none rely on LLM judgement. 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.
What we checked — 56 dimensions across the health lenses
- 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, 32 of 129 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- 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.
- 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.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| jscpd | Code duplication | — | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.301 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.301 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | — | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D31 IaC & Container Security — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
- D32 Data Compliance (PII/GDPR) — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
- D33 JS/npm Dependency Vulnerabilities — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
- D36 Supply-chain Provenance & Signing — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
- D37 Vulnerability-disclosure Policy — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
- D38 OSV Dependency Vulnerabilities — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
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
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity (jscpd) — it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (EF migration scaffolds, *.Designer.cs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only; the generated footprint is reported separately under Solution Shape.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (EF migrations, designer files, snapshots) is excluded — it is never the team's dead code to delete.
- D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment — a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- 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.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- ED5 Idempotency: Idempotency is judged from the handler body's visible writes and guards — a guard enforced by a database unique constraint, a broker's exactly-once delivery, or a domain method whose no-op-when-applied logic the scan can't follow may read as at-risk; the at-risk candidates are confirmed by a SAMPLED LLM verdict (advisory, not exhaustive) and degrade to heuristic-only when no model is configured. It flags the at-least-once double-apply SHAPE, not a runtime proof of a duplicate effect.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
3 duplicated block group(s) detected.
D5 · Coupling
5 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
D6 · Cohesion (LCOM4)
0 of 37 classes have LCOM4 above 3.
D9 · Test Distribution
11 test methods: 11 unit, 0 integration, 0 BDD, 0 e2e.
D10 · Test Quality
0 skipped, 0 zero-assertion, 1 mock references across 11 tests.
D11 · Test Reliability
0 flaky across 1 measured tier(s). unit: measured (0 flaky).
D12 · Dependency Hygiene
39 outdated, 4 vulnerable, 3 deprecated packages.
What to do
- Resolve the 4 Vulnerable finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 3 Deprecated finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (3 warning-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · REDACTED Scanning
REDACTED scan ran and found no leaked secrets.
D14 · License Compliance
0 of 38 packages use a banned license.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D16 · Bus Factor
25 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is TABP.Api/Extensions/MappingExtension.cs, held by abdalkreembzoor@gmail.com.
What to do
- Resolve the 1 Small-team knowledge concentration finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
D17 · Explicit Debt
0 deducted debt markers + 1 dead symbols across 12503 LoC (0.0/KLoC) → score 10.0.
D18 · Solution Shape
5 projects, 525 .cs files, 12794 hand-written lines of code (12503 production / 291 test), plus 5505 generated (EF migrations / designer / snapshots, excluded from quality), 9 inter-project edges.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D26 · Project Cohesion
2 of 5 projects flagged as possibly oversized/incoherent.
What to do
- Resolve the 2 Large project finding(s) in Project Cohesion. — One of this dimension's main actionable groups (2 recommendation-level).
D27 · Navigability
97 % of calls cross a namespace and 6 % go through an interface, but 100 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: medium — clean/modular boundaries expected.
D28 · Secrets (history)
1 finding(s): 0 critical, 1 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
D29 · Static Analysis (SAST)
semgrep found no security issues.
D30 · Dependency Vulnerabilities
4 vulnerable package(s): 0 critical, 2 high, 2 medium, 0 low.
What to do
- Resolve the 2 High CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 2 Medium CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (2 warning-level).
D34 · Knowledge Freshness
13 of 37 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is TABP.Api/Extensions/MappingExtension.cs.
What to do
- Resolve the 13 Orphaned knowledge finding(s) in Knowledge Freshness — start with BookingConfiguration.cs, CreateBookingCommandHandler.cs, DiscountProfile.cs. — One of this dimension's main actionable groups (13 warning-level).
D35 · Change Coupling
Strongest change-coupling: CityRepository.cs↔CountryRepository.cs 80%; RoleRepository.cs↔RoomCategoryRepository.cs 70%; HotelRepository.cs↔RoleRepository.cs 70%
D39 · IL Efficiency
59 of 4483 methods have an oversized IL body.
Frontend & cross-cutting dimensions
AX1 · Captive dependencies
AX10 · Code composition
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).
AX2 · Stateful singletons
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
AX7 · Slice cohesion
AX8 · Test isolation
AX9 · CQS / query purity
C1 · Data Protection
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 Controls
ED1 · Handler temporal coupling
ED2 · Event/command shape
ED4 · Outbox / dual-write
- `CreateBookingCommandHandler.Handle` writes to the database AND publishes to the message bus in the same flow, with no outbox referenced in this path. These two writes aren't atomic — a crash between them either loses the message (DB committed, publish failed) or emits a phantom event (publish succeeded, DB rolled back). Use the transactional outbox pattern (e.g. MassTransit's EF/Marten outbox) so the message is committed in the same transaction as the state change and dispatched afterwards. — CreateBookingCommandHandler.cs:53
What to do
- Adopt the transactional outbox pattern so DB writes and message publishes commit atomically — no lost or phantom events on a crash.
ED5 · Idempotency
- `Create.CreateAmenityCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — CreateAmenityCommandHandler.cs:24
- `Delete.DeleteAmenityCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — DeleteAmenityCommandHandler.cs:26
- `Update.UpdateAmenityCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — UpdateAmenityCommandHandler.cs:23
- `Create.CreateBookingCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — CreateBookingCommandHandler.cs:53
- `Delete.DeleteBookingCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — DeleteBookingCommandHandler.cs:27
- `Create.CreateCountryCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — CreateCountryCommandHandler.cs:24
- `Update.UpdateCountryCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — UpdateCountryCommandHandler.cs:23
- `Create.CreateDiscountCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — CreateDiscountCommandHandler.cs:27
- `Delete.DeleteDiscountCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — DeleteDiscountCommandHandler.cs:21
- `Create.CreateHotelCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — CreateHotelCommandHandler.cs:27
- `Create.CreateOwnerCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — CreateOwnerCommandHandler.cs:30
- `Delete.DeleteOwnerCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — DeleteOwnerCommandHandler.cs:21
- `Update.UpdateOwnerCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — UpdateOwnerCommandHandler.cs:30
- `Create.CreatePaymentCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — CreatePaymentCommandHandler.cs:31
- `Delete.DeletePaymentCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — DeletePaymentCommandHandler.cs:25
- `Update.UpdatePaymentCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — UpdatePaymentCommandHandler.cs:31
- `Create.CreateReviewCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — CreateReviewCommandHandler.cs:34
- `Delete.DeleteReviewCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — DeleteReviewCommandHandler.cs:21
- `Update.UpdateReviewCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — UpdateReviewCommandHandler.cs:30
- `Create.CreateRoleCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — CreateRoleCommandHandler.cs:24
- `Update.UpdateRoleCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — UpdateRoleCommandHandler.cs:24
- `Create.CreateRoomCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — CreateRoomCommandHandler.cs:30
- `Update.UpdateRoomCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — UpdateRoomCommandHandler.cs:30
- `Create.CreateRoomCategoryCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — CreateRoomCategoryCommandHandler.cs:24
- `Update.UpdateRoomCategoryCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — UpdateRoomCategoryCommandHandler.cs:24
- `Create.CreateUserCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — CreateUserCommandHandler.cs:31
- `Register.RegisterGuestCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — RegisterGuestCommandHandler.cs:37
- `Update.UpdateUserCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — UpdateUserCommandHandler.cs:30
- `Update.UpdateBookingCommandHandler.Handle` mutates persistent state (a database save) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it — confirm it's safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. (Configure an LLM to auto-classify this.) — UpdateBookingCommandHandler.cs:37
What to do
- Make retry-prone mutations idempotent — guard each write with an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write, so a re-run doesn't double-apply.
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Add a README to the 5 of 5 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — decisions aren't captured for future maintainers.
- No C4/PlantUML/Mermaid diagram or architecture.md — the high-level shape isn't documented.
What to do
- Start an ADR log (docs/adr/) recording significant decisions and their rationale.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
- Projects aren't grouped under a src/ folder — production and tooling code are mixed at the root.
- Test projects aren't grouped under a tests/ folder — the test surface isn't separable from production code at a glance.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
- Group test projects under tests/ (or test/, spec/) so the test surface is discoverable and CI can scope it.
P1 · CI/CD gates
P2 · Observability
- Only 1/4 service-like projects use logging (pure contract/DTO projects are excluded — they have nothing to log).
What to do
- Extend structured logging to the remaining service-like projects so the whole executable surface is diagnosable in production.
- Consider OpenTelemetry tracing/metrics and a health-check endpoint for operability.
P3 · Security & performance tooling
- No static application security testing (CodeQL / security analyzers / codehealth) detected.
What to do
- Add a SAST step (e.g. CodeQL) or a security analyzer package.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P8 · Schema migrations
S1 · Web-Security Posture
- No Content-Security-Policy / X-Frame-Options / X-Content-Type-Options configuration found — defense in depth, even when a reverse proxy could set them. (−2.0 on this card.)
- No CookieSecurePolicy/HttpOnly/SameSite configuration found. (−1.5 on this card; skip if the app sets no cookies.)
What to do
- Add security response headers (Content-Security-Policy, X-Frame-Options, X-Content-Type-Options) — defense in depth, even when a reverse proxy could set them.
- Set secure cookie flags — CookieSecurePolicy.Always, HttpOnly, and SameSite (Strict/Lax) on auth/session cookies. Skip only if the app sets no cookies.
X1 · Async correctness
- Blocking on a Task with `.Wait()`/`.GetAwaiter().GetResult()` can deadlock (and wastes a thread). Make the caller `async` and `await` instead. (×9) — RabbitMQEmailConsumer.cs:33, RabbitMQEmailConsumer.cs:35, RabbitMQEmailConsumer.cs:36, …
What to do
- Sync-over-async (deadlock risk)
X2 · Cancellation propagation
- Only 269/276 async methods accept a CancellationToken, so requests can't be cancelled cleanly under load or on client disconnect. In Blazor Server circuits and other short-write hosts, omitting it can be an accepted convention — judge against your hosting model.
- No CancellationToken parameter — work can't be cancelled cleanly on disconnect/shutdown. (×7) — RabbitMQEmailConsumer.cs:39, RabbitMQEmailConsumer.cs:53, RabbitMQEmailPublisher.cs:34, …
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
X3 · Exception handling
X4 · Structured logging
- Logging an interpolated string (`$"..."`) collapses the event to plain text — you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: `LogInformation("User {UserId} did {Action}", id, action)`. — ActivityLogFilter.cs:42
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
- ~1.4 `!` suppressions per 1k syntax nodes — each one tells the compiler to trust you about null, suppressing the very safety NRTs provide.
What to do
- Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 76% | Strong | Solid. |
| Architecture | 80% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 44% | Weak — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 45% | Weak — gated by D12, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 67% | Adequate | Acceptable, with room to improve. |
| Event-Driven | 88% | Strong | Strongest area. |
Not included — 41 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AXB2 Runtime readiness — no data
- C3 Audit Trail — Repo shows no audit-logging mechanism (IAuditable, an immutable audit log, an EF SaveChanges interceptor) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
- 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.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- D19 Documentation Quality — LLM dimension skipped
- D21 Naming Consistency — LLM dimension skipped
- D22 Internal API Consistency — LLM dimension skipped
- D23 Boundary Type-Coupling — small single-context codebase (12,503 production LoC) — bounded contexts are not needed at this size
- D24 Comment Value — LLM dimension skipped
- D25 ADR Conformance — no ADRs to check
- D31 IaC & Container Security — REDACTED
- D32 Data Compliance (PII/GDPR) — REDACTED
- D33 JS/npm Dependency Vulnerabilities — REDACTED
- D36 Supply-chain Provenance & Signing — REDACTED
- D37 Vulnerability-disclosure Policy — REDACTED
- D38 OSV Dependency Vulnerabilities — REDACTED
- D7 Architectural Integrity — No checkable ADRs to assess
- D8 Code Coverage — Coverage not measured
- DM1 Domain Modelling — not run — only 1/3 markers (a Domain/Aggregates/ValueObjects layer)
- ED3 Event naming — no domain or integration events detected — event-naming check not applicable
- ES1 Event Sourcing — not run — 0/3 markers found
- M4 Documentation accuracy — LLM not available — accuracy is the Tier-2 layer and needs a reachable model.
- P12 CI test-gate honesty — no data
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
- P7 Outbound HTTP resilience — no outbound HTTP usage detected
- P9 Domain vs controller coverage — no coverage report found on disk — run tests with `--collect:"XPlat Code Coverage"` (or in CI) to enable this cross-layer check
- 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.
- SC1 Supply-chain hygiene — no data
- X6 Hand-rolled structured-format parsing — no data
- X7 Silent fallback defaults — no data
Appendix A — Findings (grouped)
Issue — 7 finding(s)
- Vulnerable: MailKit
- Vulnerable: MimeKit
- Vulnerable: AutoMapper
- Vulnerable: AutoMapper
- REDACTED
- REDACTED
- REDACTED
Warning — 32 finding(s)
- Orphaned knowledge TABP.Api/Extensions/MappingExtension.cs
- Orphaned knowledge TABP.Application/Features/Bookings/Commands/Create/CreateBookingCommandHandler.cs
- Orphaned knowledge TABP.Infrastructure/Services/ImageService.cs
- Orphaned knowledge TABP.Application/Extentions/FluentValidationExtentions.cs
- Orphaned knowledge TABP.Application/Features/Users/Profile/UserProfile.cs
- Orphaned knowledge TABP.Infrastructure/MessagesBrokers/RabbitMQ/RabbitMQEmailConsumer.cs
- Orphaned knowledge TABP.Application/Features/Hotels/Profile/HotelProfile.cs
- Orphaned knowledge TABP.Application/Features/Rooms/Profile/RoomProfile.cs
- Orphaned knowledge TABP.Application/Features/Discounts/Profile/DiscountProfile.cs
- Orphaned knowledge TABP.Infrastructure/MessagesBrokers/RabbitMQ/RabbitMQEmailPublisher.cs
- Orphaned knowledge TABP.Infrastructure/Configurations/BookingConfiguration.cs
- Orphaned knowledge TABP.Application/Features/Reviews/Profile/ReviewProfile.cs
- Orphaned knowledge TABP.Application/Features/Hotels/Commands/Update/UpdateHotelCommandHandler.cs
- Change coupling: CityRepository.cs ↔ CountryRepository.cs TABP.Infrastructure/Repositories/CityRepository.cs
- Change coupling: RoleRepository.cs ↔ RoomCategoryRepository.cs TABP.Infrastructure/Repositories/RoleRepository.cs
- Change coupling: HotelRepository.cs ↔ RoleRepository.cs TABP.Infrastructure/Repositories/HotelRepository.cs
- Change coupling: CountryRepository.cs ↔ RoomRepository.cs TABP.Infrastructure/Repositories/CountryRepository.cs
- Change coupling: CountryRepository.cs ↔ RoomCategoryRepository.cs TABP.Infrastructure/Repositories/CountryRepository.cs
- Change coupling: CountryRepository.cs ↔ RoleRepository.cs TABP.Infrastructure/Repositories/CountryRepository.cs
- Change coupling: RoleRepository.cs ↔ RoomRepository.cs TABP.Infrastructure/Repositories/RoleRepository.cs
- Change coupling: CityRepository.cs ↔ RoleRepository.cs TABP.Infrastructure/Repositories/CityRepository.cs
- Change coupling: CountryRepository.cs ↔ HotelRepository.cs TABP.Infrastructure/Repositories/CountryRepository.cs
- Change coupling: CityRepository.cs ↔ RoomRepository.cs TABP.Infrastructure/Repositories/CityRepository.cs
- Deprecated: Microsoft.AspNetCore.Http.Features
- Deprecated: FluentValidation.AspNetCore
- Deprecated: xunit
- REDACTED
- REDACTED
- Duplicated block (15 lines × 2) TABP.Api/Validators/RoomsCategories/RoomCategoryUpdateDtoValidator.cs:10
- Duplicated block (10 lines × 2) TABP.Api/Validators/Bookings/BookingRequestDtoValidator.cs:11
- Duplicated block (9 lines × 11) TABP.Api/Validators/Countries/CountryRequestDtoValidator.cs:9
- Coverage not measured
Recommendation — 39 finding(s)
- Oversized method: TABP.Application.Features.Users.Profile.UserProfile..ctor
- Oversized method: TABP.Application.Features.Bookings.Commands.Create.CreateBookingCommandHandler/<Handle>d__12.MoveNext
- Oversized method: TABP.Application.Features.Hotels.Profile.HotelProfile..ctor
- Oversized method: TABP.Application.Features.Rooms.Profile.RoomProfile..ctor
- Oversized method: TABP.Infrastructure.Migrations.InitialMigrationAfterDeletingAllThePrevious.Up
- Oversized method: TABP.Application.Features.Discounts.Profile.DiscountProfile..ctor
- Oversized method: TABP.Application.Features.Hotels.Commands.Update.UpdateHotelCommandHandler/<Handle>d__6.MoveNext
- Oversized method: TABP.Application.Features.Hotels.Commands.Delete.DeleteHotelCommandHandler/<Handle>d__3.MoveNext
- Oversized method: TABP.Infrastructure.Repositories.HotelRepository/<GetFeaturedDeals>d__9.MoveNext
- Oversized method: TABP.Application.Features.Reviews.Profile.ReviewProfile..ctor
- Oversized method: TABP.Application.Features.Owners.Commands.Update.UpdateOwnerCommandHandler/<Handle>d__6.MoveNext
- Oversized method: TABP.Infrastructure.Migrations.AddImageTable.BuildTargetModel
- Oversized method: TABP.Infrastructure.Migrations.AppDbContextModelSnapshot.BuildModel
- Oversized method: TABP.Application.Features.Users.Commands.Delete.DeleteUserCommandHandler/<Handle>d__3.MoveNext
- Oversized method: TABP.Infrastructure.Migrations.AddIndexRoleTableRoleNameColumn.BuildTargetModel
- Oversized method: TABP.Infrastructure.Migrations.AddSeedDataForRolesTable.BuildTargetModel
- Oversized method: TABP.Infrastructure.Migrations.InitialMigrationAfterDeletingAllThePrevious.BuildTargetModel
- Oversized method: TABP.Infrastructure.Migrations.ModifyThePasswordLength.BuildTargetModel
- Oversized method: TABP.Infrastructure.Migrations.ModifyThePasswordLengthToBeMax.BuildTargetModel
- Oversized method: TABP.Infrastructure.Migrations.RemoveCitiesRelationWithUsers.BuildTargetModel
- Large project: TABP.Application
- Large project: TABP.Api
- Small-team knowledge concentration
- Off-boarding risk: abdalkreembzoor@gmail.com
- LLM dimension skipped
- No ADRs found
- LLM dimension skipped
- LLM dimension skipped
- small single-context codebase (12,503 production LoC) — bounded contexts are not needed at this size
- LLM dimension skipped
- no ADRs to check
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No checkable ADRs to assess
Info — 51 finding(s)
- Outdated: CloudinaryDotNet
- Outdated: MailKit
- Outdated: MassTransit
- Outdated: MassTransit.RabbitMQ
- Outdated: Microsoft.AspNetCore.Authentication.JwtBearer
- Outdated: Microsoft.AspNetCore.Identity.EntityFrameworkCore
- Outdated: Microsoft.EntityFrameworkCore
- Outdated: Microsoft.EntityFrameworkCore.Design
- Outdated: Microsoft.EntityFrameworkCore.Relational
- Outdated: Microsoft.EntityFrameworkCore.SqlServer
- Outdated: Microsoft.EntityFrameworkCore.Tools
- Outdated: MimeKit
- Outdated: RabbitMQ.Client
- Outdated: CloudinaryDotNet
- Outdated: Microsoft.AspNetCore.Identity.EntityFrameworkCore
- Outdated: AutoMapper
- Outdated: FluentValidation
- Outdated: MediatR
- Outdated: Microsoft.AspNetCore.Authentication.JwtBearer
- Outdated: Asp.Versioning.Mvc
- Outdated: Asp.Versioning.Mvc.ApiExplorer
- Outdated: AutoMapper
- Outdated: FluentValidation
- Outdated: FluentValidation.AspNetCore
- Outdated: FluentValidation.DependencyInjectionExtensions
- Mock framework: Moq
- Licenses scanned
- TABP.Infrastructure (Production) TABP.Infrastructure/TABP.Infrastructure.csproj
- TABP.Domain (Production) TABP.Domain/TABP.Domain.csproj
- TABP.Application (Production) TABP.Application/TABP.Application.csproj
- TABP.Api (Production) TABP.Api/TABP.Api.csproj
- TABP.Tests (Test) TABP.Tests/TABP.Tests.csproj
- IL measured
- Unit tests
- Integration tests
- BDD tests
- E2E tests
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --report-format json --report-path /dev/stdout --exit-code 0 --source . | 1 | artifacts/raw/gitleaks-history.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config auto --json --quiet --timeout 0 --metrics off . | 0 | — |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list "Travel and Accommodation Booking Platform.sln" package --vulnerable --include-transitive --format json | 4 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No PII/GDPR-handling patterns detected (p/gdpr ruleset) — no data-compliance surface to assess. | 0 | — |
| D33 · JS/npm Dependency Vulnerabilities | trivy | — | trivy: not applicable — No JS/npm manifest or lockfile found outside bin/obj (package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); no JS dependencies to scan. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a NuGet package, a container image, a GitHub release). | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md, .github/SECURITY.md, docs/SECURITY.md, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D38 · OSV Dependency Vulnerabilities | osv-scanner | — | osv-scanner: not applicable — No JS/npm lockfile found outside bin/obj (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); nothing for OSV to scan. | 0 | — |
Appendix C — Personal-data map
Email — 17 field(s)
- LoginRequestDto.Email TABP.Api/DTOs/Authentication/LoginRequestDto.cs:4
- RegisterGuestRequestDto.Email TABP.Api/DTOs/Authentication/RegisterGuestRequestDto.cs:8
- UserCreationDto.Email TABP.Api/DTOs/Users/UserCreationDto.cs:5
- UserRequestDto.Email TABP.Api/DTOs/Users/UserRequestDto.cs:8
- UserResponseDto.Email TABP.Api/DTOs/Users/UserResponseDto.cs:7
- UserUpdateDto.Email TABP.Api/DTOs/Users/UserUpdateDto.cs:7
- CreateUserCommand.Email TABP.Application/Features/Users/Commands/Create/CreateUserCommand.cs:7
- LoginCommand.Email TABP.Application/Features/Users/Commands/Login/LoginCommand.cs:6
- RegisterGuestCommand.Email TABP.Application/Features/Users/Commands/Register/RegisterGuestCommand.cs:8
- UpdateUserCommand.Email TABP.Application/Features/Users/Commands/Update/UpdateUserCommand.cs:8
- UserResponse.Email TABP.Application/Features/Users/Shared/UserResponse.cs:6
- User.Email TABP.Domain/Entities/User.cs:8
- EmailRequest.ToEmails TABP.Domain/Models/EmailRequest.cs:4
- EmailSettings.FromEmail TABP.Domain/Models/EmailSettings.cs:9
- IUserSession.Email TABP.Domain/Services/IUserSession.cs:6
- RabbitMQEmailConsumer._emailService TABP.Infrastructure/MessagesBrokers/RabbitMQ/RabbitMQEmailConsumer.cs:17
- UserSession.Email TABP.Infrastructure/Services/UserSession.cs:29
Phone — 17 field(s)
- HotelCreationDto.Phone TABP.Api/DTOs/Hotels/HotelCreationDto.cs:8
- HotelRequestDto.Phone TABP.Api/DTOs/Hotels/HotelRequestDto.cs:11
- HotelResponseDto.Phone TABP.Api/DTOs/Hotels/HotelResponseDto.cs:10
- HotelUpdateDto.Phone TABP.Api/DTOs/Hotels/HotelUpdateDto.cs:10
- OwnerCreationDto.Phone TABP.Api/DTOs/Owners/OwnerCreationDto.cs:4
- OwnerRequestDto.Phone TABP.Api/DTOs/Owners/OwnerRequestDto.cs:7
- OwnerResponseDto.Phone TABP.Api/DTOs/Owners/OwnerResponseDto.cs:6
- OwnerUpdateDto.Phone TABP.Api/DTOs/Owners/OwnerUpdateDto.cs:6
- ValidationMessages.PhoneNumberIsNotValid TABP.Application/Extentions/FluentValidationExtentions.cs:85
- CreateHotelCommand.Phone TABP.Application/Features/Hotels/Commands/Create/CreateHotelCommand.cs:10
- UpdateHotelCommand.Phone TABP.Application/Features/Hotels/Commands/Update/UpdateHotelCommand.cs:11
- HotelResponse.Phone TABP.Application/Features/Hotels/Shared/HotelResponse.cs:9
- CreateOwnerCommand.Phone TABP.Application/Features/Owners/Commands/Create/CreateOwnerCommand.cs:6
- UpdateOwnerCommand.Phone TABP.Application/Features/Owners/Commands/Update/UpdateOwnerCommand.cs:7
- OwnerResponse.Phone TABP.Application/Features/Owners/Shared/OwnerResponse.cs:5
- Hotel.Phone TABP.Domain/Entities/Hotel.cs:11
- Owner.Phone TABP.Domain/Entities/Owner.cs:5
Date of birth — 10 field(s)
- RegisterGuestRequestDto.DateOfBirth TABP.Api/DTOs/Authentication/RegisterGuestRequestDto.cs:10
- UserCreationDto.DateOfBirth TABP.Api/DTOs/Users/UserCreationDto.cs:7
- UserRequestDto.DateOfBirth TABP.Api/DTOs/Users/UserRequestDto.cs:10
- UserResponseDto.DateOfBirth TABP.Api/DTOs/Users/UserResponseDto.cs:9
- UserUpdateDto.DateOfBirth TABP.Api/DTOs/Users/UserUpdateDto.cs:9
- CreateUserCommand.DateOfBirth TABP.Application/Features/Users/Commands/Create/CreateUserCommand.cs:9
- RegisterGuestCommand.DateOfBirth TABP.Application/Features/Users/Commands/Register/RegisterGuestCommand.cs:10
- UpdateUserCommand.DateOfBirth TABP.Application/Features/Users/Commands/Update/UpdateUserCommand.cs:10
- UserResponse.DateOfBirth TABP.Application/Features/Users/Shared/UserResponse.cs:8
- User.DateOfBirth TABP.Domain/Entities/User.cs:10