
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.
@mcp-guardian/plugin-sdk
Advanced tools
Stable v3.0 detector plugin API for MCP Guardian.
pnpm add @mcp-guardian/plugin-sdk
import { createDetectorPlugin } from '@mcp-guardian/plugin-sdk';
export default createDetectorPlugin({
name: 'acme-pii-scanner',
version: '1.0.0',
onLoad() { console.error('[acme] loaded'); },
scanArguments(text, ctx) {
if (/SSN-\d{3}-\d{2}-\d{4}/.test(text)) {
return [{ type: 'ssn', location: ctx.location || 'args', severity: 'HIGH', redacted: 'SSN-[REDACTED]' }];
}
return [];
},
});
Enable at runtime:
export GUARDIAN_PLUGINS_ENABLED=true
export GUARDIAN_PLUGIN_PATH=/path/to/built/plugins
See docs/PLUGIN_SDK.md for publishing and lifecycle details.
FAQs
Stable detector plugin SDK for MCP Guardian
We found that @mcp-guardian/plugin-sdk 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.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.