Skip to content

Security Audit & OWASP Top 10 Mapping ​

OWASP VulnerabilityRisk in Tracing PlatformImplemented Defense
A01: Broken Access ControlUnauthorized access to tenant tracesTenant ID validation middleware (security/tenant.py) and RBAC scope enforcement.
A02: Cryptographic FailuresEavesdropping on trace telemetryMandatory TLS 1.3 in transit; mTLS for inter-service collector communication.
A03: InjectionSQL/NoSQL injection via span tagsParameterized SQLAlchemy queries; strict Pydantic payload validation.
A04: Insecure DesignUnbounded memory consumption by large tracesMaximum span payload limiter (security/payload_limiter.py) capped at 1MB.
A05: Security MisconfigurationLeaked database credentials or keysAll secrets injected via environment variables; none committed to source control.
A06: Vulnerable ComponentsOutdated third-party packagesRegular pip-audit checks in CI/CD pipeline.
A07: Identification / Auth FailuresSpoofed trace ingestionCryptographic API key validation with rate limiting (security/api_key.py).
A08: Software / Data IntegrityTampered span timestamps or trace IDsStrict W3C traceparent 128-bit hex format validation.
A09: Logging & Monitoring FailuresUndetected collector outagesSelf-monitoring Prometheus metrics (/metrics) tracking ingestion rate and drop rate.
A10: Server-Side Request ForgeryMalicious webhook triggers in alert routingOutbound webhook URLs restricted to approved private subnets.

PII Redaction Engine ​

Located in backend/src/security/pii_filter.py:

  • Redacts credit card numbers (Luhn algorithm match).
  • Redacts Social Security Numbers (SSN regex).
  • Redacts JWT tokens and authorization bearer strings in span attributes before persistence.