AUTOMATED THREAT MODELING · CODE-TO-CLOUD THREAT MODELING

Generate a threat model from the system you actually run.

Connect repositories, services and deployed infrastructure to generate a threat model of an existing system. Model one service or an application spanning services, and review architecture changes as it evolves.

Illustrative service model
payments-api · existing system
Code → cloud
Receiver implementation ↔ deployed service ↔ target environment
Architecture change
New webhook listener is not in the approved model.
Review proposal
Add the receiver and external flow. Review the authentication requirement.

CODE-TO-CLOUD THREAT MODELING

Generate the threat model from code-to-cloud architecture.

Heeler connects source code to deployed infrastructure to build its service model. Generate an as-built threat model for an individual service or an application across services.

INPUTS TO THE REVIEWCONNECTED OUTCOMESSource coderepositories, code roots, implementationsDeployed infrastructureservices and target environmentsService relationshipscomponents and communication flowsExisting evidencefindings and observed attributesService modelconnect codeto cloudThreat modelreview architectureassess threatsAS-BUILT ARCHITECTUREStart from what runsReview the system Heeler has mapped.DESIGN CHANGESFind new components and flowsBring changed architecture into review.IMPLEMENTATIONKeep requirements connectedGuide agents and evaluate evidence.

Existing-system workflow. The service model supplies the observed architecture; reviewers approve the threat model.

Inspect the code, environment and architecture together.

Reviewers can trace the model back to the system it describes.

CODE

Which implementation?

Connect the component to its repository and code root.

CLOUD

Which deployed environment?

Inspect where the service runs and the environment behind the evidence.

MODEL

Which approved requirements?

Review the flows, boundaries and security decisions attached to the component.

REVIEW DESIGN DRIFT

Show what changed and why it needs review.

New listeners, integrations and data stores can invalidate design assumptions. Review the proposed model delta alongside the source or diff that introduced it.

SYSTEM CHANGEA new webhook listenerappears in code or updated sourcesThe approved model has no receiverCHANGE REVIEWInspect the architecture deltaNew receiver componentExternal provider flowAuthentication obligationSource or diff evidenceAgent proposals use the same review workflowREVIEW OUTCOMEApply accepted changesRequest more evidenceReject the proposalApproval remains a reviewer decision

Illustrative drift review. Selected agent-hook checks run during edits; deeper analysis evaluates updated sources.

Review the architecture diff before it changes the model.

Source updates and agent proposals become reviewable change sets. Inspect additions, accept selected changes and leave unresolved proposals pending.

APPROVED MODELCurrent architectureService → event store. The approvedversion remains the review baseline.PROPOSED CHANGE SETArchitecture diff+ Redis cache · accepted+ Public receiver · pendingBoundary evidence requestedREVIEWED RESULTApply accepted changesThe cache enters the model. Thereceiver stays pending. Reviewersapprove the resulting version.

Illustrative workflow.

How model review and approval work

Connect model changes to checks and remediation.

Mapped model elements let Heeler retrieve requirements for changed files and compare the implementation with the approved architecture. Scanner findings, configured PR guardrails and code-to-cloud evidence help reviewers assess the gap and the work needed to address it.

Explore the Context EngineExplore design-to-code validation

The model is the starting point for the next agent change.

When development continues, the agent can retrieve the threats and requirements for the files it is editing. New architecture returns for review, and implementation checks show whether approved requirements are met.

Continue: Threat-Informed AI Development

AUTOMATED THREAT MODELING · FROM PROMPT TO RUNTIME

See the complete workflow in Heeler.