modelbom 0.1.1__tar.gz → 0.1.2__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 (50) hide show
  1. {modelbom-0.1.1 → modelbom-0.1.2}/CHANGELOG.md +9 -1
  2. {modelbom-0.1.1 → modelbom-0.1.2}/CITATION.cff +1 -1
  3. {modelbom-0.1.1 → modelbom-0.1.2}/PKG-INFO +4 -3
  4. {modelbom-0.1.1 → modelbom-0.1.2}/README.md +3 -2
  5. {modelbom-0.1.1 → modelbom-0.1.2}/examples/vulnerable-app/requirements.txt +3 -3
  6. {modelbom-0.1.1 → modelbom-0.1.2}/pyproject.toml +1 -1
  7. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/__init__.py +1 -1
  8. {modelbom-0.1.1 → modelbom-0.1.2}/.gitignore +0 -0
  9. {modelbom-0.1.1 → modelbom-0.1.2}/LICENSE +0 -0
  10. {modelbom-0.1.1 → modelbom-0.1.2}/NOTICE +0 -0
  11. {modelbom-0.1.1 → modelbom-0.1.2}/docs/demo.svg +0 -0
  12. {modelbom-0.1.1 → modelbom-0.1.2}/docs/methodology.md +0 -0
  13. {modelbom-0.1.1 → modelbom-0.1.2}/docs/rules.md +0 -0
  14. {modelbom-0.1.1 → modelbom-0.1.2}/examples/safe-app/app.py +0 -0
  15. {modelbom-0.1.1 → modelbom-0.1.2}/examples/safe-app/requirements.txt +0 -0
  16. {modelbom-0.1.1 → modelbom-0.1.2}/examples/vulnerable-app/data.py +0 -0
  17. {modelbom-0.1.1 → modelbom-0.1.2}/examples/vulnerable-app/download.py +0 -0
  18. {modelbom-0.1.1 → modelbom-0.1.2}/examples/vulnerable-app/rag.py +0 -0
  19. {modelbom-0.1.1 → modelbom-0.1.2}/examples/vulnerable-app/serve.py +0 -0
  20. {modelbom-0.1.1 → modelbom-0.1.2}/examples/vulnerable-app/tokenizer_config.json +0 -0
  21. {modelbom-0.1.1 → modelbom-0.1.2}/examples/vulnerable-app/train.py +0 -0
  22. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/__main__.py +0 -0
  23. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/artifacts.py +0 -0
  24. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/attack_paths.py +0 -0
  25. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/cli.py +0 -0
  26. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/code_rules.py +0 -0
  27. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/deps.py +0 -0
  28. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/discovery.py +0 -0
  29. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/graph.py +0 -0
  30. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/models.py +0 -0
  31. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/pickle_scan.py +0 -0
  32. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/py.typed +0 -0
  33. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/report/__init__.py +0 -0
  34. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/report/cyclonedx.py +0 -0
  35. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/report/jsonfmt.py +0 -0
  36. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/report/sarif.py +0 -0
  37. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/report/text.py +0 -0
  38. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/rules.py +0 -0
  39. {modelbom-0.1.1 → modelbom-0.1.2}/src/modelbom/scanner.py +0 -0
  40. {modelbom-0.1.1 → modelbom-0.1.2}/tests/__init__.py +0 -0
  41. {modelbom-0.1.1 → modelbom-0.1.2}/tests/fixtures.py +0 -0
  42. {modelbom-0.1.1 → modelbom-0.1.2}/tests/test_artifacts.py +0 -0
  43. {modelbom-0.1.1 → modelbom-0.1.2}/tests/test_cli.py +0 -0
  44. {modelbom-0.1.1 → modelbom-0.1.2}/tests/test_code_rules.py +0 -0
  45. {modelbom-0.1.1 → modelbom-0.1.2}/tests/test_deps.py +0 -0
  46. {modelbom-0.1.1 → modelbom-0.1.2}/tests/test_discovery.py +0 -0
  47. {modelbom-0.1.1 → modelbom-0.1.2}/tests/test_graph_paths.py +0 -0
  48. {modelbom-0.1.1 → modelbom-0.1.2}/tests/test_pickle_scan.py +0 -0
  49. {modelbom-0.1.1 → modelbom-0.1.2}/tests/test_reports.py +0 -0
  50. {modelbom-0.1.1 → modelbom-0.1.2}/tests/test_safety.py +0 -0
@@ -6,6 +6,13 @@ All notable changes to this project are documented here. The format follows
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.1.2] - 2026-12-01
10
+
11
+ ### Changed
12
+
13
+ - GitHub Action: inputs reach the shell only through environment variables.
14
+ - CI installs its tools from hash-pinned requirement files; GitHub Actions are pinned by commit; CodeQL scanning added.
15
+
9
16
  ## [0.1.1] - 2026-12-01
10
17
 
11
18
  ### Changed
@@ -34,6 +41,7 @@ All notable changes to this project are documented here. The format follows
34
41
  - Inline (`# modelbom: ignore[...]`) and `.modelbomignore` suppressions, including rule-scoped globs.
35
42
  - Composite GitHub Action and pre-commit hook.
36
43
 
37
- [Unreleased]: https://github.com/rajyavardhan01/modelbom/compare/v0.1.1...HEAD
44
+ [Unreleased]: https://github.com/rajyavardhan01/modelbom/compare/v0.1.2...HEAD
45
+ [0.1.2]: https://github.com/rajyavardhan01/modelbom/compare/v0.1.1...v0.1.2
38
46
  [0.1.1]: https://github.com/rajyavardhan01/modelbom/compare/v0.1.0...v0.1.1
39
47
  [0.1.0]: https://github.com/rajyavardhan01/modelbom/releases/tag/v0.1.0
@@ -2,7 +2,7 @@ cff-version: 1.2.0
2
2
  message: "If you use this software, please cite it as below, and cite the article it implements."
3
3
  type: software
4
4
  title: "modelbom: AI supply-chain scanner and CycloneDX AI-BOM generator"
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  date-released: 2026-12-01
7
7
  license: Apache-2.0
8
8
  repository-code: "https://github.com/rajyavardhan01/modelbom"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: modelbom
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Find unsafe model loading, poisoned artifacts and unpinned AI dependencies, and emit a CycloneDX AI-BOM. Zero dependencies; never loads what it scans.
5
5
  Project-URL: Homepage, https://github.com/rajyavardhan01/modelbom
6
6
  Project-URL: Repository, https://github.com/rajyavardhan01/modelbom
@@ -37,12 +37,13 @@ Description-Content-Type: text/markdown
37
37
 
38
38
  [![CI](https://github.com/rajyavardhan01/modelbom/actions/workflows/ci.yml/badge.svg)](https://github.com/rajyavardhan01/modelbom/actions/workflows/ci.yml)
39
39
  [![PyPI](https://img.shields.io/pypi/v/modelbom.svg)](https://pypi.org/project/modelbom/)
40
+ [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/rajyavardhan01/modelbom/badge)](https://scorecard.dev/viewer/?uri=github.com/rajyavardhan01/modelbom)
40
41
  [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/rajyavardhan01/modelbom/blob/main/LICENSE)
41
42
  ![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue.svg)
42
43
 
43
44
  <p align="center"><img src="https://raw.githubusercontent.com/rajyavardhan01/modelbom/main/docs/demo.svg" alt="modelbom scanning an example project and reporting findings and attack paths" width="860"></p>
44
45
 
45
- Status: alpha (v0.1.1). Rule IDs and the JSON schema may still change before 1.0.
46
+ Status: alpha (v0.1.2). Rule IDs and the JSON schema may still change before 1.0.
46
47
 
47
48
  ---
48
49
 
@@ -188,7 +189,7 @@ jobs:
188
189
  security-events: write
189
190
  steps:
190
191
  - uses: actions/checkout@v4
191
- - uses: rajyavardhan01/modelbom@v0.1.1
192
+ - uses: rajyavardhan01/modelbom@v0.1.2
192
193
  with:
193
194
  path: .
194
195
  fail-on: high
@@ -4,12 +4,13 @@
4
4
 
5
5
  [![CI](https://github.com/rajyavardhan01/modelbom/actions/workflows/ci.yml/badge.svg)](https://github.com/rajyavardhan01/modelbom/actions/workflows/ci.yml)
6
6
  [![PyPI](https://img.shields.io/pypi/v/modelbom.svg)](https://pypi.org/project/modelbom/)
7
+ [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/rajyavardhan01/modelbom/badge)](https://scorecard.dev/viewer/?uri=github.com/rajyavardhan01/modelbom)
7
8
  [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/rajyavardhan01/modelbom/blob/main/LICENSE)
8
9
  ![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue.svg)
9
10
 
10
11
  <p align="center"><img src="https://raw.githubusercontent.com/rajyavardhan01/modelbom/main/docs/demo.svg" alt="modelbom scanning an example project and reporting findings and attack paths" width="860"></p>
11
12
 
12
- Status: alpha (v0.1.1). Rule IDs and the JSON schema may still change before 1.0.
13
+ Status: alpha (v0.1.2). Rule IDs and the JSON schema may still change before 1.0.
13
14
 
14
15
  ---
15
16
 
@@ -155,7 +156,7 @@ jobs:
155
156
  security-events: write
156
157
  steps:
157
158
  - uses: actions/checkout@v4
158
- - uses: rajyavardhan01/modelbom@v0.1.1
159
+ - uses: rajyavardhan01/modelbom@v0.1.2
159
160
  with:
160
161
  path: .
161
162
  fail-on: high
@@ -1,8 +1,8 @@
1
- torch>=2.1
1
+ torch>=2.15
2
2
  transformers
3
- datasets~=2.19
3
+ datasets~=5.2
4
4
  langchain-community
5
5
  faiss-cpu==1.8.0
6
6
  numpy==1.26.4
7
7
  pyyaml
8
- requests==2.32.3
8
+ requests==2.34.2
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "modelbom"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "Find unsafe model loading, poisoned artifacts and unpinned AI dependencies, and emit a CycloneDX AI-BOM. Zero dependencies; never loads what it scans."
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
@@ -4,6 +4,6 @@ modelbom statically inspects source code, model artifacts and dependency manifes
4
4
  imports, unpickles or otherwise loads the artifacts it scans.
5
5
  """
6
6
 
7
- __version__ = "0.1.1"
7
+ __version__ = "0.1.2"
8
8
 
9
9
  __all__ = ["__version__"]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes