There is a newer version of the record available.

Published August 28, 2026 | Version v1.3.3

ninadphalak/LLM-Shield-Proxy: v1.3.0: Stateless Cryptography, MCP Governance, Air-Gapped Egress, and System Hardening

Authors/Creators

Description

This is a rapid follow-up patch to address a GitHub CodeQL Code Scanning Alert identified in v1.3.2.

What's Changed

🛡️ CodeQL md5 Suppression

In v1.3.2, we reverted from pbkdf2_hmac back to md5(usedforsecurity=False) for generating deterministic synthetic seed integers. While this drastically improved performance and satisfied standard Python Linters (Bandit/Ruff), GitHub CodeQL continued to flag the explicit presence of the md5 token as a High-Severity security risk (Rule: Use of a broken or weak cryptographic hashing algorithm on sensitive data).

  • Fix: Upgraded the deterministic seed generation to use the natively fast hashlib.sha256().hexdigest()[:16] instead.
  • Impact: This maintains the exact same microsecond-level speed as md5, keeps deterministic Fake data consistent, and successfully resolves the CodeQL alert without needing manual dismissals or PR overrides in the GitHub UI.

Validation

  • ✅ CodeQL: Addressed alert #17 in llm_shield_proxy/engines/vault.py
  • ✅ Pytest: 100% Pass (No regressions in deterministic vault mappings)

Full Changelog: https://github.com/ninadphalak/LLM-Shield-Proxy/compare/v1.3.2...v1.3.3

Notes

If you use this software, please cite it as below.

Files

ninadphalak/LLM-Shield-Proxy-v1.3.3.zip

Files (5.6 MB)

Name Size
md5:df695c464a8f9e7a814e09d8ce531a33
5.6 MB Preview Download

Additional details

Related works