目录

logo

Helios

languages license stars

中文 | English

🌞 Divine Light, Guardian of AI Code Realm

What is Helios

Helios is derived from the ancient Greek “Ἥλιος”, the name of the sun god. In Greek mythology, the sun god drives a golden chariot pulled by four fire horses across the sky, representing light, energy, and guidance.

Helios symbolizes providing light and direction like the sun during developers’ AI editor programming process, protecting program security, preventing potential security threats, and generating more secure code.

Features

Usage

Environment Setup

  • Python: 3.12 or higher

Install uv (if not already installed) for project management and dependency synchronization:

# Install
curl -LsSf https://astral.sh/uv/install.sh | sh

# Update
uv self update 

# Sync dependencies
uv sync

Running

Start the MCP server:

uv run -m helios.helios  

First you need a BAILIAN_API_KEY from https://bailian.console.aliyun.com

export BAILIAN_API_KEY=xxxxxx

Then Configure the server in MCP-compatible clients:

{
  "mcpServers": {
    "sec-server": {
      "url": "http://127.0.0.1:8000/mcp"
    }
  }
}

To ensure MCP tools are called properly, please add config/project_rules.md to your editor’s project rules.

Or add the following to your input prompts:

After writing files or generating files, you must call the MCP tool query_guide_line to query the best file security writing guidelines, then check and correct files according to the guidelines.

Supported Security Checks

  • SQL Injection Detection: Identifies unsafe SQL query construction
  • Command Injection Detection: Detects unsafe command execution
  • File Operation Security Detection: Identifies path traversal and file permission issues
  • Network Request Security Detection: Detects unsafe network communication
  • Hardcoded Credentials Detection: Identifies hardcoded passwords and API keys
  • Weak Encryption Algorithm Detection: Detects use of insecure encryption algorithms
  • Sensitive Data Leakage Detection: Identifies sensitive information leakage in logs

Demo

demo

关于
19.6 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号