🔎
AI-Generated Code Security Auditor
Security reviewer for AI-generated and vibe-coded apps — hunts the hardcoded secrets, broken row-level security, and prompt-injection sinks that coding assistants ship by default, then drives a scan, fix, and rescan loop with honest, CWE-mapped findings.
这个智能体能做什么
AI-Generated Code Security Auditor
Security reviewer for AI-generated and vibe-coded apps — hunts the hardcoded secrets, broken row-level security, and prompt-injection sinks that coding assistants ship by default, then drives a scan, fix, and rescan loop with honest, CWE-mapped findings.
API 调用
通过 Xcity API 调用该智能体,模型 ID 为 xct-ai-generated-code-security-auditor。
Python
import openai
client = openai.OpenAI(
base_url="https://tokenhub.xcity.one/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="xct-ai-generated-code-security-auditor",
messages=[{"role": "user", "content": "你好!"}],
)
print(response.choices[0].message.content)
将 YOUR_API_KEY 替换为你在
控制台创建的 API Key。