Infisical/infisical
Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
38d729f ↗TypeScript★ 31,108 (+102 today)lists: all, typescriptvitest-dedup 0.11.0
- Tests analyzed
- 8,858
- in 1,012 files
- Compared
- 82.9%
- 1,513 tests could not be compared
- Findings
- 234
- 234 warnings
- Exact duplicates
- 0
- error severity
Top candidates
The largest findings, linked to the analyzed commit. Review them before changing any test: identical bodies can still run under different setups the analyzer does not model.
- Near-duplicate testwarning
2 tests execute the same behavior events with at least one different ordering under an equivalent context; if the reordered statements are independent this may be redundant coverage, but equivalence is not proven, so the likely remedy is to.
agent vault variable references > finding references > ignores text without braces
backend/src/ee/services/agent-vault/agent-vault-variable-fns.test.ts:41–44 ↗agent vault variable references > finding references > does not count a lone brace pair as a reference
backend/src/ee/services/agent-vault/agent-vault-variable-fns.test.ts:58–61 ↗
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
secretServiceFactory reference limit on update > accepts an update that resends a value stored over the limit unchanged
backend/src/services/secret/secret-service.test.ts:122–125 ↗secretServiceFactory reference limit on update > accepts an update that removes references from a value stored over the limit
backend/src/services/secret/secret-service.test.ts:127–130 ↗
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
createServiceToken authorization > scope widening (boundary check) > caller with $eq:'/apps/foo' cannot mint token with secretPath='/apps/**' (eq → glob)
backend/src/services/service-token/service-token-service.test.ts:311–325 ↗createServiceToken authorization > scope widening (boundary check) > caller with $glob:'/apps/*' cannot mint token with secretPath='/apps/**' (glob → broader glob)
backend/src/services/service-token/service-token-service.test.ts:348–365 ↗
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
createServiceToken authorization > scope widening (boundary check) > caller with $eq:'/apps/foo' can mint token with the literal secretPath='/apps/foo' (no widening)
backend/src/services/service-token/service-token-service.test.ts:327–341 ↗createServiceToken authorization > scope widening (boundary check) > caller with $glob:'/apps/**' can mint token with secretPath='/apps/foo' (narrower)
backend/src/services/service-token/service-token-service.test.ts:367–384 ↗
- Duplicate test namewarning
2 tests in this file share the full title "CertificatePolicyService > validateCertificateRequest > should detect TTL exceeding maximum duration".
CertificatePolicyService > validateCertificateRequest > should detect TTL exceeding maximum duration
backend/src/services/certificate-policy/certificate-policy-service.test.ts:1000–1013 ↗CertificatePolicyService > validateCertificateRequest > should detect TTL exceeding maximum duration
backend/src/services/certificate-policy/certificate-policy-service.test.ts:1015–1033 ↗
Findings by rule
- Parameterization candidate229
- Near-duplicate test4
- Duplicate test name1
Not compared
- imported helper unreadable1,310
- context could not be resolved59
- registered-inside-function121
- vi.mock factory unreadable21
- order-dependent-state1
- registered-elsewhere1
No finding is reported for these tests, which does not mean they have no duplicates.
Appearances
| Day | Rank | Commit | Version | Tests | Compared | Findings | Duplicates |
|---|---|---|---|---|---|---|---|
| 2026-12-04 | 9 | 38d729f | 0.11.0 | 8,858 | 82.9% | 234 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/Infisical/infisical.git
cd infisical
git checkout 38d729f437cca8a638ac8c5b663e4316bcbf1531
npx [email protected] .