com

A tool for examining COM interfaces in Windows program files. COM is a Windows system for letting software components communicate with one another.

In plain words
What is it for?
Find COM servers and methods, inspect their attack surface, audit security settings, classify entry points, and identify possible privilege-escalation targets.
Why use it?
It helps security researchers understand which components, methods, permissions, and privilege boundaries could create security risks.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/marcosd4h/deepextractruntime/com
Clone the repo
git clone --depth 1 https://github.com/marcosd4h/DeepExtractRuntime
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,174 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01174
Opus 5 $0.00000 $0.00587
Sonnet 5 $0.00000 $0.00235
Haiku 4.5 $0.00000 $0.00117

Measured 2d ago against content hash fa215a7f5280, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

com scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • winrt — 86% identical, 68 lines differ
commands/com.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

COM Analysis

Overview

Analyze COM server interfaces in Windows binaries using ground-truth extraction data. Enumerates COM servers by module or CLSID, maps the privilege-boundary attack surface, audits security properties (permissions, elevation, marshalling, DCOM), classifies entry points, and identifies privilege escalation and UAC bypass targets.

The text after /com is the module name or CLSID and optional subcommand (e.g., /com wuapi.dll, /com surface, /com privesc).

Subcommands

Subcommand Usage Purpose
(default) /com <module_or_clsid> Enumerate COM servers, interfaces, methods
workspace /com workspace Discover which workspace modules implement COM servers
surface /com surface [module] Risk-ranked COM attack surface (module or system-wide)
methods /com methods <module_or_clsid> List methods with optional pseudo-IDL
classify /com classify <module> Semantic classification of COM entry points
audit /com audit <module_or_clsid> COM-specific security audit
privesc /com privesc [--top N] Find privilege escalation targets

IMPORTANT: Execution Model

Execute immediately. Do NOT ask for confirmation before running scripts. Read the com-interface-analysis SKILL.md to understand available scripts and their options, then run the appropriate script(s) for the subcommand.

Execution Context

  • Working directory: Workspace root (scripts handle their own path setup)
  • Output: Scripts support --json for machine-readable output
  • Data: Read-only access to COM extraction data via helpers.com_index

Steps

Step 0: Preflight Validation

Parse the user's input to determine the subcommand and target. If a module name or CLSID is given, verify it exists in the COM index by running:

python .claude/skills/com-interface-analysis/scripts/resolve_com_server.py <module_or_clsid> --json

If no servers are found, report this and suggest checking module name spelling or using surface --system-wide to see all available modules.

Read the full file on GitHub · 119 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 119 lines · 0 tokens per session scan A fa215a7f5280

Subscribe to this mod's changes

com is a command published in the GitHub repository marcosd4h/DeepExtractRuntime (20 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,174 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.