When the Host Is Part of the Threat Model: A Practical Guide to Trusted Execution Environments

The database is encrypted at rest.

The connection uses TLS. The backups are encrypted. The keys are stored in a managed service. Access to production requires strong authentication.

Then the application processes the data.

At that moment, the host operating system, hypervisor, cloud platform, privileged administrator, or another highly trusted component may be able to reach the data or alter the code using it.

For many workloads, that risk is accepted and managed through ordinary cloud, operating-system, identity, and application controls.

For some workloads, it is the reason the architecture is not yet complete.

That is where a Trusted Execution Environment can matter.

Consider a TEE when the system must protect code or data from the machine that runs it, and when attestation can be used to decide whether that workload should receive a key, secret, data set, or authority. Start with the largest managed boundary that satisfies the threat model. Use a specialized enclave only when the narrower boundary is worth the engineering and operating cost.

Nested trusted execution boundaries with attestation-controlled key release and a single-board-computer prototype.

What a Trusted Execution Environment Actually Does

The Confidential Computing Consortium defines confidential computing as protecting data in use by performing computation in a hardware-based, attested Trusted Execution Environment. Its technical analysis describes three central properties of a TEE: data confidentiality, data integrity, and the ability to provide evidence about the environment.

In practical terms, a TEE creates a hardware-enforced boundary around code and data while they are being processed.

Depending on the implementation, that boundary may surround:

  • An entire virtual machine.
  • A group of containers.
  • A smaller application enclave or isolated process.
  • A protected function inside a device or processor.

The processor and supporting platform isolate the protected workload from components outside that boundary. Memory encryption helps prevent a host or hypervisor from reading the workload’s active data directly. Integrity protections help detect or prevent unauthorized modification. Attestation allows the environment to produce cryptographic evidence about what it is and how it started.

This is different from simply encrypting a disk.

Disk encryption protects stored data when the disk is not being legitimately used. TLS protects data moving between systems. A TEE addresses the period when an application must operate on the data in memory. NIST’s hardware-enabled security guidance treats TEEs as one part of a layered platform-security approach, not as a replacement for the other layers.

It is also different from an HSM or TPM.

An HSM is designed primarily to protect cryptographic keys and operations. A TPM provides roots of trust, measurements, and protected key functions for a platform. A TEE provides an environment in which general application code can process protected data. These technologies can work together, but they solve different parts of the problem.

The First Question Is Who Must Not Be Able to See the Data

Do not begin by asking which confidential-computing product to buy.

Begin by naming the actor the architecture must exclude.

Possibilities include:

  • A cloud-provider operator with host-level access.
  • A hypervisor or host operating system that may be compromised.
  • An infrastructure administrator who should operate the platform without seeing application data.
  • A customer or partner running your software but not entitled to inspect its code, model, or keys.
  • One party in a shared analytics project that should not see another party’s source data.
  • A neighboring tenant or workload attempting to reach protected memory.
  • A device owner who should use a function without extracting its protected material.

If none of those actors belongs in the threat model, a TEE may add complexity without changing the most important risks.

If the primary concerns are stolen user credentials, vulnerable application code, excessive API authority, weak endpoint security, unpatched servers, poor backups, or uncontrolled data sharing, address those conditions directly. A TEE can isolate a vulnerable application from the host and still leave the vulnerability inside the protected boundary.

The security question is not whether the workload uses confidential computing.

It is:

Which components and operators are removed from the trust boundary, and which ones remain inside it?

Google Cloud’s confidential-computing overview makes this distinction explicit. A confidential VM can remove the cloud stack, host operating system, hypervisor, and cloud administrators from the workload’s trust boundary. The guest operating system, guest administrators, and applications remain trusted. A different deployment model may draw the boundary differently.

That detail matters more than the product label.

Attestation Turns Isolation Into an Architectural Control

Memory encryption is useful.

Attestation is what allows another system to act on the protection claim.

An attestation service evaluates hardware- and software-backed evidence about the environment and returns a signed result. A relying service can compare that result with policy before releasing something valuable.

For example:

  1. A workload starts inside a TEE.
  2. The platform measures relevant hardware, firmware, boot, image, or application state.
  3. The workload requests an attestation result.
  4. A verifier evaluates the evidence against policy.
  5. A key service, data owner, or API releases access only when the claims match the approved state.

Microsoft’s Azure Attestation overview describes this as converting evidence from a compute environment into validated claims and cryptographic proof. Azure also supports secure key release, allowing a key to be released only after code proves that it is executing in an approved environment.

AWS applies the same principle to Nitro Enclaves. An enclave can produce a signed attestation document containing measurements of the enclave. AWS KMS policies can then use attestation condition keys so cryptographic operations are permitted only when those measurements match policy.

Without that connection, an organization may know that a protected environment exists but still release keys and data through the same identity-only process used everywhere else.

The stronger pattern is:

Identity says which workload is asking. Attestation says what environment is actually running. Policy requires both before authority is released.

Choose the Largest Boundary That Solves the Problem

TEE designs generally become more specialized as the protected boundary gets smaller.

Confidential virtual machines

A confidential VM protects the memory and state of a complete virtual machine from the host or hypervisor. It is usually the most practical starting point for an existing workload because the application may require few or no code changes.

The tradeoff is that the guest operating system, guest administrators, agents, libraries, and applications remain inside the trusted boundary. A compromised administrator inside the VM may still reach the data.

Use this model when the main concern is infrastructure-level access and the existing application stack can remain trusted.

Confidential containers and managed services

Confidential containers can bring hardware-backed isolation to cloud-native workloads while fitting container deployment and scaling patterns. Managed confidential databases, analytics services, AI services, and collaboration environments may reduce the amount of custom platform engineering even further.

This is often attractive when the organization wants data-in-use protection but does not want to build and maintain its own attestation, enclave runtime, and deployment tooling.

Microsoft’s current deployment-model guidance recommends beginning with confidential VMs or managed container offerings for most new deployments. It treats application enclaves as specialized options for narrower requirements.

Application enclaves

An application enclave protects a smaller portion of code and memory from the rest of the host, and sometimes from administrators of the parent system. That smaller trusted computing base can provide a stronger separation for a narrowly defined function.

It also creates more engineering work.

The application may need to be divided into trusted and untrusted components. Inputs, outputs, networking, persistence, debugging, telemetry, updates, crash handling, and recovery must cross the enclave boundary deliberately. AWS Nitro Enclaves, for example, have no interactive access, persistent storage, or external networking; they communicate through the parent instance.

Use this model when a small, high-value function must remain isolated and the organization can support enclave-aware development and operations.

Use a Raspberry Pi and OP-TEE to Learn the Architecture

A Raspberry Pi can be a useful way to make TEE concepts concrete before an organization commits a production workload to specialized hardware or a cloud platform.

The OP-TEE Raspberry Pi 3 developer build gives architects and engineers a physical lab for working with an Arm TrustZone-style split between the normal world and the secure world. The documented build combines Trusted Firmware-A, OP-TEE, U-Boot, a stripped-down Linux environment, Trusted Applications, client libraries, and test tooling. A team can boot the stack, observe it through UART, run xtest and the OP-TEE examples, and change both the normal-world client and the Trusted Application.

That makes the Pi useful for prototyping questions such as:

  • Which small operation belongs inside a Trusted Application?
  • Which inputs and outputs must cross the normal-world and secure-world boundary?
  • How should the client authenticate a request and constrain the authority of the Trusted Application?
  • What happens when the normal-world process sends malformed, oversized, reordered, or unauthorized input?
  • Which state should remain sealed or protected across calls and restarts?
  • What evidence would a production verifier require before releasing a key or sensitive test data?
  • How will version changes, failures, logging, and recovery behave across the boundary?

A lab can also use a mock verifier or a lab-only key service to exercise an attestation-gated release workflow. That is useful for proving the application logic and failure paths. It is not proof of hardware-rooted remote attestation on the Pi.

The distinction is critical because the OP-TEE project puts a direct warning on the Raspberry Pi 3 port: it is not a secure implementation. The processor exposes Arm TrustZone exception states, but the board lacks mechanisms needed to provide secure boot, secure memory, protected peripherals, and other production security properties. The project describes the port as being solely for education and prototyping.

Use the Pi to learn the architecture, build a test harness, exercise the client-to-Trusted-Application interface, and discover operating problems early.

Do not use the Pi prototype to claim that:

  • The device resists a physical attacker.
  • The boot chain is securely rooted and measured.
  • Normal-world compromise cannot reach protected memory or peripherals.
  • A production key should be released based on the lab state.
  • The prototype provides the same assurance as a supported confidential VM, production TrustZone platform, secure element, or enclave-capable service.

The right graduation path is to preserve the prototype’s interface, tests, denial cases, and update logic, then move the workload to hardware or a managed service whose documented security boundary satisfies the production threat model.

When It Makes Sense for Small and Mid-Size Businesses

Company size is not the deciding factor.

Threat model, data consequence, customer obligation, and operational capacity are.

A small or mid-size business should seriously consider a TEE when it has one or more of these conditions:

  • It processes highly sensitive customer, payment, health, financial, identity, or legal data in a public cloud.
  • A customer contract or regulated use case requires protection from infrastructure or cloud operators.
  • It operates a software product inside a customer’s environment and must protect proprietary code, models, keys, or decision logic from the environment owner.
  • It uses an external AI, analytics, or processing platform but must reduce exposure of prompts, source data, intermediate results, or model assets while computation occurs.
  • Two organizations need to analyze combined data without either party receiving the other’s raw data.
  • A particular cryptographic or data-processing function has consequences high enough to justify a dedicated isolation boundary.

For these organizations, the best adoption pattern is usually to buy the boundary rather than build it.

Start with a supported confidential VM, container service, database, analytics platform, or other managed confidential-computing option already available in the cloud environment. Select one narrow workload. Confirm that the provider’s exact boundary removes the actor in the threat model. Use the provider’s attestation and key-management integration. Preserve a non-confidential fallback only if the risk decision permits it.

Do not begin with custom enclave code unless the workload truly requires a narrower boundary.

There are also many situations where a smaller organization should wait.

If it cannot yet maintain ordinary asset inventory, patching, identity security, backups, logging, application testing, and cloud configuration, a TEE is unlikely to be the next best control. If nobody can explain the attestation policy, update process, recovery path, or evidence, the organization may be buying a security property it cannot operate.

For a small or mid-size business, the first pilot should answer five questions:

  1. Which actor is removed from the trust boundary?
  2. Which specific data or function gains meaningful protection?
  3. What must successfully attest before keys or data are released?
  4. What changes in cost, performance, compatibility, support, backup, and recovery?
  5. Who will maintain the policy and respond when an update changes the measurements?

If the answers are concrete, the business may have a good use case.

If the answer is only “better encryption,” it probably does not have a design yet.

For teams that need hands-on familiarity before selecting a provider, the Raspberry Pi and OP-TEE lab can be a low-cost first step. Treat its output as architecture and test evidence, not production security evidence.

When It Makes Sense for Enterprises

Enterprises encounter the same decision at larger scale and across more complicated trust relationships.

Common enterprise use cases include:

  • Regulated or sovereignty-sensitive workloads moving to public cloud infrastructure.
  • Central analytics over data owned by different business units, customers, jurisdictions, or partners.
  • AI inference or training involving protected prompts, documents, models, embeddings, or intermediate state.
  • Payment, identity, fraud, healthcare, and financial-processing functions with material data-in-use exposure.
  • Multi-tenant services that need stronger isolation between the platform operator and customer workloads.
  • Cryptographic services, signing systems, rights management, or proprietary decision engines distributed into environments the enterprise does not control.
  • Administrative separation in which infrastructure teams operate systems without gaining routine access to workload data.

At enterprise scale, approving one confidential VM is not the difficult part.

The difficult part is operating attested computing as a platform capability.

That requires:

  • An approved set of TEE patterns and supported hardware or cloud services.
  • A defined trust model for cloud operators, host administrators, guest administrators, workload owners, and data owners.
  • Attestation policies with owners, version control, review, testing, and emergency change procedures.
  • Key and data-release services that evaluate attestation rather than merely recording it.
  • A software-supply-chain process that connects approved source and build artifacts to expected measurements.
  • Update and patch procedures that can introduce new measurements without causing an outage or silently widening policy.
  • Evidence showing which workload version was trusted, which data it received, which policy allowed it, and what result followed.
  • Capacity, performance, observability, backup, failover, and incident-response designs that work within the chosen TEE’s limitations.
  • A lifecycle process for hardware vulnerabilities, firmware changes, attestation roots, deprecated algorithms, and provider support.

This is why enterprises should avoid treating confidential computing as a special VM SKU.

It is a trust and authorization architecture.

What a TEE Does Not Fix

A TEE can narrow the number of components that must be trusted.

It does not make the remaining components trustworthy by declaration.

It does not automatically fix:

  • Vulnerable or malicious application code inside the protected boundary.
  • Excessive permissions granted to the workload.
  • Compromised users, service identities, or guest administrators that remain in scope.
  • Sensitive data intentionally included in outputs, logs, traces, or API responses.
  • Weak input validation, business logic, authorization, or transaction controls.
  • Software-supply-chain compromise that becomes part of an approved measurement.
  • Availability failures, denial of service, capacity exhaustion, or loss of recovery capability.
  • Endpoint compromise before data enters the TEE or after results leave it.
  • Every microarchitectural, side-channel, firmware, or physical attack.

The Confidential Computing Consortium’s threat-model discussion is explicit that deployments may make different trust assumptions about hosts and operators. Google’s Confidential Space security overview likewise identifies software-supply-chain and other attacks outside the scope of that service’s specific threat model.

Read those boundaries before treating an attestation result as a complete security verdict.

Use a Five-Part Decision Test

Before selecting a platform, write one page with five answers.

1. Asset

What exact data, code, model, key, algorithm, or transaction requires protection while in use?

2. Adversary

Which actor can reach it today but should no longer be trusted: cloud operator, hypervisor, host administrator, customer, partner, neighboring workload, or device owner?

3. Boundary

Which TEE model removes that actor while leaving an acceptable set of components inside the trusted computing base?

4. Release decision

Which key, secret, data set, API, or authority will be withheld until attestation proves that the approved environment is running?

5. Operations

How will the organization patch, update, observe, scale, recover, investigate, and retire the workload without defeating the boundary?

If the architecture cannot name the release decision, attestation may be decorative.

If it cannot name the adversary, the TEE may be unnecessary.

If it cannot explain operations, the protection may fail at the first update or outage.

What Security Leaders Should Do This Week

Select one workload that processes sensitive data in the cloud, shares data across organizational boundaries, or distributes valuable code into an environment you do not fully trust.

  1. Draw the current trust boundary. Include the cloud platform, hypervisor, host, guest OS, administrators, application, dependencies, key service, data owner, and output systems.
  2. Name the actor to exclude. Do not use “attackers” as the answer. Identify the privileged component or operator whose access the architecture should remove.
  3. Choose the least specialized model. Evaluate a managed confidential service, confidential VM, or confidential container before designing an application enclave.
  4. Define the attestation decision. State what the system will refuse to release when measurements, version, configuration, signer, or policy do not match.
  5. Test an update. Change the approved workload version and observe how measurements, policy, key release, rollback, and evidence behave.
  6. Test a denial. Launch an unapproved image or configuration in a safe environment and prove that the key or data remains unavailable.
  7. Review what remains trusted. Confirm that guest administrators, application code, dependencies, outputs, and recovery processes receive the controls their remaining authority requires.

Then ask the deciding question:

Are we using a TEE to remove a real actor from a necessary trust boundary, or are we adding confidential-computing language to a system whose main risks remain somewhere else?

That answer should determine whether to proceed.

Protect the Workload From the Platform When the Risk Requires It

Trusted Execution Environments close a real gap.

They can protect data while it is being processed, reduce dependence on infrastructure operators, and turn measured workload state into an authorization condition.

They are not a universal upgrade for every server.

The right use case begins with a specific asset, a specific adversary, a smaller trust boundary, and an attestation result that changes a real access decision.

MicroSolved, Inc. can help organizations determine whether confidential computing fits the threat model, compare TEE deployment patterns, review cloud and application trust boundaries, design attestation and key-release controls, and test the resulting architecture.

Useful engagements may include:

  • Security architecture and threat-model reviews for confidential workloads.
  • Azure, AWS, and Google Cloud confidential-computing design assessments.
  • Attestation, key-release, identity, and least-privilege reviews.
  • Application, API, container, and cloud-configuration testing around TEE boundaries.
  • Software-supply-chain, update, recovery, logging, and incident-response validation.
  • Privacy-preserving analytics and cross-organization data-collaboration design reviews.
  • Cryptographic design and key-management assessments.

To discuss a TEE or confidential-computing architecture review, contact MicroSolved at info@microsolved.com or +1.614.351.1237.

Relax. We’re on watch.

AI tools were used as a research assistant for this content, but human moderation and writing are also included.

A Secret Vault Is Not a Security Strategy: Use Identity First, Then Manage the Exceptions

The API key is no longer in the source code.

The database password is no longer in the deployment template. The certificate is no longer sitting in a shared folder. The cloud access key is no longer copied into a ticket.

They are all in a vault.

That is progress.

It is not the end of the problem.

A secret stored in Azure Key Vault or AWS Secrets Manager is still a credential. An application still needs permission to retrieve it. The secret still reaches a runtime. Rotation can still fail. A broad role can still expose it. A deleted key can still make protected data unavailable. A private endpoint can still be bypassed by an unintended path. A log can still reveal more than it should.

The first best practice for secrets management is therefore not to store every credential more carefully.

It is to eliminate every credential the workload does not need.

Use workload identity and temporary credentials wherever the platform supports them. Use Azure Key Vault or AWS Secrets Manager for the secrets that remain. Then design access, isolation, rotation, monitoring, and recovery as one operating system.

SecureVault

Start With the Credential Hierarchy

Teams often begin with a migration question:

How do we move our secrets into the vault?

The better first question is:

Which of these secrets should continue to exist?

Microsoft’s November 2026 Safe Secrets Standard puts identity ahead of storage. It recommends Microsoft Entra ID authentication and managed identities for supported Azure workloads, workload identity federation where appropriate, and automatic rotation for the remaining credentials that cannot yet be removed.

AWS makes the same architectural point through IAM. Its current IAM security guidance recommends that workloads use temporary credentials through IAM roles rather than long-term access keys. Workloads outside AWS can use federation or, for appropriate certificate-based scenarios, IAM Roles Anywhere to obtain temporary role credentials.

That produces a practical hierarchy:

  1. Use native workload identity. Prefer Azure managed identities, federated workload identities, AWS IAM roles, and temporary credentials.
  2. Use a managed secret service for unavoidable credentials. Azure Key Vault and AWS Secrets Manager are the primary services for application credentials, API keys, passwords, connection strings, tokens, and similar secrets.
  3. Treat long-lived credentials as exceptions. Give every exception an owner, business reason, scope, rotation method, expiration or review date, and retirement plan.

This distinction matters because a vault reduces the risk of storage and distribution. Identity can remove the shared credential altogether.

Put the Right Data in the Right Service

Not every setting is a secret.

Service names, endpoint URLs, feature flags, retry limits, environment labels, and other ordinary configuration values should not be placed in a secret store merely because the store is available.

Microsoft advises using Azure App Configuration or another appropriate data service for ordinary configuration rather than treating Key Vault as a general-purpose database. Its Key Vault secrets guidance reserves the service for sensitive values such as application credentials, passwords, connection strings, access keys, and private SSH keys.

AWS draws a similar boundary. Its Parameter Store comparison recommends AWS Secrets Manager for credentials and other secrets that need purpose-built controls such as automatic rotation, cross-account access, or fine-grained auditing. Parameter Store and AWS AppConfig serve different configuration use cases.

The decision rule is simple:

  • If the value grants authority or reveals protected access, treat it as a secret.
  • If the value changes application behavior but does not grant authority, treat it as configuration.
  • If the workload can obtain access from its identity, do not create a stored secret for it.

Misclassification creates two kinds of failure. Putting ordinary configuration in the vault increases cost, latency, throttling pressure, and operational complexity. Putting credentials in ordinary configuration exposes them to systems and people that never needed secret access.

Design the Boundary Before Adding the Secrets

A central vault can become a central blast radius.

Azure’s current Key Vault security guidance recommends separate vaults by application, region, and environment. That keeps a development identity from becoming a path to production and limits how much a compromised workload can reach.

AWS Secrets Manager uses individual secrets, IAM policies, resource policies, KMS permissions, accounts, and Regions as overlapping boundaries. The design should still separate applications and environments. A role that reads one production database credential should not gain wildcard access to every secret in the account.

Before populating either service, decide:

  • Which application or service owns the secret?
  • Which environment and Region use it?
  • Which workload identities may read it?
  • Which identities may create, update, rotate, delete, restore, or change policy?
  • Which KMS or Key Vault administrators can affect availability without reading the value?
  • Which break-glass process applies?
  • Which logs and alerts must exist before the secret becomes operational?

The runtime reader, secret manager, security administrator, and recovery operator should not silently become the same role.

Separate Runtime Access From Administration

Most applications need very little authority.

A production workload may need to retrieve one current secret. It probably does not need to list every secret, read historical versions, change resource policies, disable logging, modify network access, schedule rotation, or delete the vault.

In Azure, use managed identities and Azure RBAC for data-plane access. Avoid legacy Key Vault access policies for critical workloads. Use Privileged Identity Management for just-in-time administrative roles, require appropriate approval and MFA, and keep control-plane permissions separate from the ability to read secret values.

In AWS, use an IAM role for the workload and scope secretsmanager:GetSecretValue to the required secret resources. Review both identity policies and resource policies. AWS’s Secrets Manager best practices recommend restricting who can call PutResourcePolicy and using the secretsmanager:BlockPublicPolicy condition so a policy granting broad access cannot be attached casually. If a customer-managed KMS key is used, the key policy and IAM policy must preserve the same least-privilege boundary.

Do not measure least privilege by the number of policy statements.

Measure it by the result:

Can this identity retrieve any secret, version, or encryption key outside the exact business function it performs?

Use Private Paths, but Keep Identity as the Control

Network isolation reduces exposure. It does not replace authentication and authorization.

For Azure Key Vault, the most restricted common design disables public network access and uses Azure Private Link private endpoints. If public access is necessary, use the Key Vault firewall and explicitly approved networks. Review any trusted-service bypass carefully; not every Microsoft service participates, and a broad assumption about “trusted Azure traffic” is not a network design.

For AWS Secrets Manager, use an interface VPC endpoint through AWS PrivateLink for workloads operating in a VPC. Scope the endpoint policy as well as the identity and secret resource policies. AWS notes that conditions based only on source IP can fail or behave unexpectedly when AWS services access a secret on the workload’s behalf. VPC and endpoint conditions are useful, but they must be tested with rotation functions and every dependent service.

A private endpoint should answer where the request can travel.

The workload identity and policy should still answer who may retrieve what.

Rotation Is a Distributed Change

Changing the value in the vault is not the same as completing a rotation.

A successful rotation requires at least four things to agree:

  1. The target system accepts the new credential.
  2. The secret service stores the correct current version.
  3. Every authorized consumer refreshes its cached value.
  4. The previous credential is disabled only after the transition is proven.

Azure supports different automation patterns for keys, certificates, and secrets. For secrets backed by systems with one credential, teams must plan for a controlled update window. Where a target supports two credentials, alternating the inactive credential can reduce or eliminate downtime. Event Grid and Azure Functions can coordinate secret rotation and application refresh.

AWS Secrets Manager supports automatic rotation, including single-user and alternating-user strategies. A Lambda rotation function may need access to both Secrets Manager and the target database or service, which means its role, network path, and KMS permissions are part of the rotation boundary.

For both platforms:

  • Set rotation frequency from the consequence and exposure of the credential, not a universal calendar rule.
  • Use version labels or versionless references as designed so consumers can find the current value.
  • Cache secrets in memory rather than retrieving them for every request.
  • Refresh caches when rotation occurs and use bounded retry with exponential backoff.
  • Test rollback and emergency rotation through the same mechanism used for routine rotation.
  • Alert on rotation failure, stalled consumers, use of an old version, and unexpected retrieval after rotation.

The control objective is not “the secret changes every 60 days.”

It is:

The organization can replace the credential quickly, propagate it safely, prove that every required consumer changed, and revoke the old value without an outage.

Protect Availability as Deliberately as Confidentiality

Secrets systems are availability dependencies.

If a vault, key, policy, private DNS path, rotation function, or identity service is unavailable, the application may not start, scale, recover, or connect to its dependencies.

Azure recommends soft delete and purge protection so accidental or malicious deletion does not immediately become permanent. It also recommends backup for objects that cannot be recreated and regular restore testing. The design must account for the fact that deleting or disabling a key can also make every dependent encrypted service unavailable.

AWS Secrets Manager can replicate secrets across Regions for multi-Region workloads and recovery designs. Replication should follow the application architecture; copying a secret into another Region does not by itself prove that the target system, KMS permissions, application configuration, networking, and failover process are ready.

Recovery planning should distinguish three events:

  • The stored object was deleted or corrupted. Can it be restored?
  • The credential was exposed. Can it be replaced and the old value revoked everywhere?
  • The secret service or Region is unavailable. Can the workload continue safely or fail in a controlled way?

Backups help with loss.

They do not remediate compromise.

Monitor the Decision, Not the Secret Value

Secret values should not appear in source repositories, deployment output, tickets, shell history, logs, traces, crash reports, or alert payloads.

The evidence around the secret should be rich even when the value remains invisible.

In Azure, enable Key Vault audit logging, Azure Monitor alerts, lifecycle notifications, and appropriate Defender for Key Vault detections. Use Azure Policy to enforce required settings and identify drift.

In AWS, use CloudTrail for Secrets Manager activity, CloudWatch for operational monitoring, AWS Config for compliance, GuardDuty where applicable, and IAM Access Analyzer to review public or cross-account access. Remember that secret names, descriptions, and tags are metadata; do not put sensitive values in them.

At minimum, preserve and review evidence of:

  • Successful and denied retrievals.
  • Policy, role, key, endpoint, and firewall changes.
  • Secret creation, version changes, deletion, restoration, and replication.
  • Rotation start, completion, failure, and rollback.
  • Retrieval by an unexpected identity, Region, network path, or application.
  • Use of stale credentials after a new version became current.
  • Administrative access outside the expected change process.

The monitoring question is not merely whether the vault was contacted.

It is whether the request matched the expected workload, secret, version, path, and business purpose.

Test the Complete Secrets Control

A secure configuration review is useful.

It is not sufficient evidence that the secrets system works under stress.

Choose one representative production secret and test the complete path:

  1. Identity test: Confirm that the intended workload retrieves the secret without a stored cloud credential.
  2. Authorization test: Attempt retrieval from a different workload, environment, account, tenant, or role and verify denial.
  3. Network test: Attempt access outside the approved private path and verify the result.
  4. Rotation test: Rotate the credential and prove that the target system, secret version, application cache, and old-credential revocation all complete.
  5. Deletion test: Exercise the approved soft-delete or recovery process without endangering production data.
  6. Availability test: Verify application behavior when the secret service, DNS path, or identity dependency is temporarily unavailable.
  7. Evidence test: Reconstruct who retrieved or changed the secret, from where, under which policy, and with what result—without exposing the value.
  8. Emergency test: Simulate a leaked credential and measure how long it takes to replace it, validate consumers, revoke the old value, and investigate use.

This is where a collection of settings becomes an operating control.

What Security Leaders Should Do This Week

Select one application in Azure or AWS that depends on a stored credential.

  1. Ask whether the secret can be removed. Replace it with managed identity, workload federation, an IAM role, or another temporary-credential mechanism where supported.
  2. Classify what remains. Separate credentials from ordinary configuration and customer content.
  3. Draw the boundary. Map the application, environment, Region, identity, vault or secret, encryption key, network path, rotation function, and recovery owner.
  4. Reduce retrieval scope. Prove that the runtime identity can read only the required secret and cannot administer the store.
  5. Verify the private path. Test the Azure private endpoint or AWS VPC endpoint with every dependent workload and rotation component.
  6. Run one rotation. Observe the target update, new version, cache refresh, old-value revocation, logs, and alerts.
  7. Test one recovery path. Confirm that a deleted object can be recovered and that a compromised credential can be replaced through a different procedure.
  8. Set the retirement date. Give every remaining long-lived secret an owner and a plan to eliminate or revisit it.

Then ask the question that a vault dashboard cannot answer:

If this credential is exposed tonight, can we replace it everywhere, revoke it, keep the application running, and prove what happened?

If the answer depends on a person copying values between systems, the secret is centrally stored but not yet safely managed.

Build a Secrets Management System, Not a Secret Collection

Azure Key Vault and AWS Secrets Manager are strong platforms.

They provide the storage, access-control, encryption, versioning, rotation, monitoring, and recovery capabilities needed to manage secrets more safely.

The security result still depends on architecture and operation.

MicroSolved, Inc. can help organizations review cloud identity and secrets-management designs, test application and administrative access paths, assess rotation and recovery procedures, evaluate logging and alerting, and convert cloud-provider guidance into enforceable technical standards and validation plans.

Useful engagements may include:

  • Azure Key Vault and AWS Secrets Manager architecture reviews.
  • Workload identity and least-privilege assessments.
  • Secret discovery and long-lived credential reduction planning.
  • Rotation, revocation, backup, and recovery testing.
  • Cloud configuration, policy, logging, and private-network validation.
  • Application and API testing for credential exposure and authorization weaknesses.
  • Incident-response exercises for leaked keys, tokens, passwords, and certificates.

To discuss a cloud secrets-management review, contact MicroSolved at info@microsolved.com or +1.614.351.1237.

Relax. We’re on watch.

AI tools were used as a research assistant for this content, but human moderation and writing are also included.

 

The Endpoint Passed. The Transaction Failed: Test APIs as Business Systems

The gateway accepts the token.

The request matches the schema. The endpoint rejects malformed input. Rate limits are enabled. Automated scans return no critical findings. Each API operation appears to work as designed.

Then the business transaction fails.

A user applies the same one-time credit twice through concurrent requests. A partner calls the final step before the required approval. A mobile client changes an object identifier and acts on another customer’s record. A cancellation arrives after fulfillment has started but still triggers a full refund. A retry repeats an external payment because the first result was uncertain.

The individual requests may be technically valid.

The sequence, authority, timing, or business result is not.

That is the gap between endpoint security and transaction assurance.

API security should prove that the complete business transaction preserves its intended rules across actors, objects, states, sequence, timing, retries, and failure—not merely that individual endpoints reject malformed requests.

APISec

APIs Implement Business Decisions

An API is not only a technical interface.

It may approve a payment, reserve inventory, change ownership, create an account, release data, issue a refund, alter a configuration, assign a role, trigger a shipment, or call another provider.

The National Institute of Standards and Technology’s updated API protection guidance describes modern enterprise systems as relying on families of APIs to support organizational business processes. The March 2026 update adds API risks and recommended controls organized by lifecycle stage.

That framing matters.

If several APIs jointly implement a business process, assurance cannot stop at the boundary of each endpoint. The organization must also establish whether the combined behavior preserves the business decision.

Consider a simple approval workflow.

One endpoint creates a request. Another attaches supporting data. A third records an approval. A fourth executes the action. Each endpoint can authenticate the caller, validate its input, and return the expected status code.

The workflow can still be unsafe if:

  • The requester can also approve.
  • The approval applies to a different version of the request than the one executed.
  • The execution step can be called before approval.
  • A completed approval can be replayed.
  • Two requests can race and both consume the same limit.
  • A web client enforces a restriction that the underlying API does not.
  • A trusted downstream service accepts more authority than the original user possessed.

The security property lives in the relationships among the calls.

Start With the Business Invariant

Before testing the workflow, state what must remain true.

Call this the business invariant.

Examples include:

  • Only the owner of a record, or an explicitly authorized delegate, may modify it.
  • A requester may not approve their own high-value transaction.
  • A one-time credit may be issued only once to an eligible customer.
  • A payment may execute only for the amount, destination, and order the user approved.
  • A completed or expired step may not be replayed.
  • Inventory may not fall below the permitted threshold.
  • A refund may not exceed the amount actually settled.
  • A tenant administrator may act only within the tenant they administer.

These statements are more useful than “the API requires authentication.”

Authentication identifies an actor. The invariant defines what that actor may cause under specific business conditions.

The OWASP Top 10:2025 keeps broken access control in the first position. Its guidance includes enforcing record ownership, applying business limits in the domain model, and testing functional access control through unit and integration tests.

The OWASP API Security Top 10 adds another important dimension: an endpoint can expose a sensitive business flow whose excessive or automated use harms the business even when the operation is available by design.

The first question is therefore not:

Does the endpoint work?

It is:

What must remain true when this business transaction is performed, repeated, interrupted, reordered, or attempted by the wrong actor?

Build the Transaction Security Model

A useful transaction model has seven parts.

1. Invariant: What must never become false?

Write the rule in business language.

Avoid vague statements such as “prevent fraud” or “enforce authorization.” Name the protected result: who may act, on which object, under what conditions, how often, within which limits, and with what required approvals.

If the team cannot state the invariant, the test plan will inherit the same ambiguity.

2. Actors: Who or what can participate?

List every relevant human and machine identity.

Include customers, employees, administrators, delegates, service accounts, partners, background jobs, mobile applications, web applications, support tools, automation, and downstream providers.

Do not assume that two callers with the same role have the same authority. Ownership, tenant, relationship, device, location, transaction value, approval history, and current risk state may all change the decision.

OWASP’s authorization guidance recommends defining trust boundaries, user types, resources, operations, and the relationships among them during design, then creating tests to prove that those permissions are enforced.

3. Objects: What is being read, changed, or transferred?

Identify the accounts, records, funds, orders, documents, roles, devices, configurations, entitlements, and other objects involved.

Then test ownership and relationship explicitly.

A user may be authorized to call an endpoint without being authorized to act on every object the endpoint can reach. OWASP identifies this as broken object-level authorization: the function is available, but the requested object falls outside the caller’s authority.

4. States: Which conditions change what is allowed?

Define the transaction states and the valid transitions among them.

A request might move from draft to submitted, reviewed, approved, executing, completed, disputed, reversed, or expired. The exact names matter less than making the transitions explicit.

The server should validate the current state before accepting the next action. The client interface should not be the only mechanism preventing a user from skipping ahead, returning to a completed step, or changing a transaction after approval.

OWASP’s business-logic security guidance recommends enforcing workflows as explicit state machines, rejecting replays of completed steps, expiring partial states, and testing the intended business process rather than relying on the user interface to preserve order.

5. Paths: Which interfaces can reach the same business action?

Map every route to the outcome.

The same action may be available through a web application, mobile API, partner integration, administrative console, GraphQL operation, webhook, batch job, legacy version, support function, or internal service.

Controls must be consistent across those paths.

A restriction in the web interface does not protect a directly callable API. An authorization check in a current endpoint does not protect an older version. An administrative function placed beside ordinary functions still requires an explicit decision for the caller. OWASP’s guidance on function-level authorization recommends reviewing the complete role and group hierarchy and denying access by default for every function.

6. Timing: What changes when requests overlap, repeat, or arrive late?

Test concurrency, retries, replay, cancellation, timeout, and partial failure.

Many business rules have the form “check a condition, then act.” That creates a risk when two requests can observe the same valid condition before either records the result.

Test whether:

  • Two requests can redeem the same benefit.
  • A retry repeats a non-idempotent external action.
  • A cancellation races with fulfillment or settlement.
  • An expired approval remains usable.
  • A partial transaction can be resumed after its assumptions changed.
  • A delayed webhook reverses a newer decision.
  • A client changes parameters while reusing an idempotency key.

These are not malformed-request tests.

They are consistency tests.

7. Evidence: What proves the invariant held?

A successful status code is not enough.

Preserve the evidence needed to reconstruct the transaction:

  • The authenticated actor and effective authority.
  • The object, owner, tenant, and relevant relationships.
  • The transaction state before and after the action.
  • The policy or business rule evaluated.
  • The significant values approved by the user or system.
  • The request, decision, downstream action, and final outcome.
  • The retry, replay, or idempotency identifiers.
  • The reason for a denial, exception, override, or reversal.

The purpose is not to log every secret or duplicate sensitive data.

It is to retain enough trustworthy evidence to determine whether the business rule was enforced and to investigate when the outcome is disputed.

Test Valid Data in the Wrong Context

Traditional negative testing often begins with invalid input.

That remains useful. APIs should reject malformed, oversized, unexpected, and dangerous data.

Business-transaction testing adds a different form of negative test:

Use valid data, valid identities, and valid functions in an invalid business context.

Try the correct request with:

  • The wrong owner.
  • The wrong tenant.
  • The wrong role.
  • The wrong relationship.
  • The wrong transaction state.
  • The wrong order of operations.
  • A changed amount or destination after approval.
  • A repeated one-time action.
  • Two simultaneous calls.
  • An alternate client or API version.
  • A delayed or duplicated downstream message.
  • A valid credential whose business authority has changed.

This is where the gap between technical permission and business permission becomes visible.

Keep the Existing Controls

This model is not an argument against gateways, authentication, schema validation, rate limits, automated scanning, code analysis, or endpoint-level testing.

Those controls answer essential questions.

They can establish that a caller presented an accepted credential, a request matched the contract, an input avoided a known weakness, or an endpoint enforced a local policy.

They cannot independently establish that the complete transaction preserved ownership, separation of duties, state, value, timing, and business intent across every participating interface.

Use the controls together:

  1. Define the invariant during design.
  2. Enforce authorization and state on the server.
  3. Test each endpoint’s local requirements.
  4. Test the complete transaction across roles and objects.
  5. Test ordering, replay, concurrency, retries, and failure.
  6. Monitor the business outcome, not only the request volume.
  7. Turn each discovered abuse path into a regression test.

The objective is not to replace automation with manual testing.

It is to give automation better rules to prove.

What Security Leaders Should Do This Week

Choose one API-supported transaction involving money, sensitive data, privilege, inventory, approval, or an irreversible action.

  1. State the invariant. Write one sentence describing what must remain true.
  2. Map the transaction. Identify the actors, objects, states, endpoints, clients, and downstream services involved.
  3. Build the authority matrix. Record who may perform each action on which objects and under which conditions.
  4. Test one sequence failure. Skip a step, reorder two steps, replay a completed step, or modify the transaction after approval.
  5. Test one timing failure. Submit simultaneous requests, repeat an uncertain operation, or race cancellation against completion.
  6. Verify the evidence. Confirm that logs and records show the actor, authority, state, decision, and final outcome without exposing unnecessary sensitive data.
  7. Create the regression. Add the discovered business rule and abuse case to design requirements, automated tests, and release criteria.

Then ask a direct question:

Can we prove that this business transaction stays within its intended limits when every individual request is technically valid?

If the answer is unclear, the endpoint tests are not the end of the assessment.

They are the beginning of the transaction test.

Put Transaction-Level Assurance Into Practice

MicroSolved, Inc. can help organizations evaluate application, API, and mobile workflows where authorization, business logic, and transaction integrity matter.

Useful consulting engagements may include:

  • Identifying high-consequence business transactions and their required invariants.
  • Threat modeling actors, objects, roles, tenants, states, and downstream dependencies.
  • Testing object-level and function-level authorization across web, mobile, administrative, partner, and legacy paths.
  • Evaluating sequence, replay, concurrency, idempotency, cancellation, rollback, and partial-failure behavior.
  • Reviewing API design, gateways, schemas, logging, monitoring, and abuse controls as one assurance system.
  • Converting findings into prioritized mitigations, regression tests, and practical release criteria.
  • Supporting targeted assessments for payments, approvals, account recovery, data access, administrative actions, and other sensitive workflows.

To discuss an application or API security review, contact MicroSolved at info@microsolved.com or +1.614.351.1237.

Relax. We’re on watch.

AI tools were used as a research assistant for this content, but human moderation and writing are also included.

 

Prompt Injection Should Change What Your AI Agent Is Allowed to Do

The support agent is authenticated.

Its token is valid. Its access to the ticketing system is approved. Its connection to the customer database is working exactly as designed.

Then it reads a support ticket containing a hidden instruction to retrieve account data and send it somewhere else.

Nothing about the agent’s identity has changed.

Everything about the safety of its next action has.

That is the authorization problem emerging around AI agents. Traditional access control asks whether a known identity may use a resource. Agentic systems add another question: what information is influencing the agent at this moment, and should that information reduce what the agent is allowed to do?

Static permission is not enough for dynamic context.

The National Institute of Standards and Technology put fresh attention on this issue in a September 29 update about its Software and Agentic AI Identity and Authorization project. NIST’s summary of more than 600 public comments says respondents repeatedly called for separate governance or gateway components to evaluate agent requests. Commenters also argued that authorization policy may need to change when prompt injection is suspected—or whenever an agent is working with untrusted data. (NIST NCCoE, September 29, 2026)

That summary is not a final NIST control standard. It is evidence of where the architecture conversation is moving.

The practical lesson is already useful:

When the trustworthiness of an agent’s context decreases, its authority should decrease with it.

CaneCorsoAI

Strong Identity Does Not Make the Context Trustworthy

Identity and authorization remain essential.

Every consequential agent should have a distinct identity. Its credentials should be protected. Tool access should be scoped. High-impact actions should require stronger controls. Tokens should be short-lived where practical. Human sponsorship and delegation should be attributable.

Those controls answer important questions:

  • Which agent is making the request?
  • Which person or organization authorized it?
  • Which tools and data may it use?
  • What limits apply to its role?

They do not necessarily answer:

  • Did the agent just ingest hostile instructions from an email, document, web page, RAG source, or tool response?
  • Did sensitive information enter the prompt context unnecessarily?
  • Did an external source attempt to redefine the agent’s goal?
  • Is the requested action consistent with the original user’s intent?
  • Should the agent still have write, send, execute, or disclose authority after the context changes?

An agent can be the correct identity, using a valid credential, while acting on corrupted influence.

This is why prompt injection is not merely a content-filtering problem. It is a runtime authorization signal.

The recent NIST comment summary describes the same architectural tension. It notes that language-model systems may not reliably separate untrusted data from trusted instruction, and that respondents favored logically separate governance components at multiple points—from user input and prompt processing to tool calls and cross-boundary requests. (NIST NCCoE summary of comments)

The reasoning system should not be the only system deciding whether its reasoning is safe enough to execute.

Use Trust-Responsive Authorization

The goal is not to reinvent identity management.

It is to make authorization responsive to the current trust state of the workflow.

Call this trust-responsive authorization:

Agent authority is determined by identity, intended task, requested action, data sensitivity, source trust, and observed content risk—not by identity alone.

That model allows an agent’s permissions to step down as risk rises.

State 1: Normal

The agent is operating within its approved mission. Inputs come from expected sources, inspection finds no material risk, requested actions remain within policy, and the agent uses only the minimum tools required.

Normal does not mean unlimited. It means the bounded workflow may continue without extra intervention.

Examples might include:

  • Summarizing a known internal knowledge article.
  • Classifying a routine support request.
  • Retrieving non-sensitive status information.
  • Drafting a response without sending it.

State 2: Constrained

The agent encounters untrusted or privacy-sensitive content, but the workflow can remain useful after controls reduce the risk.

The system may:

  • Sanitize or remove suspicious instructions.
  • Tokenize or redact sensitive values.
  • Defang links.
  • Remove write-capable tools.
  • Restrict retrieval to an approved data set.
  • Convert an autonomous action into a recommendation.
  • Prevent external communication or network egress.

The objective is graceful degradation. The organization keeps useful work moving while reducing the blast radius.

State 3: Review

The context contains suspected prompt injection, conflicting instructions, unusual data access, an unexpected tool request, or another condition that makes autonomous action inappropriate.

The agent may continue gathering non-sensitive evidence, but the consequential action pauses for human review.

The reviewer should see:

  • The original business request.
  • The source and trust level of the suspect content.
  • What was detected or changed.
  • What the agent attempted to do.
  • Which data and tools were involved.
  • Which policy required review.

A generic “AI needs approval” message is not enough. The human needs the context required to make a real decision.

State 4: Stop

The request is clearly malicious, violates policy, attempts to expose protected data, seeks an unauthorized action, or cannot be made safe without destroying the purpose of the workflow.

The system blocks or quarantines the transaction. Depending on the situation, it may also revoke a session, disable a workflow, preserve evidence, or trigger incident response.

These states should be defined by system owners before an agent encounters the problem.

An AI agent should not decide for itself when it deserves more authority.

Put an Independent Control Point in the Path

Trust-responsive authorization requires a signal about the content influencing the agent.

That signal should come from a control point that is separate from the model’s reasoning and placed directly in the workflow.

This is the role of an AI Application Firewall.

CaneCorso™ is MicroSolved’s shared control plane for AI workflows. It sits between workflow content and the model or downstream logic. Based on configured policy, it can allow, sanitize, tokenize, or block content; apply privacy controls; and preserve reasons, scores, and evidence for review.

That makes CaneCorso useful as the inspection and enforcement layer in a trust-responsive architecture.

It does not replace identity and access management. It does not replace scoped tool permissions, secure credentials, application authorization, human approval, or incident response.

It gives those systems information they normally do not have:

Is the content influencing this action safe enough for the workflow to continue in its current mode?

A practical integration can work like this:

  1. Inspect the inbound content. Email, documents, tickets, RAG results, API responses, or tool output pass through CaneCorso before entering the model context.
  2. Apply the content decision. Approved content proceeds. Sensitive or suspicious portions can be sanitized, tokenized, defanged, or blocked according to policy.
  3. Map risk to agent mode. The workflow orchestrator uses the disposition to keep the agent in normal mode, remove higher-risk capabilities, require human review, or stop processing.
  4. Limit tool execution. The authorization layer checks the agent identity, requested action, current mode, data sensitivity, and approval state before a tool runs.
  5. Inspect consequential output. Where model output will drive decisions or actions, route it through a second inspection point before downstream execution.
  6. Preserve the decision record. Send the content-risk result, agent identity, tool request, policy decision, approval, and outcome to the organization’s monitoring and audit systems.

MicroSolved’s earlier production-use article describes this two-layer pattern—inspection before model processing and another check before selected downstream use—in Brent Huston’s own agent environment. (Why My AI Agents Needed CaneCorso as a Security Control Plane)

The key design choice is not merely to log the risk score. It is to make the workflow consume the decision.

A Warning Without an Authority Change Is Only Telemetry

Many AI security designs stop at detection.

The system identifies suspicious content. It writes an event. It may notify a security team. The agent continues with the same tools and privileges it had before the warning.

That is visibility, not control.

If a possible injection does not alter the available action set, the organization is asking a later human process to contain a machine-speed decision. The alert may arrive after the email was sent, the record was modified, the file was retrieved, or the tool call completed.

This does not mean every suspicious string should shut down the workflow. Overblocking can make AI systems unusable and encourage teams to bypass the control.

The better design is proportional response:

  • Low-risk privacy exposure can be tokenized while the workflow continues.
  • A suspicious URL can be defanged before analysis.
  • Untrusted text can be summarized with all action-capable tools removed.
  • A suspected injection can force the agent into read-only mode.
  • A consequential request can require human approval.
  • Clearly malicious content can be blocked and preserved for investigation.

CaneCorso’s allow, sanitize, tokenize, and block outcomes support that more nuanced response. The surrounding application determines which tools remain available and which approvals are required.

That separation of responsibilities matters. The content control should not silently become the identity provider, and the identity provider should not pretend it understands prompt semantics.

Test Whether the Boundary Actually Holds

No prompt-injection control should be treated as infallible.

NIST’s March analysis of a large agent red-teaming competition reported more than 250,000 attack attempts by over 400 participants across 13 frontier models. At least one successful hijacking attack was found against every target model. NIST’s takeaway was not that agent use is impossible. It was that evaluations must evolve with adversaries and that comparative red teaming provides information ordinary static tests may miss. (NIST CAISI, March 23, 2026)

The joint Careful Adoption of Agentic AI Services guidance from agencies including CISA, NSA, and the national cyber centers of Australia, Canada, New Zealand, and the United Kingdom recommends input validation and sanitization, prompt-injection filters, continuous evaluation, fail-safe defaults, human control points, runtime monitoring, and regular attempts to bypass safeguards. (Joint guidance, May 1, 2026)

For one representative agent workflow, test the complete control chain:

  1. Establish a normal task and record the intended agent identity, data sources, tools, and allowed actions.
  2. Introduce hostile instructions through realistic sources such as a ticket, email, document, RAG entry, API response, or tool result.
  3. Confirm that CaneCorso identifies, sanitizes, tokenizes, or blocks the content according to the workflow policy.
  4. Confirm that the resulting disposition changes the agent’s available authority as designed.
  5. Attempt a high-impact action after the risk signal and verify that the authorization layer blocks it or requires human approval.
  6. Verify that the agent cannot recover removed capability by rewriting the request, changing language, splitting the instruction across sources, or calling a different tool.
  7. Inspect the record. Confirm that responders can identify the source, agent, content decision, policy state, requested tool, approval, and final outcome.
  8. Test the failure mode. Decide what happens if the control plane, identity service, logging path, or human approval channel is unavailable.

CaneCorso’s Injection Scanner is designed to help exercise these controls before deployment, after changes, and during assurance reviews. The test still needs to cover the full application behavior. Detecting the input is only one link; the system must also constrain the agent and prevent the unsafe action.

Measure the Decision, Not Just the Detection

Counting detected prompts can be misleading.

A high count may indicate active attacks, a noisy policy, a research feed that contains legitimate attack examples, or ordinary content that resembles instructions. A low count may indicate clean inputs—or weak coverage.

More useful measures connect detection to outcome:

  • Percentage of agent actions carrying a recorded content-risk disposition.
  • Time from suspicious input detection to reduced agent authority.
  • Percentage of high-impact actions attempted after a risk signal and correctly blocked or escalated.
  • Percentage of sensitive values tokenized or redacted before model exposure.
  • Rate of safe workflows disrupted by false positives.
  • Rate of risky workflows allowed because a control failed open, timed out, or was bypassed.
  • Percentage of human reviews with enough evidence to explain the requested action and policy decision.
  • Results of adversarial validation before and after model, prompt, tool, policy, or data-source changes.
  • Time required to reconstruct which content influenced a consequential agent action.

The important metric is not “How many injections did we detect?”

It is:

When the context became less trustworthy, did the system reduce authority before harm occurred?

What Security Leaders Should Do This Week

Choose one agent that consumes external or mixed-trust content.

  1. Name the consequential actions. Identify every send, write, execute, disclose, purchase, delete, or privilege-changing capability available to the agent.
  2. Map the influence paths. Include users, email, documents, RAG sources, web content, API responses, tool output, memory, and other agents.
  3. Add an independent inspection point. Put CaneCorso or an equivalent AI Application Firewall before untrusted content reaches the model and before consequential output reaches downstream logic.
  4. Define the four states. Document what Normal, Constrained, Review, and Stop mean for this workflow.
  5. Bind state to capability. Make the orchestrator and authorization layer remove tools, require approval, or block execution as risk increases.
  6. Run an adversarial test. Use realistic indirect prompt injection attempts and verify the action is prevented—not merely detected.
  7. Preserve the reason. Record what influenced the agent, which policy applied, what authority changed, who approved any exception, and what finally happened.

Agent identity answers who is acting.

An AI Application Firewall helps determine whether the content influencing that agent is safe enough to use.

Authorization must connect the two.

If an agent can encounter hostile context while retaining its full authority, the architecture is trusting the moment when it should become most skeptical.

Prompt injection should not merely create an alert.

It should change what the agent is allowed to do.


Put CaneCorso in Front of Your AI Workflows

CaneCorso™ gives organizations a shared AI Application Firewall for email, document AI, RAG, support workflows, copilots, and agent-driven automation.

MicroSolved, Inc. can help you:

  • Map the content, privacy, tool, and authorization boundaries in an AI workflow.
  • Pilot CaneCorso against a representative production use case.
  • Configure allow, sanitize, tokenize, and block policies.
  • Test prompt-injection defenses with CaneCorso’s Injection Scanner.
  • Connect runtime decisions and evidence to monitoring, review, and audit processes.
  • Design constrained, human-review, and fail-safe operating states for AI agents.

To discuss a CaneCorso pilot or schedule a practical review, contact MicroSolved at info@microsolved.com or +1.614.351.1237.

Relax. We’re on watch.

AI tools were used as a research assistant for this content, but human moderation and writing are also included.

 

A Secure Pipeline Is Not the Same as a Trustworthy Release

The deployment dashboard is green.

The build completed. The scanners ran. The change ticket is closed. The application is in production.

Now ask a harder question:

Can the organization prove that the software running in production came from the reviewed source, was built in the approved environment, passed the required controls, retained every accepted exception, and arrived without substitution?

If the answer is only, “The pipeline succeeded,” the organization has not answered the question.

A pipeline is a workflow. A trustworthy release is a security claim supported by evidence.

That distinction matters because modern delivery systems do more than compile code. They pull dependencies, execute third-party actions, create infrastructure, retrieve secrets, generate artifacts, promote packages, and deploy to production. A green status can show that automation reached its final step. It does not automatically prove that every important input was authorized, every control ran as intended, or the exact artifact that passed review is the artifact now operating.

The National Institute of Standards and Technology reinforced this point in a September 24 update to its live Secure Software Development, Security, and Operations Practices project. The new material maps the Secure Software Development Framework to a DevSecOps model and adds functional scenarios across the software lifecycle. Those scenarios connect build isolation, integrity checks, provenance, software bills of materials, test records, signing, release policy, and deployment verification.

The practical lesson is straightforward:

Do not trust a release because the pipeline is busy with security tools. Trust it when the evidence remains connected from approved input to verified production artifact.

Green Is a Workflow State, Not a Trust Decision

Security teams commonly describe a pipeline by listing its tools.

There is source-code analysis. There is dependency scanning. There is infrastructure-as-code scanning. There is secret detection. There may be container scanning, dynamic testing, artifact signing, and a software bill of materials.

Each capability can reduce risk. Together, however, they still may not answer basic release questions:

  • Which source commit was actually built?
  • Which dependencies and build instructions were used?
  • Which identity requested and executed the build?
  • Did every required control run, or was one skipped, disabled, or misconfigured?
  • Were findings resolved, suppressed, or accepted as risk?
  • Which immutable artifact was approved?
  • Was that exact artifact deployed?
  • Can the evidence be reconstructed after the pipeline logs expire?

A scanner can report on the artifact it received without proving that the artifact was the one later deployed. A signature can protect integrity without proving that the signer was authorized to approve the release. An SBOM can describe components without proving that the build environment was trustworthy. A ticket can record approval without being bound to a specific artifact digest.

These are not arguments against scanners, signatures, SBOMs, or change records. They are reasons to connect them.

NIST Special Publication 800-204D describes CI/CD pipelines as the flow that takes software through build, test, package, and deployment activities, and it outlines strategies for integrating software-supply-chain security into that flow. The security objective is therefore not merely to add controls at individual stages. It is to maintain confidence as software and evidence move between them. (NIST SP 800-204D)

That requires a release evidence chain.

Build the Release Evidence Chain

A useful release evidence chain answers four questions in sequence:

  1. What entered the build?
  2. What happened during the build and test process?
  3. What exactly was approved for release?
  4. What exactly reached production?

The value comes from continuity. If any link refers to a different commit, run, artifact, environment, or approval, the chain is incomplete.

1. Establish the Inputs

Start with the inputs that define the release.

At minimum, the evidence should identify:

  • The source repository and exact commit.
  • The approved change, review, or pull request.
  • The build definition and versioned pipeline configuration.
  • Direct dependencies and other retrieved build materials.
  • Infrastructure-as-code and deployment configuration.
  • The builder identity and requesting identity.
  • The target environment and release criteria.

This is where apparently reproducible work often becomes ambiguous. A pipeline may reference a mutable branch, a floating container tag, an unpinned third-party action, or a package version range. The build can succeed twice while consuming different material.

The Supply-chain Levels for Software Artifacts provenance specification defines provenance as verifiable information about where, when, and how an artifact was produced. Its model includes the build process, top-level inputs, resolved dependencies, builder identity, and output artifacts. Not every organization needs to implement the highest SLSA level immediately. Every organization should be able to identify the inputs that materially determine a production artifact.

The governing question is:

Can we reconstruct what the build trusted, not merely where the source repository lives?

2. Prove What Executed

The next link is the execution record.

NIST’s functional DevSecOps scenarios describe automated builds using ephemeral environments, integrated analysis, repeatable processes, and logged results. They also demonstrate integrity checks for source, commits, images, binaries, and libraries; provenance creation; signed SBOM generation; and captured scanning output. These are examples rather than universal prescriptions, but they show what trustworthy execution must make visible. (NIST functional demonstration scenarios)

For a consequential release, evidence should show:

  • The build ran in an approved and appropriately isolated environment.
  • The expected pipeline definition executed.
  • Required tests and security checks ran against the intended input or artifact.
  • Results were recorded, including tool errors and incomplete scans.
  • Policy gates evaluated those results.
  • Any manual intervention or override was attributable.
  • The build environment did not quietly modify the release after testing.

This last point is easy to miss. If a package is rebuilt during promotion, if configuration is injected outside the governed process, or if a production image is assembled from components different from those tested, the organization has created a new artifact. Prior evidence may no longer describe it.

The proof should also distinguish passed from did not run. An unavailable scanner, an empty report, a timed-out test, and a successful control are different states. A secure release process fails closed where risk demands it and makes degraded controls explicit where business continuity requires an exception.

3. Bind Approval to the Artifact

Release approval should name the thing being approved.

That normally means an immutable identifier such as a cryptographic digest, accompanied by evidence that explains why the artifact is eligible for promotion. The release packet can be assembled automatically and may include:

  • Artifact name, version, and digest.
  • Build provenance or attestation.
  • Signature and signing identity.
  • SBOM and dependency analysis.
  • Test and scan results.
  • Security and functional acceptance criteria.
  • Open findings and their disposition.
  • Approved exceptions, owners, expiration dates, and compensating controls.
  • Change and release approvals.

NIST’s new functional scenarios explicitly connect release documentation with records from tests, scans, and compliance checks. They also include signing and verification before deployment and policies intended to allow only signed, validated software from approved build and test processes to proceed. (NIST functional demonstration scenarios)

This is more than audit packaging.

If an approver accepts risk for artifact A, the approval should not be reusable for artifact B. If a critical scanner did not run, the record should not look identical to a fully tested release. If an emergency change bypasses a normal gate, the deviation should remain attached to the artifact until it is resolved or retired.

An exception hidden in a ticketing system is not part of the release decision unless the promotion process can find and enforce it.

4. Verify Promotion and Deployment

The final link is often the weakest.

Teams may secure the build, sign the artifact, and preserve provenance—then deploy by a path that does not verify any of it.

Provenance is useful only when a consumer checks it. The SLSA artifact-verification guidance calls for comparing the artifact with its provenance, validating the provenance signature, checking the builder identity, and confirming that build parameters match expectations.

At promotion and deployment, the organization should verify:

  • The artifact digest matches the approved release record.
  • The signature and attestation are authentic and valid.
  • The builder and signer are trusted for that application and environment.
  • Required evidence exists and satisfies policy.
  • The target environment received the approved immutable artifact.
  • Unauthorized or unsigned substitutions are rejected.
  • Deployment and runtime inventory can identify the artifact actually operating.

NIST’s scenarios carry this principle into deployment by verifying SBOM and provenance data before deployment and applying policies so only signed and validated software is deployed. The objective is not to sign everything and declare victory. It is to make authenticity and policy verification part of the consuming action.

This closes the most important gap:

The artifact that passed the controls must be the artifact that received the approval, and the artifact that received the approval must be the artifact that reached production.

An Evidence Packet Is Not a Folder Full of Reports

Organizations sometimes respond to assurance demands by saving more output.

That creates volume, not necessarily proof.

A release evidence packet should be machine-associated with a specific build and artifact. It should preserve relationships, not just documents:

  • Commit to build invocation.
  • Build invocation to artifact digest.
  • Artifact digest to test and scan results.
  • Findings to disposition and exception.
  • Approval to artifact digest.
  • Artifact digest to deployment event.
  • Deployment event to running workload or asset inventory.

The packet does not need to be a single file or a new platform. It can be a set of signed attestations, repository records, policy decisions, tickets, and deployment events. What matters is that the organization can follow the links without relying on memory, screenshots, or an engineer who remembers what happened.

The NIST Secure Software Development Framework is deliberately high-level so organizations can integrate its practices into different development lifecycles. That flexibility is useful. It also means leaders should define what evidence demonstrates each practice in their environment.

“We use the tool” is a capability statement.

“Here is the result for the exact artifact in production, and here is how policy consumed it” is an assurance statement.

Measure Evidence Continuity, Not Security-Tool Count

Counting pipeline tools rewards installation. Counting findings rewards detection volume. Neither measure shows whether the release decision can be trusted.

More useful measures include:

  • Percentage of production releases with verified provenance.
  • Percentage of deployments performed by immutable digest rather than mutable tag or name.
  • Percentage of production artifacts whose signature and approval were verified at deployment.
  • Percentage of required controls that produced a conclusive result for each release.
  • Percentage of exceptions linked to an artifact, named owner, compensating control, and expiration date.
  • Time required to identify the source, builder, evidence, approval, and deployment history for a running artifact.
  • Percentage of emergency releases whose evidence gaps were reconciled within the required time.
  • Number of unauthorized, unsigned, or mismatched artifacts rejected during controlled testing.

One particularly revealing metric is time to prove production:

Starting with a running workload, how long does it take to prove what source produced it, how it was built, what controls ran, who accepted the residual risk, and how the artifact was promoted?

If the answer requires several teams, multiple consoles, and manual correlation, the evidence chain is fragile even when every tool is technically present.

Test One Release End to End

Do not begin with an enterprise transformation.

Choose one internet-facing or otherwise consequential service and one recent production release. Ask a developer, platform engineer, security analyst, and service owner to reconstruct the release together.

Start from production and work backward:

  1. Identify the exact running artifact by immutable digest or equivalent identifier.
  2. Find the deployment event and show that it referenced the same identifier.
  3. Find the approval and confirm that it applied to that artifact.
  4. Retrieve the test, scan, and policy results associated with the artifact.
  5. Identify every exception and verify its owner, rationale, compensating control, and expiration.
  6. Retrieve the provenance, signature, SBOM, and build logs.
  7. Trace the build to the exact source commit, build definition, dependencies, builder, and requesting identity.
  8. Confirm that the evidence is retained long enough for incident response, audit, and operational learning.

Then run a negative test in a safe environment.

Try to promote an unsigned artifact. Change the digest after approval. Skip a required control. Use an unapproved builder. Present provenance with an unexpected parameter. Confirm that the release process rejects the change and produces an event responders can use.

The negative test matters because a dashboard can show that the approved path works without proving that an unapproved path is blocked.

The exercise will probably reveal governance issues as well as technical ones. Teams may disagree about who owns the policy, which findings are release-blocking, how emergency changes are reconciled, how long evidence is retained, or whether a vendor-managed deployment exposes enough detail to verify the chain.

Those disagreements are part of the finding.

Scale Assurance by Consequence

Not every internal script needs the same release process as a payment platform, clinical system, or internet-facing identity service.

Use consequence to set the assurance level.

For low-impact software, a minimum evidence packet may include the commit, build identity, artifact digest, required test results, and deployment record. Higher-impact systems may require isolated or hardened builders, signed provenance, verified SBOMs, independent approval, stronger separation of duties, policy enforcement at deployment, and longer evidence retention.

The important point is to make the differences explicit.

A lower-assurance release should be a risk decision, not an accidental byproduct of team maturity. The organization should know which systems lack provenance, which deployment paths accept mutable artifacts, which controls can be bypassed, and who owns the improvement plan.

This also keeps the program practical. The goal is not to create a paperwork tax that slows every change. Evidence should be generated and connected by the delivery process wherever possible. Human attention should focus on policy, exceptions, high-consequence decisions, and failed verification.

Automation moves software quickly. It should move proof with equal discipline.

What Security Leaders Should Do This Week

Start with one production service and one release.

  1. Name the artifact. Record the immutable identifier for what is actually running.
  2. Trace the chain backward. Connect deployment, approval, test results, build record, and reviewed source.
  3. Find the silent states. Identify controls that can time out, fail open, return empty results, or be skipped without a distinct release decision.
  4. Bind exceptions to releases. Require an owner, rationale, compensating control, expiration date, and artifact reference.
  5. Verify at deployment. Confirm that signatures, provenance, builder identity, and required evidence are checked when software is promoted—not merely created earlier.
  6. Run one negative test. Attempt a safe substitution or skipped-control scenario and verify that the process blocks it.
  7. Measure time to prove production. Set a target for reconstructing the complete evidence chain during an incident or audit.

A modern pipeline can run dozens of tools and still produce an untrustworthy release.

The difference is evidence continuity.

When source, build, controls, exceptions, approval, artifact, and deployment remain bound together, the organization can make a defensible claim about what reached production.

Without that chain, green means only that the workflow finished.


More Information and Assistance

MicroSolved, Inc. can help organizations:

  • Assess CI/CD, DevSecOps, and software-supply-chain controls.
  • Map release evidence from source through production deployment.
  • Review build isolation, signing, provenance, SBOM, and artifact-verification practices.
  • Test release gates, exception handling, and unauthorized-artifact rejection.
  • Design practical assurance tiers for high-consequence systems and vendors.
  • Build release, incident-response, and audit evidence playbooks.

Contact MicroSolved at info@microsolved.com or +1.614.351.1237.

Relax. We’re on watch.

AI tools were used as a research assistant for this content, but human moderation and writing are also included.

 

Account Recovery Is Becoming the New Identity Attack Surface

As passkeys and phishing-resistant authentication reduce password risk, attackers will move pressure to the recovery plane.

The industry is moving in the right direction.

Passkeys, FIDO2/WebAuthn, hardware security keys, conditional access, better MFA policies, and risk-based sign-in controls are all meaningful improvements. They reduce entire classes of credential theft. They make phishing harder. They remove reusable passwords from many authentication ceremonies. They shift more of the security burden from user judgment to protocol design.

That is good.

But it is not the finish line.

In my recent passkeys article, I called out a point that deserves its own treatment: passkeys do not solve weak account recovery, help desk social engineering, stolen session tokens, OAuth consent abuse, unmanaged vendor access, or excessive privilege. They are a major step forward, but they do not remove the rest of the identity attack surface.

That matters because attackers adapt.

Continue reading →

Passkeys, Not Passcodes: A Practical Enterprise Guide to Moving Beyond Passwords

There is a small terminology problem in the identity world right now, and it matters more than it looks.

A passcode or PIN is usually a local unlock secret. It unlocks a phone, a laptop, Windows Hello, an authenticator app, or a hardware security key. A passkey is different. A passkey is the standards-based replacement for passwords, built on FIDO2/WebAuthn. The user unlocks the passkey locally with a fingerprint, face scan, device PIN, pattern, or security key, but the website or application receives cryptographic proof — not a reusable password. FIDO defines passkeys as FIDO authentication credentials based on FIDO standards, tied to an account, and used with the same process the user already uses to unlock a device.

That distinction is not pedantry. It is the difference between a local unlock method and a replacement for one of the most abused controls in the history of computing.

Passwords have had a long run. They also have had a long list of failures: reuse, phishing, spraying, stuffing, database theft, weak reset workflows, help desk abuse, and user fatigue. We have spent decades trying to compensate for those failures with complexity rules, expiration schedules, password managers, SMS codes, mobile push prompts, training campaigns, and detective controls.

Some of those helped. Some just moved the pain around.

Passkeys change the model.

Continue reading →

AI Agents Are Already Working for You. Who’s Managing Them?

AI Agents Are Not Applications. They Are Digital Workers.

Most organizations are adopting AI agents faster than they are learning how to govern them.

That is the problem.

A chatbot that answers questions is one thing. An AI agent that can access business data, use tools, trigger workflows, generate artifacts, make recommendations, or alter enterprise state is something else entirely.

At that point, the organization is no longer just deploying software.

It is introducing a new kind of operational actor.

That actor needs identity.

It needs boundaries.

It needs oversight.

It needs evidence.

It needs a human owner.

It needs a kill switch.

In other words, AI agents must be managed more like digital workers than ordinary applications.

AIAgentBanner

Continue reading →

Why My AI Agents Needed CaneCorso as a Security Control Plane

AI agents are powerful because they can read, reason, summarize, decide, and act across a wide range of information sources.

That is also what makes them dangerous.

The more useful an agent becomes, the more likely it is to consume data I do not fully trust. Emails. Newsletters. RSS feeds. API responses. Documents sent as attachments. Social media. YouTube transcripts. Scraped search results. Web pages. Translated content. Random bits of text pulled from places where I do not control the author, the formatting, the intent, or the payload.

That is a very different security model than the one most of us are used to.

In traditional applications, we spend a lot of time separating code from data, users from administrators, trusted networks from untrusted networks, and internal systems from the internet. With LLMs and agents, all of those boundaries start to blur. Instructions, context, content, and intent all arrive in the same stream. The model has to reason over that stream, and the agent has to decide what to do with the result.

That is exactly why I wanted a security control plane in front of my own AI agents.

For me, that control plane became CaneCorso™.

CaneCorsoAI

Continue reading →

CaneCorso™ and the Real Problems AI Is Creating for the Business

AI didn’t sneak into the enterprise.

It walked in through productivity.

Email triage. Document handling. Support workflows. Internal copilots. Retrieval systems. Early agentic use cases. All of it made sense at the time. All of it still does.

But something changed along the way.

We didn’t just adopt AI—we embedded it into workflows that can influence decisions, expose data, and take action.

That’s where the problem starts.

And it’s exactly where CaneCorso™ is designed to operate.

CaneCorsoAI


AI Risk Isn’t a Model Problem — It’s a Workflow Problem

There’s a persistent misunderstanding in the market right now.

Most conversations about AI security still center on the model—what it knows, how it behaves, whether it can be tricked.

That’s not where the real risk lives.

The real risk shows up when:

  • Untrusted content enters a workflow
  • That workflow uses AI to interpret or transform it
  • And the output influences business operations

That content might come from:

  • Email
  • Documents
  • OCR pipelines
  • Retrieved knowledge (RAG)
  • Support tickets
  • External data sources

Once it’s in the workflow, it’s no longer just data.

It’s influence.

CaneCorso™ exists to control that influence—before it becomes an operational problem.

Continue reading →