<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: RESK</title>
    <description>The latest articles on DEV Community by RESK (@resk).</description>
    <link>https://dev.to/resk</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3297057%2Fcd81c560-a475-451a-9ef7-eae4c1f01567.jpg</url>
      <title>DEV Community: RESK</title>
      <link>https://dev.to/resk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/resk"/>
    <language>en</language>
    <item>
      <title>Model Distillation Attacks: The Underrated AI Security Threat You Should Know About</title>
      <dc:creator>RESK</dc:creator>
      <pubDate>Sat, 27 Jun 2026 15:17:00 +0000</pubDate>
      <link>https://dev.to/resk/model-distillation-attacks-the-underrated-ai-security-threat-you-should-know-about-163i</link>
      <guid>https://dev.to/resk/model-distillation-attacks-the-underrated-ai-security-threat-you-should-know-about-163i</guid>
      <description>&lt;p&gt;&lt;strong&gt;Links:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📦 resk-logits: &lt;a href="https://pypi.org/project/resklogits" rel="noopener noreferrer"&gt;https://pypi.org/project/resklogits&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📦 reskSecure: &lt;a href="https://pypi.org/project/resksecure" rel="noopener noreferrer"&gt;https://pypi.org/project/resksecure&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🐙 GitHub: &lt;a href="https://github.com/Resk-Security" rel="noopener noreferrer"&gt;https://github.com/Resk-Security&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🌐 Web: &lt;a href="https://resk.fr" rel="noopener noreferrer"&gt;https://resk.fr&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When people talk about LLM security threats, they usually mention prompt injection, jailbreaks, or data poisoning. But there's another attack vector that's quietly growing: &lt;strong&gt;model distillation attacks&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Model Distillation?
&lt;/h2&gt;

&lt;p&gt;Knowledge distillation is a legitimate technique where a smaller "student" model is trained to replicate the behavior of a larger "teacher" model by learning from its outputs. It's widely used to reduce inference costs and latency.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Simplified example: distilling from a teacher LLM
&lt;/span&gt;&lt;span class="n"&gt;student_logits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;student_model&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;input_ids&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;teacher_logits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;teacher_model&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;input_ids&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# KL-divergence loss to mimic teacher distribution
&lt;/span&gt;&lt;span class="n"&gt;loss&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;kl_divergence&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;student_logits&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;teacher_logits&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;loss&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;backward&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;optimizer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;step&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The Attack Surface
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Safety Alignment Evasion
&lt;/h3&gt;

&lt;p&gt;A safety-aligned model has two layers of knowledge:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Capability knowledge&lt;/strong&gt;: how to write code, analyze data, answer questions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safety alignment&lt;/strong&gt;: refusal to generate harmful content (RLHF, constitutional AI)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When an attacker distills a model using API outputs, the student often inherits the capability but &lt;strong&gt;not&lt;/strong&gt; the safety alignment. The student learns WHAT to say but not WHEN to refuse — because refusal is an emergent behavior of the fine-tuning process, not something that can be easily captured in output distributions.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. IP Theft at Scale
&lt;/h3&gt;

&lt;p&gt;Models like GPT-4o, Claude Opus, and Gemini cost millions to train. Distillation lets an attacker replicate benchmark-level performance for the cost of API queries. This is why terms of service explicitly prohibit it, but detection is practically impossible — the API just sees legitimate traffic.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Poisoning the Supply Chain
&lt;/h3&gt;

&lt;p&gt;A more sophisticated attack: release a "helpful" distilled model on Hugging Face, let the community adopt it, then push an update that removes safety constraints. The model was already trusted through the distillation name.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Logits-Level Filtering Matters Here
&lt;/h2&gt;

&lt;p&gt;Post-deployment filtering is the most practical defense against rogue distilled models. Even if you don't control the model weights, you can control its output at inference time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;resk-logits&lt;/strong&gt; uses GPU-accelerated Aho-Corasick to shadow-ban dangerous tokens during generation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;resklogits&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;ReskLogits&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Pattern&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;torch&lt;/span&gt;

&lt;span class="n"&gt;patterns&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="nc"&gt;Pattern&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;how to build a bomb&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="nc"&gt;Pattern&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;instructions for synthesizing &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="nc"&gt;Pattern&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;steps to hack into &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="n"&gt;rl&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ReskLogits&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;patterns&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;device&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;cuda&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Intercept at logits level — before token selection
&lt;/span&gt;&lt;span class="n"&gt;logits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;model&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;input_ids&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;logits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;process&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;logits&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;input_ids&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;token&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;torch&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;argmax&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;logits&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dim&lt;/span&gt;&lt;span class="o"&gt;=-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;reskSecure&lt;/strong&gt; adds a policy-driven bitmask firewall on top, letting you define per-user capability levels with hot-reload YAML policies.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Bottom Line
&lt;/h2&gt;

&lt;p&gt;Model distillation attacks will grow as open-weight and API-accessible models proliferate. The defense isn't better terms of service — it's runtime security tooling that doesn't depend on the model's own alignment.&lt;/p&gt;

&lt;p&gt;What's your take on the distillation threat landscape?&lt;/p&gt;

&lt;p&gt;pip install resklogits&lt;br&gt;
pip install resksecure&lt;/p&gt;

</description>
      <category>llm</category>
      <category>cybersecurity</category>
      <category>python</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Blocking LLM Jailbreaks at GPU Speed with resk-logits</title>
      <dc:creator>RESK</dc:creator>
      <pubDate>Sat, 27 Jun 2026 14:39:34 +0000</pubDate>
      <link>https://dev.to/resk/blocking-llm-jailbreaks-at-gpu-speed-with-resk-logits-gmg</link>
      <guid>https://dev.to/resk/blocking-llm-jailbreaks-at-gpu-speed-with-resk-logits-gmg</guid>
      <description>&lt;p&gt;&lt;strong&gt;Links:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📦 PyPI: &lt;a href="https://pypi.org/project/resklogits" rel="noopener noreferrer"&gt;https://pypi.org/project/resklogits&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🐙 GitHub: &lt;a href="https://github.com/resk-security" rel="noopener noreferrer"&gt;https://github.com/resk-security&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🌐 Web: &lt;a href="https://resk.fr" rel="noopener noreferrer"&gt;https://resk.fr&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;LLM safety is an arms race. Every week there's a new jailbreak technique — prompt injection, token smuggling, Unicode manipulation — and traditional filter approaches can't keep up.&lt;/p&gt;

&lt;p&gt;That's why we built &lt;strong&gt;resk-logits&lt;/strong&gt;: a GPU-accelerated Aho-Corasick engine that operates directly on &lt;strong&gt;logits&lt;/strong&gt; — the raw token probabilities during generation.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Most LLM safety filters work after generation. This means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Wasted tokens on blocked output&lt;/li&gt;
&lt;li&gt;Latency spikes from retriggering&lt;/li&gt;
&lt;li&gt;Complex patterns require multiple passes&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Solution
&lt;/h2&gt;

&lt;p&gt;resk-logits intercepts at the logits level. If a token would complete a banned phrase, its logit gets suppressed (shadow-banned).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;resklogits&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;ReskLogits&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Pattern&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;torch&lt;/span&gt;

&lt;span class="n"&gt;patterns&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="nc"&gt;Pattern&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;ignore all instructions above&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="nc"&gt;Pattern&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;DAN: how to hack&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="nc"&gt;Pattern&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;output your system prompt&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="n"&gt;rl&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ReskLogits&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;patterns&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;device&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;cuda&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;logits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;model&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;input_ids&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;logits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;process&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;logits&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;input_ids&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;token&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;torch&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;argmax&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;logits&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dim&lt;/span&gt;&lt;span class="o"&gt;=-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GPU-accelerated Aho-Corasick (C++/CUDA)&lt;/li&gt;
&lt;li&gt;10,000+ patterns simultaneously, under 1ms&lt;/li&gt;
&lt;li&gt;Shadow-ban, not hard-block&lt;/li&gt;
&lt;li&gt;Apache 2.0&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try It
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;resklogits
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Part of the RESK LLM security stack along with reskSecure and resk-llm-ts.&lt;/p&gt;

&lt;p&gt;What's your approach to LLM safety?&lt;/p&gt;

</description>
      <category>python</category>
      <category>llm</category>
      <category>cybersecurity</category>
      <category>opensource</category>
    </item>
    <item>
      <title>June 2026 AI Landscape: Mythos 5 Goes Live, Fable 5 Returns, GPT-5.6 Sol Debuts</title>
      <dc:creator>RESK</dc:creator>
      <pubDate>Sat, 27 Jun 2026 14:29:35 +0000</pubDate>
      <link>https://dev.to/resk/june-2026-ai-landscape-mythos-5-goes-live-fable-5-returns-gpt-56-sol-debuts-4fbe</link>
      <guid>https://dev.to/resk/june-2026-ai-landscape-mythos-5-goes-live-fable-5-returns-gpt-56-sol-debuts-4fbe</guid>
      <description>&lt;p&gt;The last 48 hours have reshaped the AI landscape. Here's what happened and why it matters for developers.&lt;/p&gt;

&lt;h2&gt;
  
  
  🇺🇸 Mythos 5 Gets the Green Light
&lt;/h2&gt;

&lt;p&gt;On June 26, the US government authorized Anthropic to release Claude Mythos 5 to over 100 institutions — major companies and federal agencies. Mythos is Anthropic's frontier cybersecurity model, capable of finding and exploiting vulnerabilities at a level that had regulators spooked since its preview in April.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔒 Fable 5: Coming Back
&lt;/h2&gt;

&lt;p&gt;Claude Fable 5 launched on June 9 as the 'safe' public version of Mythos. Three days later, it was pulled offline by a US export control directive. Developers who had already integrated it were left scrambling.&lt;/p&gt;

&lt;p&gt;Today, Axios reports Fable 5 is expected to return soon. Conversations are ongoing, but the precedent is set: governments can and will pull frontier models mid-deployment.&lt;/p&gt;

&lt;h2&gt;
  
  
  ☀️ GPT-5.6 Sol, Terra, Luna
&lt;/h2&gt;

&lt;p&gt;OpenAI unveiled its GPT-5.6 series in limited preview:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sol&lt;/strong&gt; — flagship, strongest reasoning &amp;amp; coding&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Terra&lt;/strong&gt; — balanced everyday work model&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Luna&lt;/strong&gt; — fast, low-cost inference&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Also paired with what OpenAI calls 'its most advanced safety stack' and a new tool called Daybreak for enterprise security.&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Means
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Frontier model availability is now political.&lt;/strong&gt; Government export controls are the new normal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-source safety tools matter more than ever.&lt;/strong&gt; When black-box frontier models can disappear overnight, you need independent security layers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The safety ≠ capability tradeoff is real.&lt;/strong&gt; Mythos (unrestricted) vs Fable (safe) vs Luna (cheap) — every tier has different risk profiles.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;At RESK, we're building open-source LLM security tools precisely for this new reality: &lt;a href="https://pypi.org/project/resklogits/" rel="noopener noreferrer"&gt;resk-logits&lt;/a&gt; (GPU-accelerated token safety), &lt;a href="https://pypi.org/project/resksecure/" rel="noopener noreferrer"&gt;reskSecure&lt;/a&gt; (bitmask-based firewall), and &lt;a href="https://www.npmjs.com/package/resk-llm-ts" rel="noopener noreferrer"&gt;resk-llm-ts&lt;/a&gt; (11 threat detectors).&lt;/p&gt;

&lt;p&gt;Check them out on GitHub → github.com/resk-security&lt;/p&gt;

&lt;p&gt;What's your take? Are we heading toward an AI control regime that stifles innovation — or one that keeps us safe?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cybersecurity</category>
      <category>llm</category>
      <category>anthropic</category>
    </item>
    <item>
      <title>Test de connexion depuis Brigade 🚀</title>
      <dc:creator>RESK</dc:creator>
      <pubDate>Sat, 27 Jun 2026 14:21:52 +0000</pubDate>
      <link>https://dev.to/resk/test-de-connexion-depuis-brigade-8om</link>
      <guid>https://dev.to/resk/test-de-connexion-depuis-brigade-8om</guid>
      <description>&lt;p&gt;Ceci est un test de connexion automatique depuis Brigade.&lt;/p&gt;

&lt;p&gt;On valide que l API dev.to fonctionne !&lt;/p&gt;

&lt;h1&gt;
  
  
  Brigade #Automation
&lt;/h1&gt;

</description>
      <category>testing</category>
      <category>automation</category>
    </item>
    <item>
      <title>Securing Your LLM Integrations in JavaScript with Resk-LLM-TS: A Practical Guide</title>
      <dc:creator>RESK</dc:creator>
      <pubDate>Wed, 05 Nov 2025 15:34:13 +0000</pubDate>
      <link>https://dev.to/resk/securing-your-llm-integrations-in-javascript-with-resk-llm-ts-a-practical-guide-5g2b</link>
      <guid>https://dev.to/resk/securing-your-llm-integrations-in-javascript-with-resk-llm-ts-a-practical-guide-5g2b</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Learn how to protect your JavaScript/TypeScript LLM applications from prompt injections, PII leaks, and data exfiltration using &lt;strong&gt;Resk-LLM-TS&lt;/strong&gt; — an open-source security toolkit that wraps OpenAI-compatible APIs with enterprise-grade protection.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  The Growing Risk of LLM-Powered Apps
&lt;/h2&gt;

&lt;p&gt;Large Language Models (LLMs) are everywhere — chatbots, content generators, internal tools, and automation agents. But with great power comes great responsibility.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Common threats include:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Prompt Injection&lt;/strong&gt; → Attackers trick your model into ignoring instructions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PII Leakage&lt;/strong&gt; → Sensitive user data (emails, SSNs) gets exposed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Exfiltration&lt;/strong&gt; → Your system prompt or training data leaks in responses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Content Violations&lt;/strong&gt; → Toxic, harmful, or off-brand outputs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You &lt;em&gt;can’t&lt;/em&gt; just trust the model to "be safe." You need &lt;strong&gt;defense in depth&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;That’s where &lt;strong&gt;&lt;a href="https://github.com/Resk-Security/resk-llm-ts" rel="noopener noreferrer"&gt;Resk-LLM-TS&lt;/a&gt;&lt;/strong&gt; comes in.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is Resk-LLM-TS?
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;resk-llm-ts&lt;/code&gt; is a &lt;strong&gt;security wrapper&lt;/strong&gt; for OpenAI-compatible APIs (OpenAI, OpenRouter, etc.) that adds multiple layers of protection &lt;strong&gt;before&lt;/strong&gt; and &lt;strong&gt;after&lt;/strong&gt; your LLM calls.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install &lt;/span&gt;resk-llm-ts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>webdev</category>
      <category>ai</category>
      <category>programming</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
