Skip to content
RCE Disclosed report Advanced

Python Sandbox Escape in AWS MCP Server `run_script`

The AWS MCP Server's run_script tool executed caller-supplied Python in a sandbox whose AST validator missed implicit attribute access performed by match/case class patterns, and whose runtime type proxy made the function type mutable. An attacker could escape the sandbox to run arbitrary commands, read the filesystem and disclose the Lambda execution role's credentials.

xplo1t Follow

Originally disclosed on HackerOne

Medium 6.4 View original
  • Triaged in 3 months
  • Fixed in 3 months
  • Disclosed after 4 months

Description: The aws___run_script tool of the AWS MCP Server executes caller-supplied Python inside a hardened sandbox in a Lambda function named CodeModeSandbox. The sandbox has two layers: a static AST validator that blocks dangerous imports, builtins and attribute-access patterns, and a runtime layer that replaces builtins with proxies and restricts open().

I found a complete escape of that sandbox. It yields arbitrary command execution as the Lambda user, filesystem read, disclosure of the sandbox's own source code, and disclosure of the Lambda execution role credentials.

The chain combines two things:

  1. match/case class patterns (Python 3.10+) performs an implicit getattr() at the C level, which the AST validator never sees because it is not an attribute access or a getattr() call in the user's source.
  2. The runtime layer's own type-proxy (_safe_type in safe_exec.py) hands user code a mutable heap type in place of the immutable types.FunctionType. That is what lets the exploit assign __match_args__ onto the function type which is an assignment CPython itself refuses, and the one operation the whole chain depends on. Outside the sandbox, in normal Python 3.10+ environments, the same line raises TypeError: cannot set '__match_args__' attribute of immutable type 'function'.

The AST validator blocks:

  • dot-notation dunder access -> obj.__class__
  • getattr() calls -> getattr(obj, "__class__")
  • operator.attrgetter -> the operator import is blocked

However, it does not block writes to __match_args__ and it does not inspect the implicit getattr() performed by MatchClass. This gives the arbitrary attribute reads on any object.

Steps To Reproduce:

The attached harness reproduces this end to end. It talks to the endpoint the same way a coding agent does using uvx mcp-proxy-for-aws, SigV4-signed with local AWS credentials. Prerequisites: Python 3.10+, uv installed (for uvx), and AWS credentials for any identity entitled to call the MCP endpoint. I used a dedicated least-privilege IAM user (████████).

  1. Unzip the attached pentest-harness.zip and install the client.
Bash
unzip pentest-harness.zip
cd pentest-harness
python -m venv .venv && source ./venv/bin/activate
pip install -r requirements.txt
  1. Configure AWS credentials (env vars, ~/.aws/)
  2. Run the single command inside the endpoint:
Bash
python3 rce.py --endpoint https://aws-mcp.eu-central-1.api.aws/mcp --region eu-central-1 'id'

It returns uid=993(sbx_user1051) gid=990 groups=990 confirming that we are able to execute the id command on the system. Executing the env command similarly returns the Lambda execution role's AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN.

████████

The Lambda execution role belongs to the service account ████████ which is AWS owned account.

Account used for testing: ████████ Service Account running on Lambda: ████████

What couldn't be exploited

  • No cross tenant or cross session access: Each MCP session gets its own container.
  • Lambda role credentials have blanket explicit Deny * blocking every AWS API call I tried across 30+ services. Only sts:GetCallerIdentity works, which as per AWS documentation cannot be denied.
  • No network egress.

Impact

Summary:

  1. Arbitrary command eecution => id -> uid=993(sbx_user1051) gid=990 groups=990
  2. Lambda role credential disclosure => AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY / AWS_SESSION_TOKEN read from the environment variables.
  3. Filesystem read => Read-only root FS readable; /tmp writable.

The original report as published on HackerOne, by xplo1t. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 5 min read.

Context

The target is the AWS MCP Server, documented at https://docs.aws.amazon.com/agent-toolkit/latest/userguide/mcp-server.html. The server exposes a tool called aws___run_script that executes caller-supplied Python inside a hardened sandbox running in a Lambda function named CodeModeSandbox. Coding agents call the endpoint to run small scripts against AWS, so the tool is reachable by any identity that is entitled to call the MCP endpoint.

The sandbox has two layers:

  1. A static AST validator that blocks dangerous imports, builtins and attribute-access patterns.
  2. A runtime layer that replaces builtins with proxies and restricts open().

The researcher found a complete escape of both layers, yielding arbitrary command execution as the Lambda user, filesystem read, disclosure of the sandbox's own source code, and disclosure of the Lambda execution role credentials. The report was filed against the AWS VDP on HackerOne, rated medium with a CVSS of 6.4, under the weakness "Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')", and disclosed on 24 November 2026.

Setup

Preconditions listed in the report:

  • Python 3.10 or later.
  • uv installed, for uvx.
  • AWS credentials for any identity entitled to call the MCP endpoint. The researcher used a dedicated least-privilege IAM user.
  • The attached pentest-harness.zip, which talks to the endpoint the same way a coding agent does, using uvx mcp-proxy-for-aws with SigV4 signing from local AWS credentials.

Finding it

The escape combines two gaps in the sandbox's two layers.

The AST validator blocks:

  • dot-notation dunder access, such as obj.__class__;
  • getattr() calls, such as getattr(obj, "__class__");
  • operator.attrgetter, because the operator import is blocked.

Two gaps stood out:

  1. match/case class patterns (Python 3.10+) perform an implicit getattr() at the C level. The AST validator never sees it, because it is neither an attribute access nor a getattr() call in the user's source.
  2. The runtime layer's own type proxy, _safe_type in safe_exec.py, hands user code a mutable heap type in place of the immutable types.FunctionType. That lets the exploit assign __match_args__ onto the function type, an assignment CPython itself refuses and the one operation the whole chain depends on.

Outside the sandbox, in normal Python 3.10+ environments, the same line raises:

Text
TypeError: cannot set '__match_args__' attribute of immutable type 'function'

The validator does not block writes to __match_args__, and it does not inspect the implicit getattr() performed by MatchClass. Together these give arbitrary attribute reads on any object.

Exploitation

Step 1: Unpack the harness and install the client

Bash
unzip pentest-harness.zip
cd pentest-harness
python -m venv .venv && source ./venv/bin/activate
pip install -r requirements.txt

This sets up the client that speaks to the MCP endpoint the same way a coding agent does, through uvx mcp-proxy-for-aws, with SigV4 signing.

Step 2: Configure AWS credentials

Credentials are supplied through environment variables or ~/.aws/. Any identity entitled to call the MCP endpoint works; the researcher used a dedicated least-privilege IAM user.

Step 3: Run a command inside the endpoint

Bash
python3 rce.py --endpoint https://aws-mcp.eu-central-1.api.aws/mcp --region eu-central-1 'id'

The script sends the payload to the aws___run_script tool through the MCP endpoint in eu-central-1. The command returns:

Text
uid=993(sbx_user1051) gid=990 groups=990

That confirms execution of the id command on the system as the sandbox user.

Step 4: Read the Lambda execution role credentials

Running the env command the same way returns the Lambda execution role's AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN.

The Lambda execution role belongs to an AWS-owned service account. The report records the account used for testing and the service account running on Lambda, both redacted here.

Root cause

The escape combines two weaknesses.

First, the AST validator reasons about source syntax only. It blocks dot-notation dunder access, getattr() calls and operator.attrgetter, but match/case class patterns reach attributes through an implicit getattr() performed by MatchClass at the C level. Nothing in the user's source looks like an attribute access, so the validator has nothing to match on. It also does not block writes to __match_args__, which the chain needs.

Second, the runtime layer's type proxy _safe_type in safe_exec.py substitutes a mutable heap type for the immutable types.FunctionType. That is what allows __match_args__ to be assigned onto the function type. In normal Python 3.10+ the same assignment fails with TypeError: cannot set '__match_args__' attribute of immutable type 'function'. The proxy hands user code a mutable heap type in place of the immutable function type.

Impact

The report lists three outcomes:

  1. Arbitrary command execution: id returns uid=993(sbx_user1051) gid=990 groups=990.
  2. Lambda role credential disclosure: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN are read from the environment variables.
  3. Filesystem read: the read-only root filesystem is readable and /tmp is writable.

The report also discloses the sandbox's own source code.

The researcher documents what could not be exploited:

  • No cross-tenant or cross-session access: each MCP session gets its own container.
  • The Lambda role credentials have a blanket explicit Deny * blocking every AWS API call tried across more than 30 services. Only sts:GetCallerIdentity works, which per AWS documentation cannot be denied.
  • No network egress.

So the practical reach of the credentials is limited by the role's explicit deny policy, and each MCP session gets its own container.

Fix

The report does not describe a fix or a change made by AWS. Based on the root cause, the validator would need to treat match/case class patterns as attribute access, and the runtime layer should not hand user code a mutable substitute for an immutable type such as types.FunctionType.

Variants to test

  • Other implicit attribute reads. Look for syntax that reaches attributes without dot notation or getattr(), such as class patterns in match/case, and check whether the validator inspects the resulting attribute. A positive result is reading an attribute the validator is meant to block, such as a class or module reference.
  • Writes to special attributes. Try assigning attributes such as __match_args__ on types the runtime proxy exposes. A positive result is an assignment succeeding inside the sandbox that raises TypeError in normal Python.
  • Proxy type substitutions. Enumerate what _safe_type returns for each blocked type and check whether any substitute is mutable where the original is immutable. A positive result is a mutable type where CPython would refuse the assignment.
  • Validator coverage of new syntax. Feed the validator newer Python constructs that desugar to attribute access and see whether they pass. A positive result is a construct that reaches an attribute the blocklist targets.
  • Environment disclosure. Run env or equivalent through any script-execution tool. A positive result is credentials or tokens in the output.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 16 min read.

What happened, in plain words

A security researcher found a way to break out of a safety box that Amazon built around a tool in its AWS MCP Server. The tool is called aws___run_script, and its job is to run small Python programs that customers (or the AI coding assistants acting for them) send to it. Because running someone else's code is risky, Amazon wrapped it in a sandbox: a restricted environment meant to stop that code from doing anything harmful.

The researcher got out of the sandbox completely. Once out, the code could run ordinary system commands, read files on the machine, read the sandbox's own source code, and read the secret credentials that the machine uses to identify itself to AWS.

The report was filed on HackerOne against the AWS Vulnerability Disclosure Program (a scheme where people report security problems to Amazon). It was rated medium severity, with a CVSS score of 6.4, and disclosed on 24 November 2026. No bounty is recorded.

To follow the rest, you only need a few ideas:

  • A server is a computer somewhere that answers requests from other computers.
  • An API is the set of doors a program offers so other programs can ask it to do things. Think of a restaurant menu: you do not walk into the kitchen, you order from the menu and food comes back.
  • An endpoint is one specific address on that menu, like one dish. Here it is a web address that accepts requests.
  • A tool in this context is one named action an AI assistant can ask the server to perform, such as "run this script".
  • A sandbox is a fenced play area. Children can play inside it, but they cannot wander into the rest of the house. In computing, it is a restricted environment where code runs with limits on what it can touch.
  • A credential is a proof of identity, like a passport. AWS credentials are strings of characters that let a program prove which AWS account it belongs to.
  • A token is a short-lived credential, like a visitor badge that expires at the end of the day.

The target

The target is the AWS MCP Server, documented at https://docs.aws.amazon.com/agent-toolkit/latest/userguide/mcp-server.html. It exposes a tool called aws___run_script that executes caller-supplied Python inside a hardened sandbox running in a Lambda function named CodeModeSandbox.

A Lambda function is a small program that Amazon runs on demand in the cloud, without anyone managing a server for it. Coding agents call the endpoint to run small scripts against AWS, so the tool is reachable by any identity that is entitled to call the MCP endpoint. An identity here means an AWS user or role: the account name and secret that a program uses to sign in.

The sandbox has two layers:

  1. A static AST validator that blocks dangerous imports, builtins and attribute-access patterns.
  2. A runtime layer that replaces builtins with proxies and restricts open().

Those two layers need unpacking, because the whole story turns on them.

Layer 1: the static AST validator. When Python runs a program, it first reads the text and turns it into a tree-shaped description of what the program says: this is called an AST, short for Abstract Syntax Tree. Think of a sentence diagram from school: the words are still there, but arranged by role (subject, verb, object). A validator that works on the AST looks at that tree before anything runs and refuses programs containing shapes it dislikes. It is like a bouncer reading the guest list before the party, not watching the dance floor.

Layer 2: the runtime layer. This is protection applied while the program runs. Builtins are the functions and names Python gives you for free, such as print, len or open. Replacing them with proxies means giving the user a stand-in object that looks like the real one but can refuse certain actions, like a receptionist who takes your message instead of letting you walk into the office. open() is the built-in function for opening files; restricting it means the sandbox tries to control which files can be opened.

The researcher found a complete escape of both layers, yielding arbitrary command execution as the Lambda user, filesystem read, disclosure of the sandbox's own source code, and disclosure of the Lambda execution role credentials. In plain terms: run any command, read any file, read the sandbox's own code, and read the machine's AWS identity.

A Lambda execution role is the identity that a Lambda function is given so it can talk to other AWS services. Its credentials are the keys that prove that identity.

Setup

Preconditions listed in the report:

  • Python 3.10 or later. Python is the programming language the tool runs; version 3.10 matters because it introduced a feature the exploit relies on.
  • uv installed, for uvx. uv is a tool for installing and running Python programs; uvx is its command for running a program without a permanent install.
  • AWS credentials for any identity entitled to call the MCP endpoint. The researcher used a dedicated least-privilege IAM user. IAM is Amazon's system for managing users and permissions; least-privilege means an account that has only the minimum permissions it needs, so if it leaks, little is lost.
  • The attached pentest-harness.zip, which talks to the endpoint the same way a coding agent does, using uvx mcp-proxy-for-aws with SigV4 signing from local AWS credentials.

A harness is a prepared set of scripts that drives a test automatically, like a rig in a workshop that holds the parts in place. SigV4 is Amazon's scheme for signing web requests with your credentials so the server can check they are genuine; the signature is computed from the request and the secret key, so it cannot be forged without the key.

Finding it

The escape combines two gaps in the sandbox's two layers.

An attribute is a named piece of an object, reached in Python with a dot: in car.colour, colour is an attribute of car. Some attributes are special, with names wrapped in double underscores, such as __class__. These are called dunders (double underscores). They are powerful: __class__ tells you what kind of object something is, and from there a clever program can climb to other, more dangerous objects. That is why sandboxes block them.

The AST validator blocks:

  • dot-notation dunder access, such as obj.__class__;
  • getattr() calls, such as getattr(obj, "__class__");
  • operator.attrgetter, because the operator import is blocked.

getattr() is a built-in function that fetches an attribute by name given as text: getattr(obj, "__class__") does the same as obj.__class__. operator.attrgetter is a helper from Python's operator module that builds a function for fetching an attribute; blocking the import of that module removes it from reach.

Two gaps stood out:

  1. match/case class patterns (Python 3.10+) perform an implicit getattr() at the C level. The AST validator never sees it, because it is neither an attribute access nor a getattr() call in the user's source.
  2. The runtime layer's own type proxy, _safe_type in safe_exec.py, hands user code a mutable heap type in place of the immutable types.FunctionType. That lets the exploit assign __match_args__ onto the function type, an assignment CPython itself refuses and the one operation the whole chain depends on.

These two need slow explanation.

match/case class patterns. Python 3.10 added a feature that lets a program test the shape of a value, a bit like a sorting machine that sends items down different chutes depending on what they are. A class pattern asks: is this value an instance of this class, and if so, does it have these attributes? To answer, Python quietly fetches those attributes itself, deep inside its C implementation (C is the lower-level language Python is built on). The user's source text contains no dot and no getattr(), so the bouncer reading the guest list sees nothing suspicious. The fetch happens anyway.

Mutable versus immutable types. A type is a category of value: integer, string, function. Immutable means it cannot be changed after creation; mutable means it can. CPython, the standard Python implementation, deliberately makes the function type immutable, so nobody can bolt new attributes onto it. types.FunctionType is the name of that function type. __match_args__ is a special attribute that tells match/case which attributes to look at when matching a class pattern.

The runtime layer's proxy _safe_type handed user code a mutable stand-in for the function type. Instead, it handed user code a mutable stand-in for the function type. That is what let the exploit write __match_args__ onto the function type, an assignment normal Python refuses.

Outside the sandbox, in normal Python 3.10+ environments, the same line raises:

Text
TypeError: cannot set '__match_args__' attribute of immutable type 'function'

This is Python's own refusal: a TypeError is the error Python raises when you use a value in a way its type does not allow. The message says you cannot set __match_args__ on the immutable type function. The fact that the sandbox did not raise this is the tell that the proxy had swapped in something mutable.

The validator does not block writes to __match_args__, and it does not inspect the implicit getattr() performed by MatchClass. MatchClass is the internal name for the operation Python performs when it evaluates a class pattern. Together these give arbitrary attribute reads on any object: the attacker can fetch any attribute of anything, which is the foothold needed to climb to more powerful objects.

Exploitation

Step 1: Unpack the harness and install the client

Bash
unzip pentest-harness.zip
cd pentest-harness
python -m venv .venv && source ./venv/bin/activate
pip install -r requirements.txt

Line by line:

  • unzip pentest-harness.zip unpacks the compressed archive the researcher attached to the report, producing a folder of scripts.
  • cd pentest-harness moves the terminal into that folder, so the following commands act on its files.
  • python -m venv .venv && source ./venv/bin/activate creates a virtual environment, a private, isolated set of Python packages kept in a folder called .venv, and then activates it so the terminal uses that set. The && means "and then, only if the first part succeeded". Isolation matters because it keeps the test tools from interfering with anything else on the machine.
  • pip install -r requirements.txt installs the Python packages listed in requirements.txt, the harness's shopping list of dependencies.

This sets up the client that speaks to the MCP endpoint the same way a coding agent does, through uvx mcp-proxy-for-aws, with SigV4 signing.

Step 2: Configure AWS credentials

Credentials are supplied through environment variables or ~/.aws/. Environment variables are named values a program can read from its surroundings, like notes left on the desk before it starts. ~/.aws/ is the conventional folder where AWS tools look for stored configuration and credentials. Any identity entitled to call the MCP endpoint works; the researcher used a dedicated least-privilege IAM user, so that the test account could do nothing beyond calling the endpoint.

Step 3: Run a command inside the endpoint

Bash
python3 rce.py --endpoint https://aws-mcp.eu-central-1.api.aws/mcp --region eu-central-1 'id'

Line by line:

  • python3 rce.py runs the harness script. rce stands for remote code execution, the security term for making a remote system run code of your choosing.
  • --endpoint https://aws-mcp.eu-central-1.api.aws/mcp tells the script which web address to talk to. eu-central-1 is the name of an AWS region, a geographical cluster of data centres.
  • --region eu-central-1 tells the AWS signing code which region to sign for, so the signature matches the destination.
  • 'id' is the command to run inside the sandbox. id is a standard Unix command that prints who the current user is and which groups they belong to. It prints who the current user is and which groups they belong to.

The script sends the payload to the aws___run_script tool through the MCP endpoint in eu-central-1. The command returns:

Text
uid=993(sbx_user1051) gid=990 groups=990

That confirms execution of the id command on the system as the sandbox user. Reading the output: uid=993 is the numeric user ID, sbx_user1051 is the account name (the sbx prefix suggests a sandbox account), gid=990 is the primary group ID, and groups=990 lists the groups. The important part is that the command ran at all: the sandbox was supposed to prevent exactly this.

Step 4: Read the Lambda execution role credentials

Running the env command the same way returns the Lambda execution role's AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN.

env is a standard Unix command that prints all environment variables. Those three names are the pieces of an AWS credential: the access key ID is the public identifier, the secret access key is the private half used to sign requests, and the session token is the extra proof that goes with temporary credentials. Anyone holding all three can act as that identity, within whatever permissions it has.

The Lambda execution role belongs to an AWS-owned service account. The report records the account used for testing and the service account running on Lambda, both redacted here.

Root cause

The escape combines two weaknesses.

First, the AST validator reasons about source syntax only. It blocks dot-notation dunder access, getattr() calls and operator.attrgetter, but match/case class patterns reach attributes through an implicit getattr() performed by MatchClass at the C level. Nothing in the user's source looks like an attribute access, so the validator has nothing to match on. It also does not block writes to __match_args__, which the chain needs.

Second, the runtime layer's type proxy _safe_type in safe_exec.py substitutes a mutable heap type for the immutable types.FunctionType. That is what allows __match_args__ to be assigned onto the function type. In normal Python 3.10+ the same assignment fails with TypeError: cannot set '__match_args__' attribute of immutable type 'function'. The proxy handed user code a mutable heap type in place of the immutable function type.

A heap type is a type created at runtime, in the area of memory Python uses for objects it builds while running, rather than one of the fixed types built into the interpreter. Because it is created at runtime, it can be mutable, unlike the built-in function type.

Impact

The report lists three outcomes:

  1. Arbitrary command execution: id returns uid=993(sbx_user1051) gid=990 groups=990.
  2. Lambda role credential disclosure: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN are read from the environment variables.
  3. Filesystem read: the read-only root filesystem is readable and /tmp is writable.

A filesystem is the way files and folders are organised on a machine. A read-only filesystem can be read but not changed; /tmp is the conventional folder for temporary files, and it being writable means the attacker could create files there.

The report also discloses the sandbox's own source code.

The researcher documents what could not be exploited:

  • No cross-tenant or cross-session access: each MCP session gets its own container.
  • The Lambda role credentials have a blanket explicit Deny * blocking every AWS API call tried across more than 30 services. Only sts:GetCallerIdentity works, which per AWS documentation cannot be denied.
  • No network egress.

A tenant is one customer among many sharing a service; cross-tenant access would mean reaching another customer's data. A session is one continuous conversation between client and server. A container is an isolated bundle of software and files that runs separately from everything else, like a sealed room. Egress means outbound network traffic: the sandbox could not reach the internet. Deny * is an AWS policy statement that refuses every action; sts:GetCallerIdentity is a basic AWS call that simply reports who the caller is, and AWS documents that it cannot be denied.

So the practical reach of the credentials is limited by the role's explicit deny policy, and each MCP session gets its own container.

Fix

The report does not describe a fix or a change made by AWS. Based on the root cause, the validator would need to treat match/case class patterns as attribute access, and the runtime layer should not hand user code a mutable substitute for an immutable type such as types.FunctionType.

Variants to test

  • Other implicit attribute reads. Look for syntax that reaches attributes without dot notation or getattr(), such as class patterns in match/case, and check whether the validator inspects the resulting attribute. A positive result is reading an attribute the validator is meant to block, such as a class or module reference.
  • Writes to special attributes. Try assigning attributes such as __match_args__ on types the runtime proxy exposes. A positive result is an assignment succeeding inside the sandbox that raises TypeError in normal Python.
  • Proxy type substitutions. Enumerate what _safe_type returns for each blocked type and check whether any substitute is mutable where the original is immutable. A positive result is a mutable type where CPython would refuse the assignment.
  • Validator coverage of new syntax. Feed the validator newer Python constructs that desugar to attribute access and see whether they pass. A positive result is a construct that reaches an attribute the blocklist targets.
  • Environment disclosure. Run env or equivalent through any script-execution tool. A positive result is credentials or tokens in the output.

Glossary

  • API: the set of named operations a program offers so other programs can ask it to do things.
  • AST (Abstract Syntax Tree): a tree-shaped description of a program's text, produced before it runs.
  • Attribute: a named piece of an object, reached with a dot, as in car.colour.
  • AWS: Amazon Web Services, Amazon's cloud computing platform.
  • AWS VDP: the AWS Vulnerability Disclosure Program, a scheme for reporting security problems to Amazon.
  • Builtin: a function or name Python provides automatically, such as print or open.
  • Class pattern: a match/case pattern that checks whether a value is an instance of a class and has certain attributes.
  • Container: an isolated bundle of software and files that runs separately from everything else.
  • CPython: the standard implementation of the Python language.
  • Credential: a proof of identity, such as a key or password, that lets a program prove who it is.
  • Cross-tenant: reaching another customer's data in a shared service.
  • CVSS: a standard scoring system for the severity of a security flaw; 6.4 is in the medium range.
  • Deny *: an AWS policy statement that refuses every action.
  • Dunder: an attribute name wrapped in double underscores, such as __class__.
  • Egress: outbound network traffic from a system.
  • Endpoint: one specific web address that accepts requests.
  • Environment variable: a named value a program can read from its surroundings.
  • Filesystem: the way files and folders are organised on a machine.
  • getattr(): a Python built-in that fetches an attribute by name given as text.
  • Harness: a prepared set of scripts that drives a test automatically.
  • Heap type: a type created at runtime, which can be mutable, unlike built-in types.
  • IAM: Amazon's system for managing users and their permissions.
  • Identity: the account name and secret a program uses to sign in to AWS.
  • Immutable: cannot be changed after creation.
  • Lambda function: a small program Amazon runs on demand in the cloud.
  • Lambda execution role: the identity a Lambda function is given so it can talk to other AWS services.
  • Least-privilege: giving an account only the minimum permissions it needs.
  • MatchClass: the internal operation Python performs when evaluating a class pattern.
  • MCP: the protocol through which AI assistants call tools on a server.
  • Mutable: can be changed after creation.
  • Proxy: a stand-in object that looks like the real one but can refuse certain actions.
  • RCE (remote code execution): making a remote system run code of your choosing.
  • Read-only: can be read but not changed.
  • Sandbox: a restricted environment where code runs with limits on what it can touch.
  • Session: one continuous conversation between a client and a server.
  • SigV4: Amazon's scheme for signing web requests with your credentials.
  • STS GetCallerIdentity: a basic AWS call that reports who the caller is.
  • Tenant: one customer among many sharing a service.
  • Token: a short-lived credential, like a visitor badge that expires.
  • Type: a category of value, such as integer, string or function.
  • TypeError: the error Python raises when a value is used in a way its type does not allow.
  • uv / uvx: tools for installing and running Python programs.
  • Validator: code that inspects a program and refuses it if it contains forbidden shapes.
  • Virtual environment: a private, isolated set of Python packages kept in a folder.
  • match_args: a special attribute that tells match/case which attributes to look at.

More by xplo1t

View all

1 more disclosed report, best first.

More from AWS VDP

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.