---
title: "CWE-1229: Creation of Emergent Resource"
url: https://radicalnotion.ai/cwe/cwe-1229
type: cwe
description: "The product manages resources or behaves in a way that indirectly creates a new, distinct resource that can be used by attackers in violation of the intended policy."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1229: Creation of Emergent Resource

- **Abstraction:** Class
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 0
- **Of those, in CISA KEV:** 0
- **New in 2026:** 0
- **CWE catalog version:** 4.21

## Description

The product manages resources or behaves in a way that indirectly creates a new, distinct resource that can be used by attackers in violation of the intended policy.

A product is only expected to behave in a way that was specifically intended by the developer. Resource allocation and management is expected to be performed explicitly by the associated code. However, in systems with complex behavior, the product might indirectly produce new kinds of resources that were never intended in the original design. For example, a covert channel is a resource that was never explicitly intended by the developer, but it is useful to attackers. "Parasitic computing," while not necessarily malicious in nature, effectively tricks a product into performing unintended computations on behalf of another party.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | - |
| Architecture and Design | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Other | Varies by Context | - |

## Demonstrative examples

### Example 1

In this example, the attacker observes how long an authentication takes when the user types in the correct password.

Bad code:

```python
def validate_password(actual_pw, typed_pw):
    if len(actual_pw) <> len(typed_pw):
        return 0

    for i in len(actual_pw):
        if actual_pw[i] <> typed_pw[i]:
            return 0

    return 1
```

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-664](https://radicalnotion.ai/cwe/cwe-664) | Improper Control of a Resource Through its Lifetime |
| Child | [CWE-514](https://radicalnotion.ai/cwe/cwe-514) | Covert Channel |

## Frequently asked questions

### What is CWE-1229?

The product manages resources or behaves in a way that indirectly creates a new, distinct resource that can be used by attackers in violation of the intended policy.

### What are the consequences of CWE-1229?

Exploiting CWE-1229 can lead to: Varies by Context.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/1229.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-1229). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
