Zum Hauptinhalt springen
LIVE
CVSS 7.0CVE-2026-138158 | libgphoto2 through 2.5.34 contains a stack buffer overflow in sierra_get_string_register() that lets a malicious sierra-protocol camera or USB device overwrite stack memory. When files are listed, the device can answer the file-name register with an oversized packet, writing up to 32 KB past small stack buffers to cause crashes or possible code execution.CVSS 7.7CVE-2026-138159 | edbrowse through 3.8.19 contains an integer overflow in stringAndBytes() that allows malicious servers to write past a heap buffer by sending response bodies larger than 2 GB. When a user browses to an attacker-controlled HTTP, FTP, or gopher server, the oversized body skips reallocation and corrupts the heap, causing crashes or potentially code execution.CVSS 8.5CVE-2026-138160 | Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ReadBackupTextLen() that allows attackers to overwrite stack memory via crafted backup files. Attackers can supply overlong quoted text values decoded into a 10,000-byte stack array during convertbackup, restore, or GSM_ReadBackupFile calls, causing crashes or potential code execution.CVSS 8.5CVE-2026-138161 | Gammu before 1.45.2 contains a buffer overflow vulnerability in LoadBackup() that allows attackers to corrupt memory by supplying an overlong MD5 value in a crafted backup file. Attackers can overwrite adjacent phonebook and calendar entry pointers via strcpy() into MD5Original when files are loaded with convertbackup or restore, causing crashes or potential code execution.CVSS 7.3CVE-2026-138162 | Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ALCATEL_EncodeString() that allows attackers to overwrite stack memory via oversized encoded phonebook text. Attackers can supply a crafted backup restored with gammu restore or addnew to an attached Alcatel phone, using GSM extension characters to crash Gammu or potentially execute code.CVSS 8.5CVE-2026-138163 | Gammu before 1.45.2 contains a heap-based buffer overflow in ReadWAPSettingsEntry() that allows attackers to corrupt heap memory via crafted backup files with excess WAP or MMS settings entries. Attackers can supply a backup with more than four TitleNN keys in a [WAPSettings] or [MMSSettings] section, loaded via convertbackup, restore, or GSM_ReadBackupFile, causing crashes or potential code execution.CVSS 4.8CVE-2026-138164 | Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in SaveBackupText() in backtext.c that allows attackers to corrupt stack memory by supplying long text fields. Attackers can craft a backup with long calendar or note fields that, when converted with gammu convertbackup, writes hex digits past the 10,000-byte stack buffer.CVSS 9.3CVE-2026-138154 | POSTAL 2 before build 26810491 contains a sandbox escape vulnerability that allows malicious Steam Workshop mods to execute code by calling ConsoleCommand with a start file URI. Attackers can ship a batch file in a mod at the predictable workshop install path and launch it via ShellExecuteW, executing commands as the player on Windows.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

知识采集与记忆管理:我终于给AI装上了「长期记忆」和「信息消化系统」

折腾 Agent 的朋友应该都有同感:AI 能记住对话上下文,但跨会话的知识管理是个坑。笔记散落在 OneDrive,公众号文章阅后即焚,抖音视频看了就忘。我花了三周,基于 Hermes Memory Installer 底座搭了一套 Knowledge-and-Memory-Management v0.0.2,解决的…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 1 Min. Lesezeit
Quelle: dev.to
Rubrik: Sichere Programmierung

折腾 Agent 的朋友应该都有同感:AI 能记住对话上下文,但跨会话的知识管理是个坑。笔记散落在 OneDrive,公众号文章阅后即焚,抖音视频看了就忘。我花了三周,基于 Hermes Memory Installer 底座搭了一套 Knowledge-and-Memory-Management v0.0.2,解决的就是「知识从哪来、怎么存、如何找」这个闭环。



先说结论:40+ 采集工具 + 三层记忆检索 + 云盘双向同步,走通了。






三个核心模块



采集层整合了 40+ 引擎,按来源分成 9 组。网页有 Scrapling(可过 Cloudflare)和 Chrome DevTools 协议兜底;视频有 yt-dlp + Whisper ASR + EasyOCR 的多级降级链;文档有新增的 SenseNova 三件套(PDF/PPT/Word 全量提取,扫描件也能吃)。最实用的改进是 book_cache_manager——下载完书自动触发精炼管线,把 PDF 拆成章节、提取知识点、生成 Skill 和笔记,全程无人值守。



存储层是 Hot(Memory tool 即时注入)+ Warm(Hindsight 向量记忆,10K 节点)+ Cold(gbrain 知识图谱,11K 页)三层。lightweight_recall 自动走 FTS5 → 向量 → 图谱的降级检索,每条结果带来源标识。



同步层通过 rclone 统一接口,OneDrive 每 4 小时双向增量同步。knowledge_discovery 每周日自动扫云端笔记,发现新文件就录入 gbrain。






一段实战代码



抓一篇公众号文章,自动入库:




from knowledge_collector import collect_web
from notes_rag import create_note
from cloud_sync import sync_to_cloud

# 网页采集 + 智能提取
result = collect_web('https://mp.weixin.qq.com/s/xxx')
print(f'笔记路径: {result.note_path}') # → ~/.hermes/knowledge/notes/...
print(f'gbrain slug: {result.gbrain_slug}') # → gbrain 自动建页

# 本地笔记不足时自动回落 AnySearch 垂直搜索
from knowledge_augmentation import AugmentedSearch
s = AugmentedSearch()
r = s.search('比亚迪 2026Q1 财报', domain='finance')






整条链路就三行——采集、建笔记、同步。AugmentedSearch 会在本地检索(score < 0.6)时自动走 AnySearch 的 finance/academic/legal 等垂直领域,结果标注来源,可一键导入笔记库。






改进之处



目前书籍精炼管线还不够稳定——PDF 图表提取有时会丢数据,双引擎降级(pdfplumber → pdftotext → pdfminer)虽然有兜底,但表格还原率还有提升空间。视频批量转录在 10 条并发时偶现 Whisper 内存 OOM,下一版打算加队列限流。



项目开源,仓库在这。如果有折腾同类问题的朋友,欢迎提 PR 或 issue。

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Community-Diskussion & Kommentare

🌐 Zum Hauptchat

Starte die Diskussion im Social-Chat Broadcast Stream oder reiche oben über „Information ergänzen“ einen Fachbeitrag ein.

Community Rating &amp; Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Noch keine Leser-Bewertungen
War dieser Artikel hilfreich?
0
Jetzt Bewertung abgeben
Detail-Bewertung (optional)
Inhalt & Qualität
Quelle & Glaubwürdigkeit
Aktualität
Security Briefing Kostenlos · 1-Klick-Abmeldung

Intelligence Digest — kostenlos

Täglich die wichtigsten Security-News · jederzeit abbestellbar

Verwandte Story-Cluster & Quellen (Vektor-KI)

4 Cluster
2 Quellen
Mozilla Thanks Users For New Features in Firefox 161: Site-Specific VPN and Keyboard Shortcuts
tsecurity.de vor 1 Tag
1 weitere Quelle
2 Quellen
Florian Quèze: Quickly debugging an intermittent failure that never reproduced locally, with the Firefox Profiler
tsecurity.de vor 2 Tagen
1 weitere Quelle
2 Quellen
GitHub Release: can1357/oh-my-pi v19.1.1 (23.11.2026)
tsecurity.de vor 5 Tagen
1 weitere Quelle
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten 知识采集与记忆管理:我终于给AI装上了「长期记忆」和「信息消化系统」

Thematisch verwandte Begriffe: 知识采集与记忆管理我终于给AI装上了长期记忆和信息消化系统 · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Widgets & Themen
Widgets werden geladen…
Nächster Beitrag