Skip to content

Commit 63edc93

Browse files
Potential fix for code scanning alert no. 5: Clear-text logging of sensitive information
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent e77b7cc commit 63edc93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/keychain-setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async function main(): Promise<void> {
3333

3434
// Retrieve via the priority chain (override → keychain → env → settings)
3535
const resolved = await resolveApiKey(provider, 'EXAMPLE_API_KEY', {})
36-
console.log(`\nresolveApiKey() returned: ${resolved?.slice(0, 16)}...`)
36+
console.log(`\nresolveApiKey() found key: ${resolved ? 'yes' : 'no'}`)
3737

3838
// Clean up
3939
await chain.delete(provider)

0 commit comments

Comments
 (0)