Skip to content

Conversation

@hansott
Copy link
Member

@hansott hansott commented Dec 19, 2025

Summary by Aikido

🚀 New Features

  • Enabled Function sink using native addon to support eval

⚡ Enhancements

  • Downloaded Node internals during build with version caching and parallel downloads
  • Included node_internals in build output and uploaded in CI artifacts

🔧 Refactors

  • Refactored Function wrapper to use inspectArgs and addon loader

- Extract loading native addon to a function
- Use `inspectArgs` (which is also used for ESM instrumentation)
- Use `getLibraryRoot()` for path to binaries (needed for bundling later)
…de-hook

* 'main' of github.com:AikidoSec/node-RASP:
  Fix linting
  Fix bypassed ips ignored by Prisma sink
  Always create new array
  Do not mutate variable in function
  Remove default param value
  Fix edge case regarding attack wave samples
  Reduce sample app size
  Add e2e test
  Add vulnerable Next.js app
import { Mistral } from "../sinks/Mistral";
import { Anthropic } from "../sinks/Anthropic";
import { GoogleGenAi } from "../sinks/GoogleGenAi";
import { Function } from "../sinks/Function";
Copy link
Member

Choose a reason for hiding this comment

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

Maybe rename to FunctionSink to not override global Function in this file?

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