mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-06-25 22:59:56 +02:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1fdc1eb8de | |||
| ba67dd40ff | |||
| 3c75a24622 | |||
| 60e6dd0a1a | |||
| c97e43612b |
@@ -1,5 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from agentic_security.core.app import expand_secrets
|
from agentic_security.core.app import expand_secrets
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -169,6 +169,8 @@ def parse_http_spec(http_spec: str) -> LLMSpec:
|
|||||||
has_audio = "<<BASE64_AUDIO>>" in body
|
has_audio = "<<BASE64_AUDIO>>" in body
|
||||||
|
|
||||||
for key, value in secrets.items():
|
for key, value in secrets.items():
|
||||||
|
if not value:
|
||||||
|
continue
|
||||||
key = key.strip("$")
|
key = key.strip("$")
|
||||||
body = body.replace(f"${key}", value)
|
body = body.replace(f"${key}", value)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "agentic_security"
|
name = "agentic_security"
|
||||||
version = "0.5.0"
|
version = "0.5.1"
|
||||||
description = "Agentic LLM vulnerability scanner"
|
description = "Agentic LLM vulnerability scanner"
|
||||||
authors = ["Alexander Miasoiedov <msoedov@gmail.com>"]
|
authors = ["Alexander Miasoiedov <msoedov@gmail.com>"]
|
||||||
maintainers = ["Alexander Miasoiedov <msoedov@gmail.com>"]
|
maintainers = ["Alexander Miasoiedov <msoedov@gmail.com>"]
|
||||||
|
|||||||
Reference in New Issue
Block a user