Skip to content

Security: LessUp/mini-inference-engine

Security

SECURITY.md

Security Policy

Supported Versions

We release patches for security vulnerabilities for the following versions:

Version Supported
1.x
< 1.0

Reporting a Vulnerability

We take security vulnerabilities seriously. If you discover a security issue, please report it responsibly:

How to Report

  1. Do not open a public issue for security vulnerabilities
  2. Email security concerns to the repository maintainer
  3. Include the following information:
    • Description of the vulnerability
    • Steps to reproduce
    • Potential impact
    • Suggested fix (if available)

Response Timeline

  • Acknowledgment: Within 48 hours
  • Initial Assessment: Within 7 days
  • Fix Development: Depends on severity (critical issues prioritized)
  • Disclosure: After fix is released

Security Considerations

CUDA Kernel Security

This project executes CUDA kernels on GPU hardware. Key security considerations:

  1. Memory Safety: All GPU memory operations use CUDA_CHECK() for error handling
  2. Input Validation: Public APIs validate input dimensions and pointers
  3. Buffer Bounds: Matrix operations check for integer overflow before allocation

Weight File Format

The custom binary weight format includes:

  • Magic number validation
  • Version checking
  • Layer dimension bounds checking

Note: Weight files do not include cryptographic signatures. Users should verify file integrity through external means for production deployments.

Dependencies

Dependency Security Notes
CUDA Toolkit Follow NVIDIA security advisories
cuBLAS Part of CUDA Toolkit
Google Test Only used for testing, not production

Known Limitations

  1. No GPU Isolation: CUDA kernels run with the same permissions as the host process
  2. No Weight Encryption: Weight files are stored in plaintext
  3. No Rate Limiting: Inference engine has no built-in rate limiting

Security Updates

Security updates will be released as patch versions and documented in:


Last updated: April 2024

There aren’t any published security advisories