atbash-hermes-plugin 0.4.7.dev0__tar.gz → 0.4.9.dev0__tar.gz
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.
- {atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/PKG-INFO +2 -2
- {atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/atbash_hermes_plugin/__init__.py +17 -2
- {atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/atbash_hermes_plugin.egg-info/PKG-INFO +2 -2
- {atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/atbash_hermes_plugin.egg-info/requires.txt +1 -1
- {atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/pyproject.toml +2 -2
- {atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/LICENSE +0 -0
- {atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/README.md +0 -0
- {atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/atbash_hermes_plugin.egg-info/SOURCES.txt +0 -0
- {atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/atbash_hermes_plugin.egg-info/dependency_links.txt +0 -0
- {atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/atbash_hermes_plugin.egg-info/entry_points.txt +0 -0
- {atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/atbash_hermes_plugin.egg-info/top_level.txt +0 -0
- {atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/setup.cfg +0 -0
- {atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/tests/test_memory_poisoning.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atbash-hermes-plugin
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.9.dev0
|
|
4
4
|
Summary: Atbash safety plugin for Hermes Agent
|
|
5
5
|
Author: atbash
|
|
6
6
|
License-Expression: LicenseRef-Atbash-Proprietary
|
|
@@ -10,7 +10,7 @@ Keywords: atbash,hermes,hermes-agent,agent-safety,ai-safety,tool-guard,judge,pol
|
|
|
10
10
|
Requires-Python: <3.13,>=3.9
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: atbash-sdk==0.4.
|
|
13
|
+
Requires-Dist: atbash-sdk==0.4.10.dev0
|
|
14
14
|
Requires-Dist: httpx<1,>=0.27
|
|
15
15
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http<2,>=1.29
|
|
16
16
|
Requires-Dist: opentelemetry-sdk<2,>=1.29
|
{atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/atbash_hermes_plugin/__init__.py
RENAMED
|
@@ -600,7 +600,7 @@ class AtbashHermesGuard:
|
|
|
600
600
|
from atbash import Atbash # type: ignore
|
|
601
601
|
from atbash.types import ToolCallInput # type: ignore
|
|
602
602
|
except Exception:
|
|
603
|
-
raise RuntimeError("atbash-sdk is required. Install with: pip install atbash-sdk==0.4.
|
|
603
|
+
raise RuntimeError("atbash-sdk is required. Install with: pip install atbash-sdk==0.4.10.dev0") from e
|
|
604
604
|
|
|
605
605
|
self.ToolCallInput = ToolCallInput
|
|
606
606
|
judge_cfg = self._judge_config()
|
|
@@ -856,7 +856,7 @@ class AtbashHermesGuard:
|
|
|
856
856
|
return None
|
|
857
857
|
|
|
858
858
|
allow_flag = _extract_allow(verdict_raw)
|
|
859
|
-
if verdict == "ALLOW" and allow_flag is
|
|
859
|
+
if verdict == "ALLOW" and allow_flag is True:
|
|
860
860
|
self._snapshots[path] = new_content
|
|
861
861
|
self._hash_store.set(path, _sha256_hex(new_content))
|
|
862
862
|
return None
|
|
@@ -1036,6 +1036,21 @@ class AtbashHermesGuard:
|
|
|
1036
1036
|
}
|
|
1037
1037
|
return None
|
|
1038
1038
|
|
|
1039
|
+
allow_flag = _extract_allow(verdict_raw)
|
|
1040
|
+
if verdict == "ALLOW" and allow_flag is True:
|
|
1041
|
+
return None
|
|
1042
|
+
|
|
1043
|
+
logger.warning(
|
|
1044
|
+
"Atbash unusable verdict tool=%s verdict=%s allow=%s",
|
|
1045
|
+
tool_name,
|
|
1046
|
+
verdict,
|
|
1047
|
+
allow_flag,
|
|
1048
|
+
)
|
|
1049
|
+
if self.fail_closed:
|
|
1050
|
+
return {
|
|
1051
|
+
"action": "block",
|
|
1052
|
+
"message": f"Blocked (unrecognized verdict {verdict!r}): {reason}",
|
|
1053
|
+
}
|
|
1039
1054
|
return None
|
|
1040
1055
|
except Exception as e:
|
|
1041
1056
|
logger.warning("Atbash guard error tool=%s err=%s", tool_name, e)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atbash-hermes-plugin
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.9.dev0
|
|
4
4
|
Summary: Atbash safety plugin for Hermes Agent
|
|
5
5
|
Author: atbash
|
|
6
6
|
License-Expression: LicenseRef-Atbash-Proprietary
|
|
@@ -10,7 +10,7 @@ Keywords: atbash,hermes,hermes-agent,agent-safety,ai-safety,tool-guard,judge,pol
|
|
|
10
10
|
Requires-Python: <3.13,>=3.9
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: atbash-sdk==0.4.
|
|
13
|
+
Requires-Dist: atbash-sdk==0.4.10.dev0
|
|
14
14
|
Requires-Dist: httpx<1,>=0.27
|
|
15
15
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http<2,>=1.29
|
|
16
16
|
Requires-Dist: opentelemetry-sdk<2,>=1.29
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "atbash-hermes-plugin"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.9.dev0"
|
|
8
8
|
description = "Atbash safety plugin for Hermes Agent"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9,<3.13"
|
|
@@ -24,7 +24,7 @@ keywords = [
|
|
|
24
24
|
"policy"
|
|
25
25
|
]
|
|
26
26
|
dependencies = [
|
|
27
|
-
"atbash-sdk==0.4.
|
|
27
|
+
"atbash-sdk==0.4.10.dev0",
|
|
28
28
|
"httpx>=0.27,<1",
|
|
29
29
|
"opentelemetry-exporter-otlp-proto-http>=1.29,<2",
|
|
30
30
|
"opentelemetry-sdk>=1.29,<2",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{atbash_hermes_plugin-0.4.7.dev0 → atbash_hermes_plugin-0.4.9.dev0}/tests/test_memory_poisoning.py
RENAMED
|
File without changes
|