Skip to content

Improve console output#760

Merged
christophetd merged 8 commits into
v3from
christophe.tafanidereeper/v3-better-console-output
Jun 15, 2026
Merged

Improve console output#760
christophetd merged 8 commits into
v3from
christophe.tafanidereeper/v3-better-console-output

Conversation

@christophetd

Copy link
Copy Markdown
Contributor

No description provided.

@datadog-official

This comment has been minimized.

@christophetd christophetd force-pushed the christophe.tafanidereeper/v3-better-console-output branch from 6323000 to 53db7c9 Compare June 10, 2026 12:50
@christophetd christophetd changed the title Christophe.tafanidereeper/v3 better console output Improve console output Jun 10, 2026
@christophetd christophetd force-pushed the christophe.tafanidereeper/v3-better-console-output branch 4 times, most recently from e7ac9f0 to 890610f Compare June 10, 2026 15:36
@christophetd christophetd marked this pull request as ready for review June 10, 2026 15:42
@christophetd christophetd requested a review from a team as a code owner June 10, 2026 15:42
Comment thread guarddog/analyzer/analyzer.py Outdated
Comment thread guarddog/analyzer/risk_engine.py Outdated
Comment thread guarddog/analyzer/analyzer.py
Comment thread guarddog/reporters/human_readable.py Outdated
Comment thread guarddog/reporters/human_readable.py Outdated
"credential-access",
"discovery",
],
"Exfiltration": [

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exfiltration is inacurate here, what about?

  • Actions on Objectives

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it feels too much like jargon, but let me see if I can think of something better

Comment thread guarddog/reporters/human_readable.py Outdated
Comment thread guarddog/reporters/human_readable.py
Comment thread guarddog/reporters/human_readable.py
Comment thread guarddog/reporters/human_readable.py
Comment thread guarddog/reporters/human_readable.py Outdated
@christophetd christophetd force-pushed the christophe.tafanidereeper/v3-better-console-output branch from 7a2a20e to 4dafa0a Compare June 15, 2026 10:43
trim_code_snippet truncated long lines to head + '...' + tail regardless
of where the match sat, so a short YARA match (e.g. 'atob(') buried in a
minified line landed in the elided middle. The reporter highlights the
flagged span by locating the match within the snippet, so once the match
was elided it could no longer be emphasized. Center the kept window on the
matched bytes so the span survives truncation and stays highlightable.
@christophetd christophetd force-pushed the christophe.tafanidereeper/v3-better-console-output branch from 4dafa0a to f707fb9 Compare June 15, 2026 10:44
@christophetd christophetd enabled auto-merge (squash) June 15, 2026 10:46
@christophetd christophetd merged commit 63b28bb into v3 Jun 15, 2026
5 checks passed
@christophetd christophetd deleted the christophe.tafanidereeper/v3-better-console-output branch June 15, 2026 10:47
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