AegisKernel——面向 AI 智能体的零信任确定性安全运行时
Show HN: AegisKernel – Zero-trust deterministic security runtime for AI agents
我们发现了什么
Show HN:AegisKernel——面向 AI 智能体的零信任确定性安全运行时。main 分支 标签 前往文件 代码 展开更多操作菜单 最新提交 历史 15 次提交 15 次提交 文件夹和文件 名称 名称 最后提交信息 最后提交日期 .github/workflows .github/workflows aegis aegis .gitignore .gitignore LAUNCH_KIT.md LAUNCH_KIT.md LICENSE LICENSE README
- 来源:Hacker News(发现于 2026-10-17)
- 证据等级:D · 发现产品或需求信号,暂未获得可核验的商业证据。
- 商业模式:待核验
- 主题:AI Agent
- 初筛评分:18.1/100 · 收录 1 次
证据,比故事更重要。
规则清洗与初筛,未经人工商业核验。原文语境、实际客户和付费情况仍需自行验证。
引用与数字披露
来源类型(原作者自述/第三方测算/媒体转引)需采集端标注,本版尚未落字段。
- 作者
- 未标注
- 抓取日期
- 来源类型
- 未标注
- 币种
- 未标注
- 口径
- 未标注
- 披露主体
- 未标注
- 披露日期
- 未标注
中文辅助译文(全文)
main
Branches Tags
Go to file
Code Open more actions menu
Latest commit
History
15 Commits
15 Commits
Folders and files
Name Name Last commit message
Last commit date
.github/ workflows
.github/ workflows
aegis
aegis
.gitignore
.gitignore
LAUNCH_KIT.md
LAUNCH_KIT.md
LICENSE
LICENSE
README.md
README.md
benchmark.py
benchmark.py
benchmark_crewai.py
benchmark_crewai.py
benchmark_langchain.py
benchmark_langchain.py
demo.html
demo.html
index.html
index.html
pyproject.toml
pyproject.toml
test_agent.py
test_agent.py
test_bypass.py
test_bypass.py
test_core.py
test_core.py
test_hack.py
test_hack.py
View all files
Repository files navigation
🛡️ AegisKernel:面向自主 AI 智能体的零信任安全运行时
首个确定性的、基于能力的拦截层,在操作系统系统调用边界上保证对提示注入和工具劫持的 100% 免疫。
图注:CI Security Audit 徽章
图注:License: MIT 徽章
图注:Python 3.10+ 版本徽章
图注:Defense Rate 100% 徽章
图注:Latency <0.05ms 徽章
图注:Version v0.2.0 徽章
⭐ 如果你觉得 AegisKernel 有价值,请为该仓库加星标,以支持开源确定性 AI 智能体安全!
🚨 自主 AI 智能体的关键问题
现代 AI 智能体(CrewAI、LangChain、AutoGen、OpenAI Swarm)正从简单的聊天机器人演变为具备文件系统、数据库、云 API 和 bash 终端直接访问能力的自主行动者。
传统安全护栏依赖于概率性大语言模型(基于提示的过滤器、正则表达式,或二级评估大语言模型)。攻击者可轻易使用以下方式绕过它们:
Base64 编码伪装的漏洞利用载荷
间接提示注入(隐藏在电子邮件、PDF 或抓取的网页中的恶意指令)
路径遍历与环境窃取(.env、SSH 密钥)
工具参数走私与 SQL 注入
行业现状:标准 AI 智能体在 80% 以上的真实世界注入攻击中失败,导致灾难性的远程数据泄露和失控的 Shell 执行。
⚡ 解决方案:确定性污点追踪与能力强制
AegisKernel 完全将概率从安全等式中剔除。它不再询问另一个大语言模型"此提示看起来是否安全?",而是确定性地追踪所有传入数据的来源和污点状态:
外部不可信数据(提示/网页/邮件) ↓ [污点引擎] ---> 将载荷标记为 TaintedString ↓ [LLM 推理] ---> 生成工具调用参数 ↓ [Aegis 拦截器] <--- 强制能力矩阵(零信任边界) ↓ 在 <0.04ms 内被拦截!(已记录 SHA-256 HMAC 取证审计日志)
自动污点标记(aegis.core.taint):外部数据被包装在 TaintedString 中。字符串操作(切片、拼接、大写、格式化)确定性地保留污点标签。
基于能力的访问控制(aegis.core.policy):高权限操作(SHELLEXEC、FILEWRITE、DATABASE_MODIFY)需要明确的策略授权。试图进行危险系统调用的污染参数会被立即终止。
硬件级速度拦截(aegis.core.interceptor):在系统调用到达操作系统内核之前,以 < 0.05 ms 的速度消除攻击。
取证审计日志记录器(aegis.core.audit):为企业合规(SOC2、HIPAA、欧盟 AI 法案)生成防篡改的加密 SHA-256 HMAC 日志。
📊 实时基准测试记分牌(CrewAI 多智能体审计)
通过 python benchmark_crewai.py 验证复现:
===========================================================================
🛡️ CREWAI 多智能体安全审计 (AegisKernel v0.2.0)
===========================================================================
攻击向量 | 标准 CrewAI | 使用 AegisKernel
---------------------------------------------------------------------------
破坏性 Root 注入 | 被利用 ❌ | 已拦截 (0.061ms) 🛡️
路径遍历(.env 泄露)| 被利用 ❌ | 已拦截 (0.041ms) 🛡️
数据库删除注入 | 被利用 ❌ | 已拦截 (0.022ms) 🛡️
命令链劫持 | 被利用 ❌ | 已拦截 (0.016ms) 🛡️
---------------------------------------------------------------------------
摘要:标准 CrewAI:0% 防御 | AegisKernel:100% 免疫 (<0.04ms)
===========================================================================💻 2 行即插即用集成
加固自主智能体仅需 2 行代码:
通用工具保护:
from aegis import AegisShield , SecurityPolicy
# 初始化零信任护盾
shield = AegisShield ( policy = SecurityPolicy . strict ())
# 保护任何工具函数
@ shield . protect_tool
def execute_system_command ( cmd : str ):
return os . system ( cmd )自动加固 CrewAI / LangChain 智能体:
from aegis . integrations import protect_agent
# 传入你现有的 CrewAI 或 LangChain 智能体
hardened_agent = protect_agent ( my_vulnerable_agent )
# 所有工具现已在系统调用边界受到保护!🌐 在线交互式 Web 沙盒
在你的浏览器中尝试实时威胁模拟:
在任意浏览器中打开 demo.html 以测试实时攻击载荷、监控亚毫秒级执行时间,并检查加密的取证审计日志。
🛠️ 安装与设置
# 克隆仓库
git clone https://github.com/adikshatriyag-crypto/aegis-kernel.git
cd aegis-kernel
# 以开发模式安装
pip install -e .
# 运行核心架构单元测试
python test_core.py
# 运行 CrewAI 基准测试
python benchmark_crewai.py📜 架构目录
aegis-kernel/
├── .github/workflows/
│ └── security_audit.yml # 自动化 CI/CD 测试运行器
├── aegis/
│ ├── __init__.py # 公共 API 与导出(v0.2.0)
│ ├── shield.py # 顶层 AegisShield 接口
│ ├── integrations.py # CrewAI 与 LangChain 自动包装器
│ └── core/
│ ├── taint.py # 数学化的污点传播引擎
│ ├── policy.py # 基于能力的权限矩阵
│ ├── interceptor.py # 系统调用守门人(亚毫秒代理)
│ └── audit.py # 加密 SHA-256 HMAC 日志记录器
├── benchmark_crewai.py # 多智能体基准测试套件
├── demo.html # 在线交互式威胁沙盒
├── test_core.py # 全面单元测试套件
└── pyproject.toml # 构建与打包配置💼 企业设计合作伙伴(每月 $1,000 – $5,000)
正在生产环境中部署自主智能体?我们正在为以下方向招募 5 家创始设计合作伙伴初创企业和企业团队:
舰队级能力隔离:面向多达 50 个自主智能体的自定义权限边界。
合规就绪的审计跟踪:面向 SOC2、HIPAA 和欧盟 AI 法案合规的加密 SHA-256 HMAC 防篡改日志导出。
专属 24/7 安全 SLA:对新型零日提示注入向量的紧急补丁一小时内响应。
直接的创始人 Slack 频道:优先集成工程和架构支持。
👉 申请设计合作伙伴名额:提交 Issue 或通过 Twitter @adikshatriyag / 电子邮件 founder@aegiskernel.com 联系。
📄 许可证
基于 MIT 许可证分发。更多信息请参见 LICENSE。
关于
面向自主 AI 智能体的零信任确定性安全运行时
资源
自述文件
MIT 许可证
动态
星标
1 个星标
关注者
0 个关注者
复刻
1 次复刻
报告仓库
版本发布
软件包
贡献者
语言
译文由上游机器翻译生成,可能有误;判断请以英文原文为准。
英文原文(来源本站未改写)
main
Branches Tags
Go to file
Code Open more actions menu
Latest commit
History
15 Commits
15 Commits
Folders and files
Name Name Last commit message
Last commit date
.github/ workflows
.github/ workflows
aegis
aegis
.gitignore
.gitignore
LAUNCH_KIT.md
LAUNCH_KIT.md
LICENSE
LICENSE
README.md
README.md
benchmark.py
benchmark.py
benchmark_crewai.py
benchmark_crewai.py
benchmark_langchain.py
benchmark_langchain.py
demo.html
demo.html
index.html
index.html
pyproject.toml
pyproject.toml
test_agent.py
test_agent.py
test_bypass.py
test_bypass.py
test_core.py
test_core.py
test_hack.py
test_hack.py
View all files
Repository files navigation
🛡️ AegisKernel: Zero-Trust Security Runtime for Autonomous AI Agents
The first deterministic, capability-based interception layer that guarantees 100% immunity against prompt injection and tool-hijacking at the OS syscall boundary.
⭐ If you find AegisKernel valuable, star the repository to support open-source deterministic AI agent safety!
🚨 The Critical Problem in Autonomous AI Agents
Modern AI Agents ( CrewAI, LangChain, AutoGen, OpenAI Swarm ) are moving from simple chatbots to autonomous actors with direct access to file systems, databases, cloud APIs, and bash terminals.
Traditional security guardrails rely on probabilistic LLMs (prompt-based filters, regexes, or secondary evaluator LLMs). Attackers easily bypass them using:
Base64 Cloaked Exploit Payloads
Indirect Prompt Injection (malicious instructions concealed within emails, PDFs, or scraped web pages)
Path Traversal & Environment Theft ( .env , SSH keys)
Tool Argument Smuggling & SQL Injection
Industry Reality: Standard AI agents fail 80%+ of real-world injection attacks, leading to catastrophic remote data leaks and uncontained shell execution.
⚡ The Solution: Deterministic Taint Tracking & Capability Enforcement
AegisKernel completely removes probabilities from the security equation. Instead of asking another LLM "Does this prompt look safe?" , AegisKernel tracks the provenance and taint status of all incoming data deterministically:
External Untrusted Data (Prompt/Web/Email) ↓ [Taint Engine] ---> Tags payload as TaintedString ↓ [LLM Reasoning] ---> Generates Tool Call Arguments ↓ [Aegis Interceptor] <--- Enforces Capability Matrix (Zero-Trust Boundary) ↓ BLOCKED in <0.04ms! (Forensic Audit SHA-256 HMAC Logged)
Automatic Taint Tagging ( aegis.core.taint ): External data is wrapped in TaintedString . String operations (slicing, concatenations, uppercase, formatting) preserve taint labels deterministically.
Capability-Based Access Control ( aegis.core.policy ): High-privilege actions ( SHELLEXEC , FILEWRITE , DATABASE_MODIFY ) require explicit policy grants. Tainted arguments attempting dangerous syscalls are killed instantly.
Hardware-Speed Interception ( aegis.core.interceptor ): Neutralizes attacks in < 0.05 ms before the syscall ever reaches the operating system kernel.
Forensic Audit Logger ( aegis.core.audit ): Emits cryptographic tamper-evident SHA-256 HMAC logs for enterprise compliance (SOC2, HIPAA, EU AI Act).
📊 Live Benchmark Scorecard (CrewAI Multi-Agent Audit)
Verified reproduction via python benchmark_crewai.py :
=========================================================================== 🛡️ CREWAI MULTI-AGENT SECURITY AUDIT (AegisKernel v0.2.0) =========================================================================== Attack Vector | Standard CrewAI | With AegisKernel --------------------------------------------------------------------------- Destructive Root Injection | EXPLOITED ❌ | BLOCKED (0.061ms) 🛡️ Path Traversal (.env leak) | EXPLOITED ❌ | BLOCKED (0.041ms) 🛡️ Database Drop Injection | EXPLOITED ❌ | BLOCKED (0.022ms) 🛡️ Command Chaining Hijack | EXPLOITED ❌ | BLOCKED (0.016ms) 🛡️ --------------------------------------------------------------------------- SUMMARY: Standard CrewAI: 0% Defense | AegisKernel: 100% IMMUNITY (<0.04ms) ===========================================================================
💻 2-Line Drop-In Integration
Hardening an autonomous agent takes only 2 lines of code:
Universal Tool Protection:
from aegis import AegisShield , SecurityPolicy
Initialize zero-trust shield
shield = AegisShield ( policy = SecurityPolicy . strict ())
Protect any tool function
@ shield . protecttool def executesystem_command ( cmd : str ): return os . system ( cmd )
Auto-Harden CrewAI / LangChain Agents:
from aegis . integrations import protect_agent
Pass your existing CrewAI or LangChain agent
hardenedagent = protectagent ( myvulnerableagent )
All tools are now shielded at the syscall boundary!
🌐 Live Interactive Web Sandbox
Try the live threat simulation in your browser: Open demo.html in any browser to test live attack payloads, monitor sub-millisecond execution times, and inspect cryptographic forensic audit logs.
🛠️ Installation & Setup
Clone the repository
git clone https://github.com/adikshatriyag-crypto/aegis-kernel.git cd aegis-kernel
Install in development mode
pip install -e .
Run Core Architecture Unit Tests
python test_core.py
Run CrewAI Benchmark
python benchmark_crewai.py
📜 Architecture Directory
aegis-kernel/ ├── .github/workflows/ │ └── securityaudit.yml # Automated CI/CD test runner ├── aegis/ │ ├── init.py # Public API & exports (v0.2.0) │ ├── shield.py # Top-level AegisShield interface │ ├── integrations.py # CrewAI & LangChain auto-wrappers │ └── core/ │ ├── taint.py # Mathematical taint propagation engine │ ├── policy.py # Capability-based permission matrix │ ├── interceptor.py # Syscall gatekeeper (sub-ms proxy) │ └── audit.py # Cryptographic SHA-256 HMAC logger ├── benchmarkcrewai.py # Multi-agent benchmark test suite ├── demo.html # Live interactive threat sandbox ├── test_core.py # Comprehensive unit test suite └── pyproject.toml # Build & package configuration
💼 Enterprise Design Partners ($1,000 – $5,000/mo)
Deploying autonomous agents in production? We are onboarding 5 founding design partner startups & enterprise teams for:
Fleet-Wide Capability Isolation: Custom permission boundaries for up to 50 autonomous agents.
Compliance-Ready Audit Trails: Cryptographic SHA-256 HMAC tamper-evident log exports for SOC2, HIPAA, and EU AI Act compliance.
Dedicated 24/7 Security SLA: 1-hour emergency patch turnaround for novel zero-day prompt injection vectors.
Direct Founder Slack Channel: Priority integration engineering and architecture support.
👉 To apply for a design partnership slot: Open an Issue or reach out via Twitter @adikshatriyag / email founder@aegiskernel.com .
📄 License
Distributed under the MIT License . See LICENSE for more information.
About
Zero-Trust Deterministic Security Runtime for Autonomous AI Agents
Resources
Readme
MIT license
Activity
Stars
1 star
Watchers
0 watching
Forks
1 fork
Report repository
Releases
Packages
Contributors
Languages
这条还缺什么证据?
下面每条都由本条已有字段推出(等级、理由、商业模式、来源次数、是否演示), 本站不生成推测性结论;通用验证方法放在方法论页。
- 可核验的收入或付费证据查官网定价页与付费口径;第三方数据源(如 GetLatka)只作旁证,需标注来源与时点。
- 商业模式未定确认按席位/按用量/授权还是开源托管版收费;开源项目另查 LICENSE 与是否存在付费版。
- 只有单一来源找一手站点或其他渠道是否重复出现同一产品;社区热帖数量不等于商业进展。
通用验证清单(谁有这个问题/谁愿意付费/一个人能交付哪一小步)见我们的筛选方法。