• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ilpanich / axiam-typescript-sdk / 30851818101
94%

Build:
DEFAULT BRANCH: main
Ran 03 Aug 2026 08:48PM UTC
Jobs 1
Files 36
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Aug 2026 08:47PM UTC coverage: 95.313% (+0.03%) from 95.28%
30851818101

push

github

web-flow
fix(security): diagnose the slug-vs-UUID tenant comparand (§13.4 observation 6) (#36)

AXIAM access tokens carry the tenant UUID in tenant_id, while this SDK's client
is commonly configured with a tenant slug. A guard handed that slug rejects 100%
of traffic: fail-closed and safe, so not a vulnerability, but it presents as
"every token is invalid" with nothing pointing at the cause.

assertTenantClaim now emits one console.warn naming the real problem. The
diagnostic is deliberately narrow:

- once per process, so a stream of bad tokens cannot turn it into a log flood;
- keyed on the shape of the operator-configured value, never on anything a
  caller supplies, so it is not attacker-triggerable;
- emitted after the rejection is already decided, so the verification outcome
  is byte-for-byte unchanged.

A UUID-vs-UUID mismatch is a genuine cross-tenant rejection and stays silent —
pinned by its own test, alongside one asserting a correctly-configured guard
still accepts and still says nothing.

Also syncs CONTRACT.md §10.1 rule 8 (subject of the decision) from the server.

Gates: 518 tests pass across 53 files, tsc --noEmit clean.


Claude-Session: https://claude.ai/code/session_01SkTHvZQMV47t3UwkEtmB1D

Co-authored-by: Claude <noreply@anthropic.com>

730 of 790 branches covered (92.41%)

Branch coverage included in aggregate %.

1222 of 1258 relevant lines covered (97.14%)

33.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30851818101.1 03 Aug 2026 08:48PM UTC 36
95.31
GitHub Action Run
Source Files on build 30851818101
  • Tree
  • List 36
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30851818101
  • d5240508 on github
  • Prev Build on main (#30829872878)
  • Next Build on main (#30858686698)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc