
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
@confluentinc/mox
Advanced tools
A node.js developer tool written on top of express.js. Mox is a cross between a mock and a proxy server.
See here for the NPM package
Mox's purpose is to bridge the gap between mock server usage and live backend usage. Frontend development processes typically fall into one of two camps:
Mox is a tool that helps you use both at the same time. It also provides a few other APIs that make the second camp a lot easier.
Some key features:
Install this package through npm or yarn.
npm install @confluentinc/mox
Here's a quick example of what it takes to configure the server, perform a simple mock, and get it running.
import { MoxServer } from '@confluentinc/mox';
const server = new MoxServer({ targetUrl: 'https://dev.server', listenPort: 3005 });
const router = server.getRouter();
router.get('/api/route-to-mock').mock({ foo: 'bar' });
server.start();
Mox supports most common HTTP methods, including HEAD
, OPTIONS
, and PATCH
. It also supports the all
matcher from express.js
which matches all methods.
In the above example, router.get
matches the same way app.get
would in express
.
More detailed API reference
FAQs
hybrid proxy and mock server
The npm package @confluentinc/mox receives a total of 2 weekly downloads. As such, @confluentinc/mox popularity was classified as not popular.
We found that @confluentinc/mox demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.