chiruu12 commited on
Commit
db49c8e
Β·
verified Β·
1 Parent(s): f3c9514

add org card

Browse files
Files changed (2) hide show
  1. README.md +45 -4
  2. index.html +9 -17
README.md CHANGED
@@ -1,10 +1,51 @@
1
  ---
2
  title: README
3
- emoji: 😻
4
- colorFrom: purple
5
- colorTo: yellow
6
  sdk: static
7
  pinned: false
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: README
3
+ emoji: πŸ”Œ
4
+ colorFrom: blue
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
  ---
9
 
10
+ <p align="center">
11
+ <b style="font-size: 1.6em">Unplug β€” pull the plug on bad AI</b>
12
+ </p>
13
+
14
+ **Runtime defense layer for LLM apps and agents.** Unplug detects, localizes, and **redacts** prompt injection at the span level β€” instead of binary-blocking entire documents.
15
+
16
+ Untrusted text is everywhere in an LLM pipeline: user messages, RAG chunks, tool output, fetched web pages. One hidden instruction in any of them can hijack your agent. Unplug scans all of it, cuts out the attack, and keeps the rest usable.
17
+
18
+ ## What we ship
19
+
20
+ | | |
21
+ | --- | --- |
22
+ | **[`unplug-ai` SDK](https://github.com/UnplugAI/Unplug)** | Guard pipeline: normalization, regex + ML scanners, taint tracking, tool-call gates, streaming scan, span redaction. Apache-2.0. |
23
+ | **[unplug-tiny-v1](https://huggingface.co/Unplug-AI/unplug-tiny-v1)** | Dual-head span detector (70M params): doc classifier decides *whether*, BIOES token head localizes *where*. Honest per-axis benchmarks on the card. |
24
+ | **[Live demo](https://huggingface.co/spaces/Unplug-AI/unplug-tiny-demo)** | Paste text, see span highlights + redacted output, compare against a regex-only baseline. |
25
+
26
+ ## Why span-level?
27
+
28
+ Binary classifiers force a bad trade: block the whole document (lose the data) or allow it (eat the attack). Unplug's token head localizes the injected instruction to character offsets, so the pipeline redacts just that span β€” the rest of the document flows through.
29
+
30
+ ## Get started
31
+
32
+ ```bash
33
+ pip install "unplug-ai[ml]"
34
+ ```
35
+
36
+ ```python
37
+ from unplug import Guard
38
+
39
+ guard = Guard.with_tiny() # auto-downloads unplug-tiny-v1
40
+ result = guard.scan(untrusted_text)
41
+ if not result.safe:
42
+ use(result.redacted_text) # attack removed, content preserved
43
+ ```
44
+
45
+ Agent kill-chain walkthrough: [hidden webpage injection β†’ tainted session β†’ blocked exfil tool call](https://github.com/UnplugAI/Unplug/blob/main/sdk/examples/agent_exfil_demo.py).
46
+
47
+ ## Principles
48
+
49
+ - **Nothing enters as a raw string** β€” all text carries provenance and trust level.
50
+ - **Fail closed** β€” scanner errors block, never silently allow.
51
+ - **Honest numbers** β€” every published metric comes from a frozen eval harness on held-out data, including the axes we fail.
index.html CHANGED
@@ -1,19 +1,11 @@
1
- <!doctype html>
2
  <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
  </html>
 
1
+ <!DOCTYPE html>
2
  <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="refresh" content="0; url=https://huggingface.co/Unplug-AI">
6
+ <title>Unplug</title>
7
+ </head>
8
+ <body>
9
+ <p><a href="https://huggingface.co/Unplug-AI">Unplug on Hugging Face</a></p>
10
+ </body>
 
 
 
 
 
 
 
 
11
  </html>