
Security News
Security Community Slams MIT-linked Report Claiming AI Powers 80% of Ransomware
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.
express-gateway-plugin-body-modifier-example
Advanced tools
A body modifier plugin for Express Gateway
This plugin for Express Gateway makes it possible rewrite request and response body before
these get proxied to the target serviceEndpoint or returned back to the client
Simply type from your shell environment:
eg plugin install express-gateway-plugin-body-modifier
Make sure the plugin is listed in system.config.yml file. This is done automatically for you if you used the command above.
Add the configuration keys to gateway.config.yml file.
policies:
  - body-modifier:
      action:
        request:
          add:
          - name: fullname
            value: req.body.name + ' ' + req.body.surname
          remove:
          - name
          - surname
        response:
          add:
          - name: createdBy
            value: "'Clark Kent'"
          remove:
          - uselessParam
Just check out our plugin development guide. We can't wait to see your custom stuff in the Gateway!
FAQs
A body modifier plugin for Express Gateway
We found that express-gateway-plugin-body-modifier-example demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.