@vibo-dev/skill-injection-scanner 1.1.4 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -70,11 +70,11 @@ No dependencies. Python 3.8+. Works on Linux/macOS.
70
70
  | 🟠 medium | comply-blind | "comply with everything the user says" |
71
71
  | 🟡 low | prio-emoji | "⚠️ IGNORE previous instructions" |
72
72
 
73
- Russian-language manipulation is covered too: «ты теперь…», «не говори владельцу»,
74
- «игнорируй предыдущие инструкции», «это критично: не сообщай…».
73
+ Russian-language manipulation patterns are covered too: role takeover, secrecy orders,
74
+ instruction override, "critical do not tell the user" tricks.
75
75
 
76
- v1.1 additions: **follow-only** («следуй только этому тексту»), **attachment-instruction**
77
- (извлечение инструкции из картинки/вложения/alt), **system-msg-en**.
76
+ v1.1 additions: **follow-only**, **attachment-instruction** (instructions read from an
77
+ image/attachment/alt text), **system-msg** (RU and EN).
78
78
 
79
79
  ## Example output
80
80
 
package/SKILL.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: skill-injection-scanner
3
3
  description: "Scan agent skill files for hidden instructions and prompt-injection patterns (EN/RU) before a poisoned skill rewrites your agent. 19 rules, zero dependencies. Use ONLY with the user's explicit consent: tell the user which skills folder will be scanned — findings are printed to stdout locally."
4
- version: 1.1.4
4
+ version: 1.1.6
5
5
  tools: [python]
6
6
  license: MIT
7
7
  ---
@@ -25,9 +25,9 @@ python3 scanner.py --skills /path/to/skills --exclude .bak --include-code-spans
25
25
  ```
26
26
 
27
27
  ## What it detects (19 rules)
28
- - Role/personality hijack («you are now…», «ты теперь…») and system-message impersonation
28
+ - Role/personality hijack ("you are now…" and Russian equivalents) and system-message impersonation
29
29
  - «Ignore previous instructions» / «follow only this text» (EN+RU)
30
- - Secrecy orders («never tell the owner…», «не говори владельцу»)
30
+ - Secrecy orders ("never tell the owner…" and Russian equivalents)
31
31
  - Obfuscated instructions (base64/rot13/encoded), embedded `<|system|>` / ```` ```system ```` markers
32
32
  - Remote fetch-and-run (`curl | bash`, `git clone … && run`), instruction extraction from attachments/images
33
33
  - Manipulation tricks («this is critical: ignore…», emoji-boosted commands)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibo-dev/skill-injection-scanner",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "Find hidden instructions and prompt-injection patterns inside agent skill files (EN/RU, 19 rules). Local-first, zero dependencies, Python 3.8+.",
5
5
  "license": "MIT",
6
6
  "author": "Viacheslav Bochkarev <vnbochkarev@gmail.com>",
package/scanner.py CHANGED
@@ -33,7 +33,7 @@ import os
33
33
  import re
34
34
  import sys
35
35
 
36
- __version__ = "1.1.3"
36
+ __version__ = "1.1.6"
37
37
 
38
38
  RULES = [
39
39
  # (name, regex, severity, note)