Zum Hauptinhalt springen
LIVE
CVSS 6.9CVE-2026-138105 | A vulnerability has been found in ssssssss-team magic-api 2.2.2. The affected element is an unknown function of the file /magic/web/datasource/jdbc/test of the component Datasource JDBC Test Endpoint. Such manipulation of the argument driverClassName leads to code injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not respoCVSS 6.9CVE-2026-138104 | A flaw has been found in ssssssss-team magic-api up to 2.2.2. Impacted is the function push of the file magic-api/src/main/java/org/ssssssss/magicapi/core/web/MagicWorkbenchController.java of the component Workbench Push Interface. This manipulation of the argument magic-push-target causes server-side request forgery. The attack can be initiated remotely. The exploit has been published and may be used. The project was informed of the problem early through anCVSS 6.9CVE-2026-138103 | A vulnerability was detected in ssssssss-team magic-api up to 2.2.2. This issue affects the function saveFile of the file MagicResourceController.java of the component magic-api-core resource save API. The manipulation results in code injection. It is possible to launch the attack remotely. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.CVSS 9.4CVE-2026-138102 | A security vulnerability has been detected in D-Link DIR-620S 4.0.2. This vulnerability affects unknown code of the file /usr/sbin/anweb of the component Diagnostic Handler. The manipulation of the argument I leads to os command injection. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used.CVSS 5.3CVE-2026-138101 | A weakness has been identified in MassGen up to 0.1.97. This affects the function _generate_subagent_yaml_config of the file massgen/subagent/manager.py of the component Subagent Delegation System. Executing a manipulation can lead to improper authorization. The attack may be performed from remote. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has notCVSS 6.9CVE-2026-138100 | A security flaw has been discovered in MassGen up to 0.1.97. Affected by this issue is the function __init__ of the file massgen/filesystem_manager/_filesystem_manager.py. Performing a manipulation results in protection mechanism failure. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.CVSS 8.7CVE-2026-138099 | A vulnerability was identified in Tenda AC10U 1.18.6. Affected by this vulnerability is the function readUsb of the component ATE Service. Such manipulation leads to out-of-bounds write. The attack can be executed remotely. The exploit is publicly available and might be used.CVSS 6.9CVE-2026-138098 | A vulnerability was determined in weison-tech yii2-cms up to 1.0.2. Affected is an unknown function of the file protected/core/config/common.php of the component RBAC Authorization. This manipulation causes improper authorization. Remote exploitation of the attack is possible.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

How We Gave CLI Coding Agents Persistent Memory Using a Proxy and Cognee

Every morning, I open my terminal and re-explain my entire project to an AI that worked on it yesterday. The architecture, the naming conventions, the bug we…

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

Every morning, I open my terminal and re-explain my entire project to an AI that worked on it yesterday. The architecture, the naming conventions, the bug we were halfway through fixing — all gone. Close the terminal, lose the context. We got tired of it, so we built cliMEM.

The problem

If you've used Claude Code, OpenCode, or Codex CLI, you know how good these agents have become. They read your codebase, refactor across files, and fix bugs faster than you can describe them. But they all share one embarrassing flaw: they're completely stateless.



Every session starts from zero. The agent doesn't know what you decided last Tuesday, what conventions your team follows, or which thread you left half-finished. You either re-explain everything each time, or watch the agent confidently contradict decisions it made yesterday.



The usual workaround is stuffing everything into a giant instructions file or a bigger context window. But that doesn't scale — context windows fill up, instruction files go stale, and none of it captures what actually matters: the decisions made mid-conversation, the conventions that emerged naturally, the open threads you meant to come back to.



What we wanted was simple to say and annoying to build: an agent that remembers each project the way a teammate would — automatically, per project, without changing how we work. That's what our team AI ALCHEMISTS built at the WeMakeDevs hangover hackathon.

How it works

cliMEM is a local proxy server that sits between your CLI agent and its AI provider. The agent thinks it's talking to its provider; it's actually talking to us.



CLI Agent → cliMEM proxy (localhost:8000) → AI Provider




                │

├── injects remembered context into every request

├── logs the conversation as it happens

└── on session end: extracts facts → stores in Cognee




Capturing. As requests flow through, the proxy logs every message of the conversation.



Remembering. When the session ends — Ctrl+C or an idle timeout — the chat log goes to filter.py, a rule-based extractor that distills the raw conversation into atomic, self-contained facts, categorized as things like decision, convention, open_thread, and architecture. We deliberately chose heuristics over an LLM summarization step: no extra API cost, no added latency, no dependency on yet another model call. Those facts are stored in Cognee, a graph + vector memory engine, scoped to the project's working directory so contexts never bleed between projects.



Recalling. In a new session, the proxy intercepts your prompt, searches Cognee for relevant facts, and injects them (plus a live file tree) into the system prompt before forwarding the request. Your agent's original instructions are preserved — we append, never replace. The AI answers with full project memory, and you never notice anything changed.



Setup is two commands: climem start runs the proxy, and climem configure claude (or opencode, or codex) points your agent at it. One command restores the original config.

What actually went wrong

Hackathon writeups usually skip this part. We won't — these problems ate most of our nights, and each one taught us something we couldn't have learned from a tutorial.




  1. The crash that only happens when nothing happens
    Our server kept dying at shutdown with DatabaseNotCreatedError — and for the longest time we couldn't reproduce it consistently. That's the worst kind of bug: the one that seems random.



When we finally traced it, the cause was almost funny. Cognee's database schema doesn't exist until migrations run. Our store_memory() had an early return — if a session produced no memorable facts, it never called cognee.add(), so the schema never got created. search_memory() failed silently by design (wrapped in try/except). But improve_memory() had no such protection — it slammed straight into a database that didn't exist.



The trigger condition? A session where nothing interesting was said. All our test messages were casual questions — no decisions, no facts — so the crash fired every single time, while looking completely unrelated to anything we'd typed. We "fixed" it by manually running cognee.run_migrations() in a terminal, felt relieved for about an hour, So we moved it into the code: one await cognee.run_migrations() at server startup, idempotent, invisible, permanent,later we fixed it by adding cognee.run_migrations() to our code.




  1. Three embedding providers, three different ways to fail
    This was the most demoralizing stretch of the hackathon. The memory engine — the whole point of the project — wouldn't embed anything.



NVIDIA NIM rejected our requests as malformed. Digging in, we found two API contract mismatches: NVIDIA requires an input_type field ("query" vs "passage") that Cognee never sends, and Cognee passes a dimensions parameter that NIM models don't accept. Cognee's embedding engines are built around the OpenAI spec with no way to add or remove parameters per provider — so we were stuck on both sides of the contract at once.



Jina was our plan B. It failed before a single request even left the machine — Cognee couldn't map Jina's models to the right tokenizer, so chunking broke at step zero. (An upstream PR, cognee#3762, now addresses this class of bug.)



All of this while juggling rate-limited API keys and a hackathon clock. There's a special kind of frustration in watching your architecture work perfectly on paper while the one dependency you can't control keeps saying no. We finally stopped fighting external APIs entirely and switched to fastembed — fully local embeddings, no API contract to violate, no rate limits to hit. Sometimes the winning move is refusing to play.




  1. Turning our worst bug into an upstream contribution
    Here's the part we're proudest of. After the hackathon, we didn't let the NVIDIA problem go. We searched Cognee's repo: the dimensions half traced to a closed issue (cognee#1961), but the input_type gap was completely unreported. Nobody had hit it — or nobody had written it down.



So we built the fix ourselves: a new EMBEDDING_INPUT_TYPE config setting, provider detection for NVIDIA NIM (from either the provider field or the model prefix — they can disagree, which we learned the hard way), conditional omission of the unsupported dimensions parameter, and forwarding input_type via extra_body for self-hosted NIM-style servers. Four unit tests, all passing, no regressions in the existing suite. The pull request is on its way to topoteretes/cognee.



A bug that cost us hours of hackathon sleep is becoming our first open-source contribution. That trade feels right.

The honest constraint

We're students at Amrita Vishwa Vidyapeetham with 9-to-5 classes, so this was built in the gaps — late nights, between-lecture debugging, and a lot of coordination over chat. With more time we're confident we could have attempted a second problem statement — instead, we chose to ship one thing that works. We'd make that trade again.

See it in action

📺 Watch the 60-second demo



⭐ Star the repo on GitHub — and if you try it and something breaks, open an issue. We know exactly how it feels to debug someone else's undocumented gotcha.

FOLLOW OUR INSTAGRAM PAGE FOR MORE INSIGHTS AND ABOUT CLIMEM https://www.instagram.com/alchemists.ai/



Follow us on Instagram



What's next

Raising the idle timeout out of test mode, hardening the fact extractor, and landing our NVIDIA NIM input_type fix in Cognee — because the best ending for a hackathon bug is a merged PR.



Built by Team AIALCHEMISTS — at the WeMakeDevs hackathon.

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:

💬 Communitydiscussie & reacties

🌐 Naar de hoofdchat

Start de discussie in de Social Chat broadcaststream of dien hierboven een vakbijdrage in via het aanvulformulier.

Community Rating & Social Proof
⭐ Lezersbeoordeling
–
Ø / 5.0
Nog geen recensies van lezers
Was dit artikel nuttig?
0
Geef uw beoordeling
Detailbeoordeling (optioneel)
Inhoud & Kwaliteit
Bron & Geloofwaardigheid
Actualiteit
Security Briefing Gratis · 1-klik uitschrijven

Intelligence Digest gratis

Dagelijks het belangrijkste beveiligingsnieuws · kan op elk moment worden opgehaald

Verwant Story Cluster & Sources (vector AI)

6 Cluster
26 Bronnen
ForgeOS Booted on a Real Server: Linux Kernel Below, Only Our Own Code Above
DEV Community 1 uur geleden
25 andere bronnen
VulDB Updates2 uur geledenCVE-2026-72239 | Linux Kernel sev x86/virt/sev/sev.c wbinvd_on_all_cpus state issue (WID-SEC-2026-2852) VulDB Updates2 uur geledenCVE-2026-72240 | Linux Kernel up to 7.1.4 mfd sm501_register_device memory leak (WID-SEC-2026-2852) VulDB Updates2 uur geledenCVE-2026-72241 | Linux Kernel up to 7.1.4 uleds strchr buffer overflow (WID-SEC-2026-2852) VulDB Updates2 uur geledenCVE-2026-72244 | Linux Kernel up to 6.12.100/6.18.41/7.1.4/7.2-rc2 gpu-buddy allocation of resources (WID-SEC-2026-2852) VulDB Updates2 uur geledenCVE-2026-72243 | Linux Kernel up to 7.2-rc2 selinux socket_sendmsg permission (Nessus ID 364200 / WID-SEC-2026-2852) VulDB Updates2 uur geledenCVE-2026-72245 | Linux Kernel up to 7.1.4 host1x host1x_device_parse_dt release of resource (WID-SEC-2026-2852) VulDB Updates2 uur geledenCVE-2026-72246 | Linux Kernel flowtable input validation (WID-SEC-2026-2852) VulDB Updates2 uur geledenCVE-2026-72247 | Linux Kernel up to 7.2-rc3 nf_conncount __nf_conncount_add dir comparison (WID-SEC-2026-2852) VulDB Updates2 uur geledenCVE-2026-72248 | Linux Kernel up to 7.1.4/7.2-rc2 flowtable nft_flow_dst_release buffer overflow (WID-SEC-2026-2852) LinuxAndUbuntu2 uur geledenLinux AutoFDO Benchmark: Clang Kernel Optimization FOSS Linux2 uur geledenNFS2ROOT: Pre-Auth Flaw in the Linux NFS Server VulDB Updates3 uur geledenCVE-2022-31607 | NVIDIA GPU Display Driver on Linux Kernel Mode Layer nvidia.ko input validation (EUVD-2022-53059 / Nessus ID 339047) VulDB Updates4 uur geledenCVE-2026-72227 | Linux Kernel up to 6.12.96/6.18.39/7.1.4/7.2-rc2 batman-adv out-of-bounds (WID-SEC-2026-2852) VulDB Updates4 uur geledenCVE-2026-72228 | Linux Kernel up to 7.2-rc2 batman-adv skb_split memory leak (WID-SEC-2026-2852) VulDB Updates4 uur geledenCVE-2026-72229 | Linux Kernel up to 7.2-rc2 batman-adv register_netdevice memory leak (WID-SEC-2026-2852) VulDB Updates4 uur geledenCVE-2026-72231 | Linux Kernel up to 7.2-rc2 batman-adv batadv_send_tt_request allocation of resources (WID-SEC-2026-2852) VulDB Updates4 uur geledenCVE-2026-72230 | Linux Kernel up to 7.2-rc2 batman-adv batadv_frag_send_packet memory leak (WID-SEC-2026-2852) VulDB Updates4 uur geledenCVE-2026-72232 | Linux Kernel up to 7.2-rc2 batman-adv batadv_interface_tx out-of-bounds (WID-SEC-2026-2852) VulDB Updates4 uur geledenCVE-2026-72234 | Linux Kernel up to 7.2-rc1 batman-adv batadv_get_vid use after free (WID-SEC-2026-2852) VulDB Updates4 uur geledenCVE-2026-72233 | Linux Kernel up to 7.2-rc1 batman-adv batadv_bla_is_backbone_gw use after free (WID-SEC-2026-2852) VulDB Updates4 uur geledenCVE-2026-72236 | Linux Kernel up to 7.2-rc3 s390/perf_cpum_cf __hw_perf_event_init config array index (WID-SEC-2026-2852) VulDB Updates4 uur geledenCVE-2026-72235 | Linux Kernel up to 7.2-rc1 batman-adv batadv_interface_rx use after free (WID-SEC-2026-2852) VulDB Updates4 uur geledenCVE-2026-72237 | Linux Kernel up to 7.2-rc2 BRS /x86/amd/brs amd_brs_match_plm information disclosure (WID-SEC-2026-2852) VulDB Updates4 uur geledenCVE-2026-72238 | Linux Kernel up to 7.2-rc3 x86 boot early_serial_init integer overflow (WID-SEC-2026-2852) DEV Community4 uur geledenIs that GPTBot real? How to verify Googlebot, Bingbot and AI crawlers in your server logs
14 Bronnen
Amazon Australia Cyber Monday deals
Latest from TechRadar 39 min. geleden
13 andere bronnen
CNET49 min. geledenThis Pocket Battery Recharges Your Phone 4 Times, and it’s Only $38 for Cyber Monday Latest from TechRadar1 uur geledenFirebat's M1 is a cracking Ryzen AI 9 HX 470 mini PC for AI workloads — and it's packing OCuLink, 32GB of RAM, and a 1TB SSD for $1020 this Cyber Monday Latest from TechRadar1 uur geledenThe Lenovo IdeaCentre Tower Copilot+ PC with Core Ultra 7 CPU isn't discounted for Cyber Monday — and it's still the desktop computer I'd buy for work for $1049 The Verge1 uur geledenQobuz is my streaming service of choice and it’s on sale during Cyber Monday CNET12 dagen geledenThis Paramount Plus Cyber Monday Deal Gets You Ad-Free Viewing for Only $3 Per Month CNET1 uur geledenCyber Monday Meta Quest 3S Deal Knocks $53 Off and Gets You $50 Free Amazon Credit WIRED4 uur geledenThe 31+ Very Best Amazon Black Friday Deals (2026): Up to 50% Off The Verge2 uur geledenThese early Cyber Monday gaming laptop deals offer the most GPU for the least money Latest from TechRadar3 uur geledenGrab a TP-Link dual-band Wi-Fi 6 router with 1.5Gbps for $44 this Cyber Monday CNET4 uur geledenUpgrade Your Emergency Preparedness Kit With Black Friday and Cyber Monday Deals on Power Stations, Flashlights, Solar and More AppleInsider News4 uur geledenAirPods Max 2 plunge to best $399 price with $150 Cyber Monday discount Latest from TechRadar4 uur geledenI test Apple TV VPNs for a living — here are the 3 VPNs worth your money for Black Friday and Cyber Monday WIRED4 uur geledenCyber Monday Deals, Curated Live By Our Experts (2026)
Soortgelijke bijdragen
🔍 Verwandte News

Auch interessante Nachrichten How We Gave CLI Coding Agents Persistent Memory Using a Proxy and Cognee

Thematisch verwandte Begriffe: Gave, Coding, Agents, Persistent · 6 Treffer

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

💬 Reacties worden geladen…
Trek om te vernieuwen
Widgets & onderwerpen
Widgets laden…
Volgende bericht