Skip to content

Fix: private key logging#1030

Open
LisaMoore01 wants to merge 1 commit intocoinbase:mainfrom
LisaMoore01:LisaMoore01-patch-1
Open

Fix: private key logging#1030
LisaMoore01 wants to merge 1 commit intocoinbase:mainfrom
LisaMoore01:LisaMoore01-patch-1

Conversation

@LisaMoore01
Copy link

Description

In the example, the full private key was being logged to the console. For security reasons, changed the logging to show only the first 6 characters followed by "...", preventing the complete private key from being exposed in logs.

Tests

No tests required - the change only affects log output and does not impact functionality. The private key remains a valid hex string, and .slice() works as expected with the Hex type.

Checklist

A couple of things to include in your PR for completeness:

  • Added documentation to all relevant README.md files
  • Added a changelog entry

In the example, the full private key was being logged to the console. For security reasons, changed the logging to show only the first 6 characters followed by "...", preventing the complete private key from being exposed in logs.
@cb-heimdall
Copy link

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@github-actions github-actions bot added example New example agent typescript labels Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

example New example agent typescript

Development

Successfully merging this pull request may close these issues.

2 participants