Vulnerabilities in pkg:pypi/atomic-agents-stack

PACKAGE
Advisory Summary

GHSA-j659-8xh6-5pq5 is a HIGH parallel helper/delegate batch reserves $0 vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting atomic-agents-stack libraries in the PyPI ecosystem. The issue involves parallel helper/delegate batch reserves $0 for models absent from the pricing table, bypassing the cost-cap fan-out guard. Remediation is available by upgrading affected packages to version 1.1.0.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/atomic-agents-stack

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/atomic-agents-stack. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-j659-8xh6-5pq5 - HIGH atomic-agents-stack: Parallel helper/delegate batch reserves $0 for models absent from the pricing table, bypassing the cost-cap fan-out guard
GHSA-xhcr-cqfr-m3hv - HIGH atomic-agents-stack: HTTP MCP catalog accepts cleartext http and spawns catalog-supplied commands (MITM to RCE)
GHSA-rm43-82j9-r4mj - HIGH atomic-agents-stack: Dashboard HTTP server path traversal allows arbitrary file read

GHSA-j659-8xh6-5pq5 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-j659-8xh6-5pq5
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product atomic-agents-stack
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-j659-8xh6-5pq5

To remediate this vulnerability, upgrade all affected atomic-agents-stack dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

atomic-agents-stack fixed: 1.1.0
pip install atomic-agents-stack>=1.1.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show atomic-agents-stack

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-j659-8xh6-5pq5, inspect your installed packages using pip:

pip show atomic-agents-stack

Analyze the terminal output to locate any version of atomic-agents-stack in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.0), your application is affected.

Note: The pip show atomic-agents-stack command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In atomic-agents-stack, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

`_estimate_batch_cost` (`atomic_agents/agent.py`) looks up the per-model output price with `PRICING.get(model, {})`, returning 0.0 for any model not in the hardcoded pricing table. `_check_batch_reservation` then early-returns when the reservation is <= 0, skipping the batch reservation entirely. That reservation is the only defense against the documented fan-out race where every parallel helper/delegate reads the identical pre-batch on-disk cost total and each passes its individual check even though the collective spend overruns the configured cap. **Impact:** an operator running any model not in the pricing table (self-hosted/Ollama/vLLM, a new provider SKU) with `cost_guardrails` + `daily_cap_usd` set believes the cap protects them, but a single parallel batch can blow past the cap. The parallel-helper `model` argument can also be steered to an unknown id. The sibling `dream._estimate_dream_cost` does this correctly (`PRICING.get(model, _fallback_pricing())`), which makes this a clear defect. **Affected:** `agent.py` (`_estimate_batch_cost` / `_check_batch_reservation`), all versions through 1.0.0. **Fix:** use `PRICING.get(model, _costs._fallback_pricing())['output']` (mirror dream/calc_cost). Add a conformance test asserting an unknown-model batch reserves > 0 and that an over-cap unknown-model batch raises `CostGuardrailBlocked`.

GHSA-j659-8xh6-5pq5 Affected atomic-agents-stack Versions

1 component(s)
Fixed Versions:
1.1.0
Product / Package Ecosystem Affected Versions Fixed Version
atomic-agents-stack
PyPI
< 1.1.0
1.1.0

References

Frequently Asked Questions

What is GHSA-j659-8xh6-5pq5?
GHSA-j659-8xh6-5pq5 is a security vulnerability in atomic-agents-stack involving Parallel helper/delegate batch reserves $0 for models absent from the pricing table, bypassing the cost-cap fan-out guard under CWE-770: Allocation of Resources Without Limits or Throttling.
Which atomic-agents-stack versions are affected?
Affected versions include releases prior to 1.1.0 across affected packages: atomic-agents-stack.
What version fixes GHSA-j659-8xh6-5pq5?
Upgrading to 1.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is atomic-agents-stack affected?
Yes, atomic-agents-stack is affected in releases prior to 1.1.0. Upgrade your dependency to 1.1.0 or later.
What CWE is associated with GHSA-j659-8xh6-5pq5?
GHSA-j659-8xh6-5pq5 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check PyPI dependencies for GHSA-j659-8xh6-5pq5?
Run the dependency tree command: 'pip show atomic-agents-stack'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-j659-8xh6-5pq5",
  "modified" : "2026-08-17T21:50:01Z",
  "published" : "2026-08-17T21:50:01Z",
  "aliases" : [ ],
  "summary" : "atomic-agents-stack: Parallel helper/delegate batch reserves $0 for models absent from the pricing table, bypassing the cost-cap fan-out guard",
  "details" : "`_estimate_batch_cost` (`atomic_agents/agent.py`) looks up the per-model output price with `PRICING.get(model, {})`, returning 0.0 for any model not in the hardcoded pricing table. `_check_batch_reservation` then early-returns when the reservation is <= 0, skipping the batch reservation entirely. That reservation is the only defense against the documented fan-out race where every parallel helper/delegate reads the identical pre-batch on-disk cost total and each passes its individual check even though the collective spend overruns the configured cap.\n\n**Impact:** an operator running any model not in the pricing table (self-hosted/Ollama/vLLM, a new provider SKU) with `cost_guardrails` + `daily_cap_usd` set believes the cap protects them, but a single parallel batch can blow past the cap. The parallel-helper `model` argument can also be steered to an unknown id. The sibling `dream._estimate_dream_cost` does this correctly (`PRICING.get(model, _fallback_pricing())`), which makes this a clear defect.\n\n**Affected:** `agent.py` (`_estimate_batch_cost` / `_check_batch_reservation`), all versions through 1.0.0.\n\n**Fix:** use `PRICING.get(model, _costs._fallback_pricing())['output']` (mirror dream/calc_cost). Add a conformance test asserting an unknown-model batch reserves > 0 and that an over-cap unknown-model batch raises `CostGuardrailBlocked`.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "atomic-agents-stack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.0.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/dep0we/atomic-agents-stack/security/advisories/GHSA-j659-8xh6-5pq5"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/dep0we/atomic-agents-stack"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dep0we/atomic-agents-stack/releases#release-v1.1.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-17T21:50:01Z",
    "nvd_published_at" : null
  }
}