Metadata-Version: 2.5
Name: aixwalk
Version: 0.1.0
Summary: Crosswalk between AI security frameworks: OWASP LLM Top 10, OWASP Agentic Top 10, MITRE ATLAS, NIST AI RMF and ISO/IEC 42001.
Project-URL: Homepage, https://github.com/rajyavardhan01/aixwalk
Project-URL: Repository, https://github.com/rajyavardhan01/aixwalk
Project-URL: Issues, https://github.com/rajyavardhan01/aixwalk/issues
Author: Rajyavardhan Handa
License-Expression: Apache-2.0
License-File: LICENSE
License-File: NOTICE
Keywords: ai-security,crosswalk,iso-42001,llm-security,mitre-atlas,nist-ai-rmf,owasp,threat-modeling
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Security
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# aixwalk

**One crosswalk for the AI security frameworks you get asked about:** OWASP Top 10 for LLM
Applications (2025), OWASP Top 10 for Agentic Applications (2026), MITRE ATLAS, NIST AI RMF 1.0
and ISO/IEC 42001 Annex A. It ships as a validated JSON dataset, generated Markdown and CSV, and
a dependency-free Python CLI and library.

[![CI](https://github.com/rajyavardhan01/aixwalk/actions/workflows/ci.yml/badge.svg)](https://github.com/rajyavardhan01/aixwalk/actions/workflows/ci.yml)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
![Python](https://img.shields.io/badge/python-3.11%2B-blue.svg)

<p align="center"><img src="docs/demo.svg" alt="aixwalk showing one category's mappings and a reverse lookup" width="860"></p>

> Status: alpha (v0.1.0). The mappings are reviewed by hand. Corrections are welcome — see
> [CONTRIBUTING.md](CONTRIBUTING.md).

## Why

A single AI finding, such as "indirect prompt injection makes the agent email out customer
data", has to be reported against several frameworks at once: the OWASP risk, the ATLAS
technique, the NIST AI RMF subcategory it evidences, and the ISO 42001 control area. aixwalk
gives every common AI threat a stable ID (`AIX-01` … `AIX-24`) and maps it to all of them.
Every mapped identifier is validated against bundled reference data, so the dataset can't
silently drift from the frameworks it cites.

## What's inside

| | |
|---|---|
| [`CROSSWALK.md`](CROSSWALK.md) | Human-readable table plus one section per category |
| [`crosswalk.csv`](crosswalk.csv) | Spreadsheet-friendly export |
| [`src/aixwalk/data/crosswalk.json`](src/aixwalk/data/crosswalk.json) | Canonical dataset |
| [`src/aixwalk/data/frameworks/`](src/aixwalk/data/frameworks) | Reference IDs and titles for each framework (ATLAS v2026.11: 235 techniques; NIST AI RMF: 72 subcategories) |

Each category records:
- the lifecycle stages it affects (data, training, artifact, deployment, inference, agent, supply chain);
- the system layers involved (ingestion, processing, model, validation, observability, serving, orchestration);
- its adversarial category (model evasion, data poisoning, prompt manipulation or multi-vector);
- typical persistence and detection difficulty;
- its mappings to each framework, plus CWE where meaningful.

## Quickstart

```sh
pip install git+https://github.com/rajyavardhan01/aixwalk
# or, from a clone, with no install at all:
PYTHONPATH=src python -m aixwalk list
```

```console
$ aixwalk show AIX-11
AIX-11  Unsafe model serialization
  Loading a model or data file in a code-bearing format (such as pickle) executes attacker-controlled code.
  lifecycle: artifact, supply_chain   layers: model, serving
  OWASP LLM Top 10 (2025):
    LLM03:2025  Supply Chain
  OWASP Agentic Top 10 (2026):
    ASI04:2026  Agentic Supply Chain Vulnerabilities
  MITRE ATLAS:
    AML.T0011.000  User Execution: Unsafe AI Artifacts
    AML.T0148  Embed Malicious Code in AI Artifacts
  NIST AI RMF 1.0:
    MAP 4.2  Internal risk controls for components of the AI system including third-party AI technologies are identified and documented.
    MANAGE 3.2  Pre-trained models which are used for development are monitored as part of AI system regular monitoring and maintenance.
    MEASURE 2.7  AI system security and resilience – as identified in the MAP function – are evaluated and documented.
  ISO/IEC 42001 Annex A:
    A.10  Third-party and customer relationships
    A.6  AI system life cycle
  CWE: CWE-502

$ aixwalk lookup ASI02:2026
AIX-14  Excessive agency and tool misuse  (via OWASP Agentic Top 10 (2026))

$ aixwalk lookup AML.T0051          # parent techniques match their sub-techniques
AIX-01  Direct prompt injection  (via MITRE ATLAS)
AIX-02  Indirect prompt injection and goal hijack  (via MITRE ATLAS)
```

## CLI

| Command | Purpose |
|---|---|
| `aixwalk list [--json]` | All categories |
| `aixwalk show AIX-NN [--json]` | One category with titled mappings |
| `aixwalk lookup ID [--json]` | Reverse lookup from any framework ID (`LLM01:2025`, `LLM01`, `ASI05:2026`, `AML.T0070`, `"MEASURE 2.7"`, `A.7`). Exit code 1 if nothing matches |
| `aixwalk frameworks [--json]` | Bundled reference data, versions and sources |
| `aixwalk export --format md\|csv\|json [--expand-titles] [-o FILE]` | Regenerate the exports |

## Library

```python
import aixwalk

cat = aixwalk.get("AIX-02")
cat.mappings["mitre_atlas"]          # ('AML.T0051.001', 'AML.T0051.002', 'AML.T0066', 'AML.T0093')
[c.id for c, _ in aixwalk.lookup("LLM03:2025")]
aixwalk.framework("nist_ai_rmf")["items"][0]
```

aixwalk is the shared taxonomy behind the [redloop](https://github.com/rajyavardhan01/redloop)
AI red-teaming framework, and its categories line up with the findings of
[modelbom](https://github.com/rajyavardhan01/modelbom).

## Methodology

The category model follows the lifecycle attack taxonomy and the infrastructure-layer
breakdown in *Adversarial Simulation and Resilience Engineering for Enterprise AI Systems*
(Table 1: attack category, target phase, persistence, detection difficulty; Table 2: system
components by layer). The supply-chain categories follow the upstream/downstream threat
analysis in *Securing the Intelligent Software Supply Chain*. Agent-specific categories were
added to cover the OWASP Agentic Top 10. See [docs/methodology.md](docs/methodology.md).

Mapping principles:
1. Map to the most specific identifier that genuinely applies. Parent ATLAS techniques are
   listed only when the whole family is relevant.
2. A NIST AI RMF subcategory is listed when testing or controlling this threat produces
   evidence for that outcome, not just because the topic is related.
3. ISO/IEC 42001 is mapped at control-group level only.
4. Persistence and detection difficulty are editorial judgments meant to help prioritise, not
   measurements.

## Roadmap
- Mapping to the OWASP AI Testing Guide and to the EU AI Act articles on robustness and cybersecurity
- Per-mapping rationale notes and confidence levels
- JSON Schema for the dataset, plus a STIX bundle export

## License and citation

Code and original data are licensed under [Apache-2.0](LICENSE). Third-party reference data is
attributed in [NOTICE](NOTICE). If you use aixwalk in research, please cite it using
[CITATION.cff](CITATION.cff) together with:

- R. Handa, "Adversarial Simulation and Resilience Engineering for Enterprise AI Systems,"
  *International Journal of Computational and Experimental Science and Engineering*, 11(4),
  9288–9294, 2025. doi:[10.22399/ijcesen.4413](https://doi.org/10.22399/ijcesen.4413)
- R. Handa, "Securing the Intelligent Software Supply Chain: Vulnerability Detection and Exploit
  Pathways in AI-Integrated Systems," *Journal of Computational Analysis and Applications*,
  34(12), 46–56, 2025. doi:10.48047/jocaaa.2025.34.12.06
