You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are **not real credentials** - they are test fixtures used only in automated tests.
33
+
34
+
### 2. `src/vault.js` - False positive
35
+
36
+
GitGuardian flagged parameter names (`password`, `masterPassword`) as generic passwords. No actual secrets are hardcoded in this file. All sensitive data is:
37
+
- Encrypted with AES-256-GCM
38
+
- Derived via scrypt key derivation
39
+
- Stored in `~/.lockcli/` with `0o600` permissions
40
+
41
+
### 3. `.gitguardian.yml` added
42
+
43
+
A GitGuardian configuration file was added to exclude test files from future scans:
44
+
45
+
```yaml
46
+
scanning:
47
+
paths-ignore:
48
+
- "tests/**"
49
+
- "**/*.test.js"
50
+
```
51
+
52
+
## Verification
53
+
54
+
All 23 crypto tests pass after the fix:
55
+
56
+
```
57
+
Resultat: 23 OK | 0 FAIL
58
+
```
59
+
60
+
## Recommendations
61
+
62
+
- Never commit real passwords or API keys in source code
63
+
- Use environment variables or `.env` files (gitignored) for real credentials
64
+
- Test files should use clearly labeled fake values
0 commit comments