{
  "id": 19606095,
  "title": "Decompile and inspect .NET assemblies from the command line — and from an AI assistant",
  "url": "https://urgent.news/2026/11/12/decompile-and-inspect-net-assemblies-from-the-command-line-and-from",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-12T05:42:22.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/zero_heartbeat_06a3625d7a/decompile-and-inspect-net-assemblies-from-the-command-line-and-from-an-ai-assistant-3h08"
  },
  "original_language": "en",
  "account": "Glass.NET is a free .NET decompiler that allows users to analyze assemblies like their own source code. It provides a headless CLI and a Model Context Protocol server, enabling AI assistants to inspect assemblies without the need for a graphical interface. Four main commands are available: export, sbom, verify, and diff.\n\nThe export command reconstructs a buildable C# project or a single member from an assembly, making it useful for tasks like diffing against source, patching, or sharing a reproducible tree with others. The sbom command generates a software bill of materials in CycloneDX JSON format, listing an assembly's identity, target framework, and all its dependencies. The verify command checks a package's authenticity and strong-name identity, ensuring it matches the declared information. Lastly, the diff command compares two builds and reports the changes in the public surface.\n\nThese tools allow for static analysis of .NET assemblies, enabling developers to gate CI jobs on dependency changes, create software bills of materials, verify package authenticity, and compare builds—all without executing the assemblies themselves.",
  "summary": "Glass.NET is a free .NET decompiler built around navigation — you open an assembly and read it like your own source. But plenty of the work you do with a decompiler isn't interactive at all. You want to gate a CI job on whether a dependency changed its public surface, emit a software bill of materials for every binary you ship, or check that the NuGet package you just pulled is really what it…",
  "key_points": [
    "Glass.NET decompiles .NET assemblies into readable source code",
    "CLI and Model Context Protocol enable AI assistants to inspect assemblies",
    "Four commands: export, sbom, verify, and diff for static analysis"
  ],
  "editors_take": "Integrating decompiler functionality into command-line tools and AI assistants streamlines automated security audits and dependency management by allowing developers to perform static analysis without executing code.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}