Skip to content

Comments

chore: log Blockaid scan responses#2825

Merged
LucieFaire merged 2 commits intomainfrom
COR-889/log-blockaid-responses
Dec 5, 2025
Merged

chore: log Blockaid scan responses#2825
LucieFaire merged 2 commits intomainfrom
COR-889/log-blockaid-responses

Conversation

@LucieFaire
Copy link
Contributor

@LucieFaire LucieFaire commented Dec 3, 2025

Summary

COR-889

Changes

  • Added LoggingService dependency to Blockaid API and now log scanTransaction responses at info level using a sanitized payload that keeps only statuses/classification/actions while stripping addresses and other sensitive fields
  • Introduced a Zod schema to remove sensitive data and skip simulation params/exposure
  • Updated Blockaid API unit tests to inject the logging mock and assert the sanitized log without sensitive data

@LucieFaire LucieFaire requested a review from a team as a code owner December 3, 2025 13:16
@cursor
Copy link

cursor bot commented Dec 3, 2025

You have run out of free Bugbot PR reviews for this billing cycle. This will reset on December 29.

To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@LucieFaire LucieFaire force-pushed the COR-889/log-blockaid-responses branch from 7203033 to 3eead95 Compare December 3, 2025 15:16
Signed-off-by: dsh <11198975+LucieFaire@users.noreply.github.com>
@LucieFaire LucieFaire force-pushed the COR-889/log-blockaid-responses branch from 3eead95 to ed52f45 Compare December 3, 2025 15:19
@LucieFaire LucieFaire requested a review from tmjssz December 3, 2025 15:19
@LucieFaire LucieFaire added the Blocked Issue is blocked by a different issue label Dec 4, 2025
@LucieFaire LucieFaire requested a review from PooyaRaki December 4, 2025 15:53
@LucieFaire LucieFaire removed the Blocked Issue is blocked by a different issue label Dec 4, 2025
Signed-off-by: dsh <11198975+LucieFaire@users.noreply.github.com>
@LucieFaire LucieFaire merged commit 4980d93 into main Dec 5, 2025
38 of 40 checks passed
@LucieFaire LucieFaire deleted the COR-889/log-blockaid-responses branch December 5, 2025 14:03
PooyaRaki pushed a commit that referenced this pull request Dec 9, 2025
* chore: log Blockaid scan responses

Signed-off-by: dsh <11198975+LucieFaire@users.noreply.github.com>

* use zod schema

Signed-off-by: dsh <11198975+LucieFaire@users.noreply.github.com>

---------

Signed-off-by: dsh <11198975+LucieFaire@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants