Skip to content

ModelSieve v0.2.0: GitHub Action, pre-commit hook, SARIF

Choose a tag to compare

@redveil-industry redveil-industry released this 30 Nov 05:59
· 1 commit to main since this release

Integrations: put ModelSieve in front of model files automatically.

GitHub Action

- uses: redveil-industry/modelsieve@v0.2.0
  with:
    path: models/
    fail-on: HIGH
- uses: github/codeql-action/upload-sarif@v4
  if: always()
  with:
    sarif_file: modelsieve.sarif

The action installs ModelSieve from its own checkout (the tag = the scanner version), passes inputs to the shell only as environment variables, and writes a job summary. It is tested on every push by running against a malicious and a benign fixture.

pre-commit

- repo: https://github.com/redveil-industry/modelsieve
  rev: v0.2.0
  hooks:
    - id: modelsieve

Runs only when a commit touches model artifacts or HF/MLX configs.

--sarif FILE

SARIF 2.1.0 output with security-severity for GitHub code scanning. CI validates it against the official OASIS schema.

76 tests; CI green on Python 3.9–3.13.