Skip to content
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

Enable SSRF redirect protection and add breaking test for AWS SDK v3 #346

Open
wants to merge 36 commits into
base: main
Choose a base branch
from

Conversation

hansott
Copy link
Member

@hansott hansott commented Aug 28, 2024

No description provided.

@hansott hansott marked this pull request as draft August 28, 2024 11:13
@hansott hansott marked this pull request as ready for review August 28, 2024 15:48
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

Attention: Patch coverage is 96.38554% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
library/sinks/HTTPRequest.ts 90.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@hansott hansott requested a review from timokoessler August 29, 2024 10:17
library/package.json Outdated Show resolved Hide resolved
…-enable

* 'beta' of github.com:AikidoSec/node-RASP: (421 commits)
  Upgrade to latest zen internals
  Use v4 of dd-trace (supports node v16 and higher)
  Add end2end test for compatibility with dd-trace
  Use fetch helper function instead of native
  Add comment why we use createServer
  Make non-owned props of express wrapped functions accessible
  Cleanup
  Preserve original handler name for Ghost
  Improve test
  Replace ULID
  Add test with operation name
  Add more tests
  Don't discover GraphQL queries from server-side rendering
  Fix tests (use createTestAgent utility fn)
  Fix lint
  Update comment
  Update comment
  Update comment
  Update comment
  Additional main branch test fixes
  ...
@hansott hansott changed the base branch from main to beta November 20, 2024 10:59
Base automatically changed from beta to main December 3, 2024 15:56
Comment on lines 149 to 151
// Wrap the response handler if there is one
// so that we can inspect the response for SSRF attacks (using redirects)
// e.g. http.request("http://example.com", (response) => {})
Copy link
Member

Choose a reason for hiding this comment

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

comments: wrapping callback with the goal of wrapping the inner callback

…-enable

* 'main' of github.com:AikidoSec/node-RASP: (113 commits)
  Add performance test
  Shorten function
  Shorten methods
  Fix tests for attackPath
  Add failing tests
  Add breaking test
  Add test
  Add more tests
  Improve test coverage
  Extend and fix tests
  Link to Aikido Blog for Command Injection attacks
  Use more efficient ip matcher
  Fix tests
  Fix again
  fix: Wrong payload path after merge
  Fix tests
  Delete jwt.iss
  Add test
  Use new Zen internals JS parser
  Update Zen Internals
  ...
…-enable

* 'main' of github.com:AikidoSec/node-RASP:
  Fix broken link in Next.js docs
  Increase to 25%
  Fix flaky performance test
  Remove eval sink
…-enable

* 'main' of github.com:AikidoSec/node-RASP:
  Fix merge
  Fix unit tests
  Add install-lib-only to Makefile
  Fix Prisma tests using Node v16
  Skip tests on Node v16
  Support prisma v6
  Update t.fail usage in e2e tests
  Apply suggestions of reviewer
  Fix e2e tests
  Add e2e tests and improve unit tests
  Protect raw Prisma MongoDB methods
  Rewrite Prisma sink using client extensions
  Fix tests in Node v23
  Add initial prisma mongodb test
  Add prisma postgres test
  Fix Prisma sqlite test
  Add initial prisma support
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.

3 participants