What it does
with credentials.
How it handles credentials, how it was checked, and how to report a flaw.
- 81
- of 104 ASVS requirements met
- 0
- not met
- 0
- OpenID conformance failures in 2 plans
- 850
- tests run on every change, plus 23 fuzzers
A self-assessment and a test suite, not an external audit or a certification.
Tokens.
Tokens are opaque and carry a checksum, so a secret scanner can detect them. When a scanner reports one, the library revokes it.
- Stored as a hash
- Only a token's SHA-256 is stored, and a token hides itself in logs and errors. Secrets are compared in constant time.
- Revoked as a tree
- A leaked token's session ends with every session delegated from it. Reusing a rotated-out token, after a 10-second grace window, revokes the whole tree.
- Bound to a key
- With DPoP (RFC 9449), an agent's token works only with a fresh proof signed by the agent's private key.
- Named by kind
- A short prefix says what kind of token it is, so a leaked one is easy to recognise.
Sign‑in.
Sign‑in is a passkey with user verification, or an email and a password held to OWASP ASVS 5.0 Level 2, with recovery codes and TOTP as a second factor.
- Fresh for changes
- Adding or removing a factor needs a session that authenticated within 10 minutes.
- Rate limited
- Attempts are limited per client and per identified user. An attacker can slow themselves down but can't lock anyone else out.
- Quiet about accounts
- Error messages never reveal whether an account exists.
- Passwords that can't weaken an account
- Argon2id hashes, a 15-character minimum, 10,000 common passwords refused, and an optional breached-password check. A password never stands in for a passkey or TOTP the account has.
- Logged
- Every change is recorded in the same transaction, in a hash chain that the library can check end to end.
Show 3 more: social login, device-bound sessions, and the logHide
- Social login identities are keyed by the provider's subject, never by email address, and linking needs a signed-in, recently verified person.
- In browsers that support Device Bound Session Credentials, the session is bound to a key in the device's hardware and its cookie lives 10 minutes, so a stolen cookie stops working within minutes.
- The audit log records every session start, delegation, rotation, revocation, agent change, and detected token reuse. Failed sign‑ins, throttled attempts, rejected tokens, and denied requests are recorded too, and bounded so an attacker can't flood the table. Signed checkpoints catch a rebuilt chain.
OWASP ASVS 5.0 self-assessment.
The library is assessed against ASVS 5.0.0. This is a self-assessment, not an audit by a third party, made for v0.1.0 on 14 November 2026 and extended to email and password sign‑in on 27 November 2026. It covers 104 requirements in 4 chapters, and every one has a status.
81 are met, 20 of them with a stated deviation. 16 are left to the application that uses the library, 7 don’t apply, and 0 are not met.
Show all 4 chaptersHide the chapters
| Status | V6 | V7 | V11 | V16 | Total |
|---|---|---|---|---|---|
| Met | 28 | 10 | 13 | 10 | 61 |
| Met with deviation | 7 | 8 | 4 | 1 | 20 |
| Application's responsibility | 8 | 1 | 1 | 6 | 16 |
| Not applicable | 4 | 0 | 3 | 0 | 7 |
| Not met | 0 | 0 | 0 | 0 | 0 |
| Requirements assessed | 47 | 19 | 21 | 17 | 104 |
V6 is Authentication, V7 is Session Management, V11 is Cryptography, and V16 is Security Logging and Error Handling. It covers every requirement in V6 and V7, and the V11 and V16 requirements that apply to a library.
The document gives the evidence for each requirement and the reason for each deviation.
OpenID conformance.
The OpenID Foundation's conformance suite tests the library's OAuth 2 and OpenID Connect provider on every pull request. The run on 14 November 2026 had 0 failures in 2 plans. This is not a certification.
Show the results of the 2 plans, with 5 notesHide the results
| Plan | Passed | Review | Warning | Skipped |
|---|---|---|---|---|
oidcc-basic-certification-test-plan | 24 | 4 | 3 | 4 |
oidcc-config-certification-test-plan | 1 | 0 | 0 | 0 |
- Review means the module passed and saved a screenshot for a person to check.
- The three warnings are expected: tokens from a reused code stay valid, and the provider ignores requests for an authentication level and for specific claims.
- The four skipped modules cover address and phone details and signed request objects, which the provider doesn't support.
- The suite found three defects, which are fixed.
- Certification is submitted from a deployed instance.
The conformance page has each result and how to run the suite.
How the numbers are countedHide how the numbers are counted
The home page gives 850 tests and 23 fuzzers, counted in the library at commit 8d98ba7 by a script in this site’s repository. The script reads that commit’s test files and counts each test function and each fuzz target. CI runs the tests on every change, and its fuzz job runs the fuzz targets.
What it doesn’t have yet.
- No SAML.
- No organizations.
- No external security audit.
The library is pre-1.0. The ASVS assessment on this page is the library’s own.
Report a vulnerability.
Security reports get priority over everything else. Email hello@tensile.tools privately; don't open an issue or a pull request.
- What to send
- Steps to reproduce, and the affected version or commit.
- What to expect
- An acknowledgement within 72 hours. Before 1.0, only the latest commit on the main branch gets fixes.
Show what every change runsHide
Every change to authentication code runs the full test suite, the race detector, the 23 fuzz targets, and Go’s vulnerability check in CI. Dependencies are pinned and updated weekly. The library needs Go 1.26, with stores for PostgreSQL and SQLite, and rate limits in Redis.
The security policy is in the repository.
More about the library
Read how it works for people, agents, approvals, the apps it works with, how it compares, and what’s free.