
Product
Introducing Data Exports
Export Socket alert data to your own cloud storage in JSON, CSV, or Parquet, with flexible snapshot or incremental delivery.
api-guardian-package
Advanced tools
The ultimate VIP bouncer for your API. Only the right user agents and proper requests get in. Everyone else gets a 403.
The ultimate VIP bouncer for your API. Only the right user agents and proper requests get in. Everyone else gets a 403.
req.header('x-access-bypass')
Installing API Guardian Package
npm install api-guardian-package
const express = require('express');
const blockUserAgents = require('api-guardian-package');
const app = express();
app.use(blockUserAgents({
bypassKey: 'your-bypass-key' // Optional: Provide a bypass key for special cases
token:"your-token" // Optional: For Block browser access
}));
app.get('/api/your-endpoint', (req, res) => {
res.send('Welcome to the VIP section!');
});
app.listen(3000, () => {
console.log('API running on http://localhost:3000');
});
API Guardian Package provides top-notch security for your endpoints, ensuring that only VIP requests get through!
FAQs
The ultimate VIP bouncer for your API. Only the right user agents and proper requests get in. Everyone else gets a 403.
We found that api-guardian-package 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.

Product
Export Socket alert data to your own cloud storage in JSON, CSV, or Parquet, with flexible snapshot or incremental delivery.

Research
/Security News
Bitwarden CLI 2026.4.0 was compromised in the Checkmarx supply chain campaign after attackers abused a GitHub Action in Bitwarden’s CI/CD pipeline.

Research
/Security News
Docker and Socket have uncovered malicious Checkmarx KICS images and suspicious code extension releases in a broader supply chain compromise.