Skip to content

Add support for Blueprints #463

Closed

Description

@stevespringett

A BOM is not overly useful to defenders as they only contain inventory of things and potentially how something was built (e.g. formulation). They do not provide any insight into what the application does or how it does it, which is extremely useful for defending assets.

This proposed core enhancement is to track the support for adding blueprints. The general idea of blueprints is to describe at a high/abstract level, what the application does and the process of how it does it. If done correctly, defense can be automated.

Activity

  1. added this to the 1.7 milestone on May 10, 2024
  2. dariush-griffin commented on May 10, 2024

    @dariush-griffin

    Can you further define some examples of blueprints? I'm interested in how they could be automated. My initial reaction is that the SBOM includes information in how it is deployed or perhaps lists that it follows certain protocols or has certain WAF rules which would negate a subset of vulnerabilities.

    Or we could apply the reverse. When we detect certain vulnerabilities, suggest certain actions that could be recorded in the blueprint.

    Is that in line with what you are thinking?

  3. stevespringett commented on May 13, 2024

    @stevespringett
    MemberAuthor
    1. Take a microservice which takes input via HTTPs, processes it, and persists it to a relational database.
    2. That same microservice uses a vulnerable version of log4j.

    In this example, CycloneDX described the blueprint of what the application does (1) and what the application contains (2).

    Upon analyzing the BOM, it was discovered that input validation was not being performed prior to processing or persisting the data. Therefore, a WAF is automatically deployed with specific rules to guard against malicious input designed to exploit log4j.

    I think that's a simple example, but there are likely many more real-world examples we could come up with, some of which may involve changing the configuration of the application itself. But yes, I think we're thinking along the same lines. Runtime platforms that leverage instrumentation may be a good way to capture what the application does in an automated way. @planetlevel

  4. planetlevel commented on May 14, 2024

    @planetlevel

    Capturing details about what software actually does and how it works can be done with static, runtime, or both. Generally, I'd like to see the blueprint capture 1) the attack surface (entry points both public and internal), 2) security defenses like authn, authz, encryption, escaping, etc...3) dangerous functions (not vulnerabilities), like parsing XML, evaluating expressions, querying databases, starting processes, etc... 4) all connections inbound and outbound.

  5. smagill commented on May 14, 2024

    @smagill

    Interesting idea. Sounds similar to the goals of the DARPA E-BOSS program. Maybe there will be some opportunity for collaboration there.

  6. planetlevel commented on May 15, 2024

    @planetlevel
  7. modified the milestones: 1.7, 2.0 on Jun 5, 2025
  8. jkowalleck commented on Aug 15, 2025

    @jkowalleck
    Member

    #670 (comment)

    This [#670] may tie into the work in #463 where we're describing behavior.

  9. added
    RFC notice sent
    on Jul 8, 2026
  10. linked a pull request that will close this issue[2.0] Threatmodeling and Blueprints #678on Jul 8, 2026
  11. added
    CDX 2.0
    on Jul 10, 2026
  12. telleroutlook commented on Jul 30, 2026

    @telleroutlook

    Coming from the RFC notice — sharing implementation experience that may be a useful data point for the Blueprints work, since #895 (Agent BOM) was closed and pointed here.

    We maintain AgentBOM (@wasmagent/agentbom-core, Apache-2.0), a runnable, published library that describes what an AI agent does and is authorized to do. It has ended up structured very much like the "blueprint" idea in this thread — capturing behavior/architecture rather than just an inventory — so the mapping onto @planetlevel's four dimensions is fairly direct:

    • Attack surface (entry points): tool_layer (registered tools, MCP servers, skills) and permission_layer (granted scopes, data-access boundaries).
    • Security defenses (authn/authz/etc.): policy_definitions (governance policies, constraints, compliance rules that gate agent behavior).
    • Dangerous functions: individual tool definitions with capability scopes and a state_changing / side-effect classification per action.
    • Connections (inbound/outbound): agent_collaboration (peer agents, delegation boundaries) and the MCP-server references in tool_layer.

    Two things from building it that might inform the spec design here:

    1. Behavior evidence wants to be signed and verifiable, not just declared. Our records carry an attestation (generator, timestamp, hash, ed25519 signature) and an evidence_layer referencing signed runtime-evidence hashes, so a consumer can check the blueprint was actually produced by the claimed toolchain and matches observed behavior — rather than trusting a hand-authored document. If Blueprints are meant to drive automated defense, tamper-evidence of the blueprint itself seems load-bearing.

    2. Static + runtime, as noted upthread, both matter. We populate the tool/permission layers statically at build time and the evidence_layer/audit_log from runtime, and found the two need a shared identity (identity: agent id/version/deployment context) to correlate — otherwise "what it can do" and "what it did" drift apart.

    Happy to share the schema (https://wasmagent.dev/schemas/agentbom/v0.1.schema.json) if a concrete Agent-shaped example would be useful as the working group scopes Blueprints. Not proposing our schema as the answer — just offering an existing implementation as a reference point during the RFC.

  13. stevespringett commented on Aug 6, 2026

    @stevespringett
    MemberAuthor

    HI @telleroutlook. Can you provide a concrete example? Something small and easy to understand would be useful.

  14. telleroutlook commented on Aug 7, 2026

    @telleroutlook

    Sure! Here's a minimal AgentBOM for a simple Web Research Assistant — an agent with two tools (web search + bash execution):

    {
      "agentbom_version": "0.1",
      "identity": {
        "agent_id": "web-research-assistant-v1",
        "agent_name": "Web Research Assistant",
        "agent_version": "1.0.0",
        "deployment_context": "production",
        "generated_at": "2026-08-07T00:00:00Z"
      },
      "tool_layer": [
        {
          "tool_id": "web-search",
          "tool_name": "search_web",
          "source": "builtin",
          "permissions": ["network:outbound"],
          "risk_signals": []
        },
        {
          "tool_id": "bash-exec",
          "tool_name": "bash",
          "source": "builtin",
          "permissions": ["process:exec"],
          "risk_signals": ["command_execution"]
        }
      ],
      "permission_layer": {
        "granted_scopes": ["network:outbound", "process:exec"],
        "data_access": ["local_workspace"],
        "credential_references": []
      },
      "risk_layer": [
        {
          "risk_id": "risk-001",
          "severity": "medium",
          "category": "command_execution",
          "description": "bash tool allows arbitrary shell execution",
          "status": "accepted"
        }
      ],
      "attestation": {
        "generator": "[email protected]",
        "timestamp": "2026-08-07T00:00:00Z"
      }
    }

    What maps to the Blueprints idea here:

    • tool_layer → what the agent does (attack surface: the two registered tools and their capability scopes)
    • permission_layer → what it's authorized to do (union of granted scopes across all tools — the "security posture summary" for automated defense)
    • risk_layer → known dangerous functions — bash with command_execution risk signal is flagged at medium severity with an explicit acceptance decision, making the risk auditable
    • attestation → the record is signed and timestamped, so the blueprint itself is tamper-evident

    The full schema is at WasmAgent/wasmagent-protocol — schemas/agentbom/agentbom.schema.json and @wasmagent/agentbom-core exposes validateAgentBOM(doc) to verify a document programmatically. Optional layers not shown include model_layer (LLM provider/version), workflow_layer (step sequences), agent_collaboration (peer agents and delegation boundaries), policy_definitions, and evidence_layer (runtime evidence hashes for the static/runtime correlation mentioned upthread).

    Happy to expand any layer if it would be useful for the working group's scoping.

  15. added
    promote to tc54
    on Aug 9, 2026
  16. stevespringett commented on Aug 9, 2026

    @stevespringett
    MemberAuthor

    @telleroutlook I recommend creating a new issue that calls out any gaps you see in the specification, the use case we're trying to solve, etc., so we can track that work independently. As is, the current design has passed through the RFC period and will be voted on by TC54 on August 20. Runtime evidence is supported in another branch. Behavior evidence may be worth considering for sure.

  17. added
    tc54 reviewed
    tc54 accepted
    on Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

CDX 2.0RFC notice sentRFC vote acceptedpromote to tc54proposed core enhancementrequest for commenttc54 acceptedtc54 reviewed

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions