dspy-ruby

Fail

Audited by Gen Agent Trust Hub on Feb 17, 2026

Risk Level: CRITICAL
Full Analysis
  • SAFE (SAFE): No malicious behavior or security risks were identified. The provided files are structural templates for implementing LLM modules and signatures using the DSPy.rb library.\n- CREDENTIALS_UNSAFE (SAFE): The configuration templates correctly utilize environment variables (e.g., ENV['GEMINI_API_KEY']) for managing sensitive credentials, adhering to security best practices for Rails applications. The code avoids hardcoding secrets.\n- EXTERNAL_DOWNLOADS (SAFE): While the templates reference various gems in the DSPy ecosystem (such as dspy-ruby_llm and dspy-anthropic), there are no instances of suspicious remote code fetching or execution patterns.\n- COMMAND_EXECUTION (SAFE): The code does not perform any system command execution, subprocess spawning, or unsafe evaluation of strings. The automated scanner flag for Rails.logger.info is a false positive caused by misidentifying a standard Ruby method call as a blacklisted domain suffix.
Recommendations
  • Contains 1 malicious URL(s) - DO NOT USE
Audit Metadata
Risk Level
CRITICAL
Analyzed
Feb 17, 2026, 11:16 PM