aixwalk 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. aixwalk-0.1.0/.github/ISSUE_TEMPLATE/bug_report.yml +52 -0
  2. aixwalk-0.1.0/.github/ISSUE_TEMPLATE/config.yml +5 -0
  3. aixwalk-0.1.0/.github/ISSUE_TEMPLATE/feature_request.yml +20 -0
  4. aixwalk-0.1.0/.github/PULL_REQUEST_TEMPLATE.md +11 -0
  5. aixwalk-0.1.0/.github/dependabot.yml +9 -0
  6. aixwalk-0.1.0/.github/workflows/ci.yml +47 -0
  7. aixwalk-0.1.0/.github/workflows/release.yml +76 -0
  8. aixwalk-0.1.0/.github/workflows/scorecard.yml +33 -0
  9. aixwalk-0.1.0/.gitignore +15 -0
  10. aixwalk-0.1.0/CHANGELOG.md +18 -0
  11. aixwalk-0.1.0/CITATION.cff +43 -0
  12. aixwalk-0.1.0/CODE_OF_CONDUCT.md +83 -0
  13. aixwalk-0.1.0/CONTRIBUTING.md +29 -0
  14. aixwalk-0.1.0/CROSSWALK.md +307 -0
  15. aixwalk-0.1.0/LICENSE +202 -0
  16. aixwalk-0.1.0/NOTICE +18 -0
  17. aixwalk-0.1.0/PKG-INFO +164 -0
  18. aixwalk-0.1.0/README.md +138 -0
  19. aixwalk-0.1.0/SECURITY.md +9 -0
  20. aixwalk-0.1.0/crosswalk.csv +25 -0
  21. aixwalk-0.1.0/docs/demo.svg +9 -0
  22. aixwalk-0.1.0/docs/methodology.md +38 -0
  23. aixwalk-0.1.0/pyproject.toml +51 -0
  24. aixwalk-0.1.0/src/aixwalk/__init__.py +7 -0
  25. aixwalk-0.1.0/src/aixwalk/__main__.py +3 -0
  26. aixwalk-0.1.0/src/aixwalk/cli.py +140 -0
  27. aixwalk-0.1.0/src/aixwalk/data/crosswalk.json +452 -0
  28. aixwalk-0.1.0/src/aixwalk/data/frameworks/iso-42001-annex-a.json +45 -0
  29. aixwalk-0.1.0/src/aixwalk/data/frameworks/mitre-atlas.json +949 -0
  30. aixwalk-0.1.0/src/aixwalk/data/frameworks/nist-ai-rmf-1.0.json +369 -0
  31. aixwalk-0.1.0/src/aixwalk/data/frameworks/owasp-agentic-2026.json +49 -0
  32. aixwalk-0.1.0/src/aixwalk/data/frameworks/owasp-llm-2025.json +49 -0
  33. aixwalk-0.1.0/src/aixwalk/data.py +153 -0
  34. aixwalk-0.1.0/src/aixwalk/export.py +114 -0
  35. aixwalk-0.1.0/src/aixwalk/py.typed +0 -0
  36. aixwalk-0.1.0/tests/test_cli.py +62 -0
  37. aixwalk-0.1.0/tests/test_dataset.py +146 -0
@@ -0,0 +1,52 @@
1
+ name: Bug report
2
+ description: Something in aixwalk does not work as documented
3
+ labels: [bug]
4
+ body:
5
+ - type: markdown
6
+ attributes:
7
+ value: |
8
+ Thanks for reporting! For security vulnerabilities in aixwalk itself, please use
9
+ **Security → Report a vulnerability** instead of a public issue.
10
+ - type: input
11
+ id: version
12
+ attributes:
13
+ label: aixwalk version
14
+ description: Output of `aixwalk --version`
15
+ placeholder: "aixwalk 0.1.0"
16
+ validations:
17
+ required: true
18
+ - type: input
19
+ id: python
20
+ attributes:
21
+ label: Python version and OS
22
+ placeholder: "Python 3.12, Ubuntu 24.04"
23
+ validations:
24
+ required: true
25
+ - type: dropdown
26
+ id: area
27
+ attributes:
28
+ label: Area
29
+ options:
30
+ - dataset / mapping
31
+ - CLI
32
+ - library API
33
+ - docs
34
+ - type: textarea
35
+ id: what
36
+ attributes:
37
+ label: What happened, and what did you expect?
38
+ validations:
39
+ required: true
40
+ - type: textarea
41
+ id: repro
42
+ attributes:
43
+ label: Steps to reproduce
44
+ description: Minimal commands, config and input. Remove secrets and confidential data.
45
+ render: shell
46
+ validations:
47
+ required: true
48
+ - type: textarea
49
+ id: output
50
+ attributes:
51
+ label: Relevant output
52
+ render: text
@@ -0,0 +1,5 @@
1
+ blank_issues_enabled: true
2
+ contact_links:
3
+ - name: Report a security vulnerability
4
+ url: https://github.com/rajyavardhan01/aixwalk/security/advisories/new
5
+ about: Please report vulnerabilities privately, not as public issues.
@@ -0,0 +1,20 @@
1
+ name: Feature request
2
+ description: Suggest an improvement to aixwalk
3
+ labels: [enhancement]
4
+ body:
5
+ - type: textarea
6
+ id: problem
7
+ attributes:
8
+ label: Problem
9
+ description: What are you trying to do, and what gets in the way today?
10
+ validations:
11
+ required: true
12
+ - type: textarea
13
+ id: proposal
14
+ attributes:
15
+ label: Proposed solution
16
+ - type: textarea
17
+ id: references
18
+ attributes:
19
+ label: References
20
+ description: Related standards (OWASP, MITRE ATLAS, NIST AI RMF, ...), papers or tools.
@@ -0,0 +1,11 @@
1
+ ## What and why
2
+
3
+ <!-- What does this change, and why is it needed? Link related issues. -->
4
+
5
+ ## Checklist
6
+
7
+ - [ ] Tests added or updated (`PYTHONPATH=src python -m unittest discover -s tests`)
8
+ - [ ] `ruff check .` passes
9
+ - [ ] Docs / README / CHANGELOG updated where behaviour changes
10
+ - [ ] No new runtime dependencies (aixwalk stays standard-library only)
11
+ - [ ] No secrets, customer data or copyrighted standard text added
@@ -0,0 +1,9 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: github-actions
4
+ directory: /
5
+ schedule:
6
+ interval: weekly
7
+ groups:
8
+ actions:
9
+ patterns: ["*"]
@@ -0,0 +1,47 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ fail-fast: false
16
+ matrix:
17
+ python-version: ["3.11", "3.12", "3.13", "3.14"]
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - uses: actions/setup-python@v5
21
+ with:
22
+ python-version: ${{ matrix.python-version }}
23
+ allow-prereleases: true
24
+ - name: Install tools
25
+ run: python -m pip install --upgrade pip ruff pytest
26
+ - name: Lint
27
+ run: ruff check .
28
+ - name: Test
29
+ run: pytest -q
30
+ - name: CLI smoke test
31
+ run: |
32
+ PYTHONPATH=src python -m aixwalk list
33
+ PYTHONPATH=src python -m aixwalk lookup LLM01:2025
34
+
35
+ build:
36
+ runs-on: ubuntu-latest
37
+ steps:
38
+ - uses: actions/checkout@v4
39
+ - uses: actions/setup-python@v5
40
+ with:
41
+ python-version: "3.12"
42
+ - run: python -m pip install --upgrade pip build
43
+ - run: python -m build
44
+ - name: Install wheel and run
45
+ run: |
46
+ python -m pip install dist/*.whl
47
+ aixwalk frameworks
@@ -0,0 +1,76 @@
1
+ name: Release
2
+
3
+ # Push a tag like v0.1.0 to build, attest and publish a GitHub release.
4
+ # PyPI publishing (trusted publishing, no tokens) runs only when the repository variable
5
+ # PUBLISH_TO_PYPI is set to "true" and a PyPI trusted publisher is configured for this
6
+ # repository with environment "pypi".
7
+ on:
8
+ push:
9
+ tags: ["v*"]
10
+
11
+ permissions:
12
+ contents: read
13
+
14
+ jobs:
15
+ build:
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ contents: read
19
+ id-token: write
20
+ attestations: write
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+ - uses: actions/setup-python@v5
24
+ with:
25
+ python-version: "3.12"
26
+ - name: Check the tag matches the package version
27
+ run: |
28
+ version=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")
29
+ test "v$version" = "$GITHUB_REF_NAME" || { echo "tag $GITHUB_REF_NAME != version $version"; exit 1; }
30
+ - name: Test
31
+ run: python -m pip install --upgrade pip pytest && pytest -q
32
+ - name: Build sdist and wheel
33
+ run: python -m pip install build && python -m build
34
+ - name: Attest build provenance
35
+ if: github.event.repository.private == false
36
+ uses: actions/attest-build-provenance@v2
37
+ with:
38
+ subject-path: "dist/*"
39
+ - uses: actions/upload-artifact@v4
40
+ with:
41
+ name: dist
42
+ path: dist/
43
+
44
+ github-release:
45
+ needs: build
46
+ runs-on: ubuntu-latest
47
+ permissions:
48
+ contents: write
49
+ steps:
50
+ - uses: actions/checkout@v4
51
+ - uses: actions/download-artifact@v4
52
+ with:
53
+ name: dist
54
+ path: dist/
55
+ - name: Create GitHub release
56
+ env:
57
+ GH_TOKEN: ${{ github.token }}
58
+ run: |
59
+ version="${GITHUB_REF_NAME#v}"
60
+ awk -v v="$version" '$0 ~ "^## \\[" v "\\]" {f=1; next} /^## \[/ {f=0} f' CHANGELOG.md > notes.md
61
+ [ -s notes.md ] || echo "Release $GITHUB_REF_NAME" > notes.md
62
+ gh release create "$GITHUB_REF_NAME" dist/* --title "aixwalk $GITHUB_REF_NAME" --notes-file notes.md
63
+
64
+ pypi:
65
+ needs: build
66
+ if: vars.PUBLISH_TO_PYPI == 'true'
67
+ runs-on: ubuntu-latest
68
+ environment: pypi
69
+ permissions:
70
+ id-token: write
71
+ steps:
72
+ - uses: actions/download-artifact@v4
73
+ with:
74
+ name: dist
75
+ path: dist/
76
+ - uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,33 @@
1
+ name: OpenSSF Scorecard
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ schedule:
7
+ - cron: "23 4 * * 1"
8
+ workflow_dispatch:
9
+
10
+ permissions: read-all
11
+
12
+ jobs:
13
+ analysis:
14
+ # Scorecard only supports public repositories.
15
+ if: github.event.repository.private == false
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ security-events: write
19
+ id-token: write
20
+ contents: read
21
+ actions: read
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ with:
25
+ persist-credentials: false
26
+ - uses: ossf/scorecard-action@v2.4.0
27
+ with:
28
+ results_file: results.sarif
29
+ results_format: sarif
30
+ publish_results: true
31
+ - uses: github/codeql-action/upload-sarif@v3
32
+ with:
33
+ sarif_file: results.sarif
@@ -0,0 +1,15 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *.egg-info/
4
+ .eggs/
5
+ build/
6
+ dist/
7
+ .venv/
8
+ venv/
9
+ .env
10
+ .pytest_cache/
11
+ .ruff_cache/
12
+ .mypy_cache/
13
+ .coverage
14
+ htmlcov/
15
+ .DS_Store
@@ -0,0 +1,18 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented here. The format follows
4
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses
5
+ [Semantic Versioning](https://semver.org/).
6
+
7
+ ## [0.1.0] - 2026-11-30
8
+
9
+ ### Added
10
+ - 24 AI security categories (`AIX-01` to `AIX-24`) mapped to OWASP Top 10 for LLM
11
+ Applications 2025, OWASP Top 10 for Agentic Applications 2026, MITRE ATLAS (v2026.11),
12
+ NIST AI RMF 1.0 and ISO/IEC 42001 Annex A control groups, plus CWE where meaningful.
13
+ - Bundled reference data for every framework so each mapped identifier is validated.
14
+ - `aixwalk` CLI: `list`, `show`, `lookup` (reverse lookup), `frameworks`, `export` (md/csv/json).
15
+ - Python API: `aixwalk.categories()`, `aixwalk.get()`, `aixwalk.lookup()`, `aixwalk.framework()`.
16
+ - Generated `CROSSWALK.md` and `crosswalk.csv`.
17
+
18
+ [0.1.0]: https://github.com/rajyavardhan01/aixwalk/releases/tag/v0.1.0
@@ -0,0 +1,43 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use this dataset or software, please cite it as below."
3
+ type: software
4
+ title: "aixwalk: a crosswalk between AI security frameworks"
5
+ version: 0.1.0
6
+ date-released: 2026-11-30
7
+ license: Apache-2.0
8
+ repository-code: "https://github.com/rajyavardhan01/aixwalk"
9
+ keywords:
10
+ - AI security
11
+ - OWASP
12
+ - MITRE ATLAS
13
+ - NIST AI RMF
14
+ - ISO/IEC 42001
15
+ authors:
16
+ - family-names: Handa
17
+ given-names: Rajyavardhan
18
+ orcid: "https://orcid.org/0000-0002-5247-7880"
19
+ references:
20
+ - type: article
21
+ title: "Adversarial Simulation and Resilience Engineering for Enterprise AI Systems"
22
+ authors:
23
+ - family-names: Handa
24
+ given-names: Rajyavardhan
25
+ journal: "International Journal of Computational and Experimental Science and Engineering"
26
+ volume: 11
27
+ issue: 4
28
+ start: 9288
29
+ end: 9294
30
+ year: 2025
31
+ doi: 10.22399/ijcesen.4413
32
+ - type: article
33
+ title: "Securing the Intelligent Software Supply Chain: Vulnerability Detection and Exploit Pathways in AI-Integrated Systems"
34
+ authors:
35
+ - family-names: Handa
36
+ given-names: Rajyavardhan
37
+ journal: "Journal of Computational Analysis and Applications"
38
+ volume: 34
39
+ issue: 12
40
+ start: 46
41
+ end: 56
42
+ year: 2025
43
+ doi: 10.48047/jocaaa.2025.34.12.06
@@ -0,0 +1,83 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or advances of any kind
22
+ * Trolling, insulting or derogatory comments, and personal or political attacks
23
+ * Public or private harassment
24
+ * Publishing others' private information, such as a physical or email address, without their explicit permission
25
+ * Other conduct which could reasonably be considered inappropriate in a professional setting
26
+
27
+ ## Enforcement Responsibilities
28
+
29
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
30
+
31
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
32
+
33
+ ## Scope
34
+
35
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
36
+
37
+ ## Enforcement
38
+
39
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at the project maintainer, privately, using the contact options on [github.com/rajyavardhan01](https://github.com/rajyavardhan01). All complaints will be reviewed and investigated promptly and fairly.
40
+
41
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
42
+
43
+ ## Enforcement Guidelines
44
+
45
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
46
+
47
+ ### 1. Correction
48
+
49
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
50
+
51
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
52
+
53
+ ### 2. Warning
54
+
55
+ **Community Impact**: A violation through a single incident or series of actions.
56
+
57
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
58
+
59
+ ### 3. Temporary Ban
60
+
61
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
62
+
63
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
64
+
65
+ ### 4. Permanent Ban
66
+
67
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
68
+
69
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
70
+
71
+ ## Attribution
72
+
73
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
74
+
75
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
76
+
77
+ For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
78
+
79
+ [homepage]: https://www.contributor-covenant.org
80
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
81
+ [Mozilla CoC]: https://github.com/mozilla/diversity
82
+ [FAQ]: https://www.contributor-covenant.org/faq
83
+ [translations]: https://www.contributor-covenant.org/translations
@@ -0,0 +1,29 @@
1
+ # Contributing
2
+
3
+ Thanks for helping improve aixwalk. Mapping corrections are the most valuable contribution.
4
+
5
+ ## Proposing a mapping change
6
+ 1. Edit `src/aixwalk/data/crosswalk.json`.
7
+ 2. Every identifier must exist in the matching file under `src/aixwalk/data/frameworks/`.
8
+ To track a new framework release, update that file in the same pull request.
9
+ 3. Regenerate the exports:
10
+ ```sh
11
+ PYTHONPATH=src python -m aixwalk export --format md -o CROSSWALK.md
12
+ PYTHONPATH=src python -m aixwalk export --format csv -o crosswalk.csv
13
+ ```
14
+ 4. In the PR description, explain *why* the mapping holds (link the framework text).
15
+
16
+ ## Development
17
+ No dependencies are needed to run or test:
18
+ ```sh
19
+ PYTHONPATH=src python -m unittest discover -s tests -v
20
+ ```
21
+ CI also runs `ruff check .` and `pytest`.
22
+
23
+ ## Ground rules
24
+ - Do not paste copyrighted standard text (ISO in particular). Identifiers and short titles only.
25
+ - Keep the runtime dependency-free.
26
+
27
+ ## Code of conduct
28
+
29
+ This project follows the [Contributor Covenant](CODE_OF_CONDUCT.md).