Skip to content

draft: add DangerousBodyException#283

Merged
bitterpanda63 merged 1 commit intoupdate-qa-testsfrom
dangerous-bodies-update
Apr 14, 2026
Merged

draft: add DangerousBodyException#283
bitterpanda63 merged 1 commit intoupdate-qa-testsfrom
dangerous-bodies-update

Conversation

@bitterpanda63
Copy link
Copy Markdown
Member

@bitterpanda63 bitterpanda63 commented Apr 14, 2026

Summary by Aikido

Security Issues: 0 Quality Issues: 0 Resolved Issues: 0

🚀 New Features

  • Added DangerousBodyException class to represent dangerous request bodies.

⚡ Enhancements

  • Enforced JWT payload byte-size limit and handled oversized payloads.
  • Introduced recursion depth limit in StringExtractor and propagated exceptions.

🔧 Refactors

  • Adjusted Scanner to catch AikidoException and rethrow after scanning.

More info

@bitterpanda63 bitterpanda63 merged commit 7caa870 into update-qa-tests Apr 14, 2026
12 of 13 checks passed
@bitterpanda63 bitterpanda63 deleted the dangerous-bodies-update branch April 14, 2026 14:05
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 14, 2026

Codecov Report

❌ Patch coverage is 72.41379% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ikido/agent_api/helpers/patterns/LooksLikeJWT.java 55.55% 4 Missing ⚠️
.../agent_api/helpers/extraction/StringExtractor.java 85.71% 2 Missing ⚠️
.../dev/aikido/agent_api/vulnerabilities/Scanner.java 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

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.

1 participant