
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@thaparoyal/replayapi
Advanced tools
ReplayAPI SDK for Node.js — Automatically capture outgoing HTTP traffic for replay testing.
npm install @replayapi/node
import { replayApi } from '@replayapi/node'
// Initialize once at app startup
replayApi.init({
apiKey: process.env.REPLAY_API_KEY!,
environment: 'staging',
})
// That's it — all http, https, and fetch calls are now captured
replayApi.init({
// Required
apiKey: 'rp_your_api_key',
// Optional
proxyUrl: 'http://localhost:8080', // Default proxy URL
environment: 'staging', // Environment label
sessionId: 'user-checkout-flow', // Group related requests
// Filter what gets captured
include: ['api.example.com', /\/api\/v\d+\//],
exclude: ['healthcheck', /\.internal\./],
// Debug
debug: true, // Enable verbose logging
disabled: false, // Disable without removing code
timeout: 30000, // Proxy request timeout (ms)
})
replayApi.init(config)Initialize the SDK. Patches http.request, https.request, and fetch globally.
replayApi.stop()Stop capturing and restore original HTTP behavior.
replayApi.isActive()Returns true if the SDK is currently intercepting traffic.
replayApi.getStats()const stats = replayApi.getStats()
// { totalCaptured: 42, totalSkipped: 3, totalErrors: 0, startedAt: Date }
GET https://api.example.com/usersGET http://proxy:8080/users with headers:
X-Api-Key: rp_... (your API key)X-Replay-Target: https://api.example.com (original target)X-Replay-Env: staging (environment)fetch support)http.request / http.gethttps.request / https.getglobalThis.fetchFAQs
ReplayAPI SDK for Node.js — Capture HTTP traffic automatically
We found that @thaparoyal/replayapi demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.