nanochat 中的关键沙箱逃逸漏洞
作者: captain99hook创建于 2026年4月16日更新于 2026年4月25日
1. Create test script
Create a file test_exploit.py:
#!/usr/bin/env python3
"""
Test script to demonstrate the sandbox escape vulnerability
"""
import sys
import os
sys.path.insert(0, '/path/to/nanochat')
from nanochat.execution import execute_code
内容来源: karpathy/nanoGPT