-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rasp ssrf #4311
base: master
Are you sure you want to change the base?
Conversation
Overall package sizeSelf size: 6.61 MB Dependency sizes
🤖 This report was automatically generated by heaviest-objects-in-the-universe |
|
||
function enable () { | ||
httpClientRequestStart.subscribe(analyzeSsrf) | ||
expressMiddlewareError.subscribe(handleAbortError) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessary yet, because we are not throwing an exception
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4311 +/- ##
=======================================
Coverage 69.19% 69.19%
=======================================
Files 1 1
Lines 198 198
Branches 33 33
=======================================
Hits 137 137
Misses 61 61 ☔ View full report in Codecov by Sentry. |
function generateStackTraceForMetaStruct (maxCallSite = 32) { | ||
let callSites = getCallSiteInfo() | ||
let i = 0 | ||
if (callSites.length > maxCallSite) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should check maxCallSite
is a positive integer: otherwise unexpected behaviours could occur slicing frames.
What does this PR do?
Motivation
Plugin Checklist
Additional Notes