# Hardcoded database password in TypeScript — Agent PR X-Ray

> Canonical page: https://codevetter.com/xray/ts-hardcoded-credentials

This is an adjudicated synthetic benchmark example, not a claim about an uploaded repository.

## Source

- Corpus: codevetter-public-benchmark/ts-hardcoded-credentials
- Language: typescript
- Category: security
- Evidence state: benchmark_ground_truth

## Finding

- Severity: high
- Title: hardcoded secret
- Summary: The production database password is committed in plaintext inside the source file, exposing credentials to anyone with repository access.
- Source anchor: `source.ts:8`

## Verification boundary

The static finding is qualified against benchmark ground truth. No exact-current executable test or audience validation is included in this example, so those stages remain unverified.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
