# AgentCore's Credential Question: What Can the Shell Reach?

**Plutonous** | October 5, 2026 | 5 min read

> Unit 42's September research sharpens an October deployment question: session isolation, scoped tools and runtime credential protection are different controls.

Tags: AWS, AgentCore, AI Agents, Agent Security, Prompt Injection, Identity, Cloud Infrastructure, MCP

---

**TL;DR: AWS documents 2 default Harness tools, shell and file operations, unless the operator restricts them; its microVM isolation separates sessions.<sup><a href="#source-2">[2]</a></sup><sup><a href="#source-4">[4]</a></sup> LLMRumors' analysis: protecting an agent's credentials also requires deciding which components inside that session may use or read them.**

Unit 42's September 18, 2026 report, [recirculated on X on October 1](https://x.com/nivmorabin/status/2105725290047504810), describes prompt injection leading to a shell reading a runtime credential and accessing a simulated downstream service. The researchers say AWS closed their report as informative on June 10.<sup><a href="#source-1">[1]</a></sup> This October 5 article analyzes the deployment implications.<sup><a href="#source-9">[9]</a></sup>

The real story isn't whether a credential vault is useful. It is where authority moves after an agent starts working. A support workflow can look narrow to its user while depending on a service identity with substantially broader access. The architecture must preserve that difference when untrusted material enters the workflow.

Our [earlier agent-sandbox analysis](/news/agent-sandboxes-e2b-daytona-modal-security) examined isolation choices across platforms. This case concerns credential authority inside one session, a distinct question from the boundary around it.


### Why This Matters Now

A managed agent can combine cloud isolation, a powerful shell and authenticated integrations in one product. Procurement should ask which boundary each control enforces. A feature list alone cannot answer that question.


*Cover: newly generated editorial ink engraving of a terminal chamber beside a locked credential vault and a separate doorway. It is illustrative artwork, not a product screenshot or measured evidence.*

## Session Isolation: Name the Boundary Before Trusting It

AWS describes dedicated microVMs with separate CPU, memory and filesystem resources for user sessions.<sup><a href="#source-4">[4]</a></sup> Those are valuable controls against one session reaching another. They do not, by themselves, specify which components inside a single session may inspect each other.

Ask what sits together inside the sandbox, what code receives authority, and which trusted component supplies downstream authentication. A boundary around an application can still contain components with different trust requirements.

AWS's Harness overview combines managed infrastructure with an agent's own shell and filesystem.<sup><a href="#source-3">[3]</a></sup> That combination is the product's appeal: teams spend less effort building the surrounding machinery. It also makes the diagram of internal authority a necessary part of deployment review, alongside the diagram of cloud tenancy.

## Vault Encryption: Storage Protection Has a Defined Scope

AWS documents automatic token-vault encryption at rest with AWS-owned KMS keys, with customer-managed keys available as an alternative.<sup><a href="#source-10">[10]</a></sup> Our inference: choosing who administers the encryption key is a different decision from choosing which running component can access a usable credential. Evaluate both. A stronger storage policy does not establish separation between a shell and an authentication process.

## Default Tools: Every Capability Needs an Owner

The Tools guide says omitting `allowedTools` permits all tools. It also distinguishes model-selected tools from a separate direct-command API with its own IAM permission.<sup><a href="#source-2">[2]</a></sup> Restricting the former does not establish that the latter is denied.

Our recommendation is operational: own the effective permission set at the application boundary. Document the capabilities a workflow requires, test that unrelated capabilities are unavailable, and repeat the check when adding an integration. A declared tool list should be a testable contract rather than a reminder in a configuration file.

This introduces a real tradeoff. General-purpose execution is useful precisely because it avoids anticipating every operation. Narrow tools make permitted behavior easier to enumerate. Choose that flexibility deliberately for each workload, and budget for the engineering needed to contain it. The cost belongs in the business case for automation.

## Identity: Invocation and Downstream Access Are Separate Decisions

AgentCore Identity manages authentication and credentials for agents accessing AWS and third-party services.<sup><a href="#source-5">[5]</a></sup> From an application-design perspective, however, an identity service cannot decide which customer record a particular support request should see. That requires the surrounding authorization policy.

AWS's Harness security guide describes user-scoped downstream credentials through inbound OAuth. It says SigV4 callers currently do not receive that per-user propagation.<sup><a href="#source-6">[6]</a></sup> Teams should therefore verify the actual identity flow instead of assuming every integration inherits the caller's permissions.

AWS documents deterministic policy evaluation for traffic passing through AgentCore Gateway, including rules based on user identity and tool inputs.<sup><a href="#source-11">[11]</a></sup> That gives teams an enforcement point beyond the model's explanation. Its scope matters: a Gateway policy should not be counted as control over every command executed by a shell. Map the routes that pass through it and the routes that do not.

## Shared Responsibility: Turn Documentation Into Acceptance Criteria

AWS's general responsibility model says customer obligations vary with the service and integration.<sup><a href="#source-7">[7]</a></sup> Its Identity data-protection guidance places security configuration with the customer and recommends activity logging and credential protection.<sup><a href="#source-8">[8]</a></sup> Those statements explain ownership; they are not independent confirmation of the researchers' reported experiment.

The VPC guide says security groups govern which resources the runtime can communicate with and recommends least-privilege rules plus VPC Flow Logs.<sup><a href="#source-12">[12]</a></sup> Our synthesis: network reach, tool permission and data authorization are separate acceptance criteria. Verify them with harmless synthetic data, including a disallowed destination and a disallowed business action. Access to an approved service does not mean every operation there should be authorized.


### The Boundary That Matters

LLMRumors' architectural recommendation: keep secret-bearing authentication components outside the reach of general-purpose execution, and enforce downstream permissions independently of the model's reasoning. This is a design recommendation, not a claim that every AgentCore deployment is exposed.


Managed infrastructure makes agent deployment easier. It does not erase the operator's obligation to understand delegated authority. The enterprise advantage will belong to teams that can explain, test and constrain what their agents may actually do.


## Sources

<a id="source-1"></a>
1. [AgentCore credential research](https://unit42.paloaltonetworks.com/securing-aws-agentcore-harness-credentials/)

<a id="source-2"></a>
2. [Harness tools](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/harness-tools.html)

<a id="source-3"></a>
3. [AgentCore Harness overview](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/harness.html)

<a id="source-4"></a>
4. [AgentCore Runtime](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/agents-tools-runtime.html)

<a id="source-5"></a>
5. [AgentCore Identity](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/identity.html)

<a id="source-6"></a>
6. [Harness security and access controls](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/harness-security.html)

<a id="source-7"></a>
7. [Shared responsibility model](https://aws.amazon.com/compliance/shared-responsibility-model/)

<a id="source-8"></a>
8. [Identity data protection](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/identity-data-protection.html)

<a id="source-9"></a>
9. [October 1 research recirculation](https://x.com/nivmorabin/status/2105725290047504810)

<a id="source-10"></a>
10. [Identity data encryption](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/identity-data-encryption.html)

<a id="source-11"></a>
11. [Policy in AgentCore](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/policy.html)

<a id="source-12"></a>
12. [AgentCore VPC configuration](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/agentcore-vpc.html)


*Last updated: October 5, 2026*

---

*Source: [LLM Rumors](https://www.llmrumors.com/news/agentcore-harness-credential-boundary)*
