Drop the GitLab claim from secret_scan; bump to 3.0.1
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ mcp_server=True mode:
|
|
| 18 |
exposure.
|
| 19 |
- check_nhi_exposure: non-human-identity credential exposure (API keys,
|
| 20 |
service tokens, PATs).
|
| 21 |
-
- check_secret_scan: secrets exposed in public GitHub
|
| 22 |
- check_llm_credential_exposure: exposed LLM/AI provider API keys
|
| 23 |
(LLMjacking) — free to try, no api_key required (shared demo quota).
|
| 24 |
- check_agent_risk_summary: composite check — breach + LLM credential
|
|
@@ -475,7 +475,7 @@ def check_nhi_exposure(domain: str, vendor_domains: str, api_key: str) -> str:
|
|
| 475 |
|
| 476 |
def check_secret_scan(domain: str, vendor_domains: str, api_key: str) -> str:
|
| 477 |
"""Check a domain, or up to 5 vendor domains, for secrets and
|
| 478 |
-
credentials exposed in public GitHub
|
| 479 |
|
| 480 |
Args:
|
| 481 |
domain: Your own domain to check. Leave blank if only using vendor_domains.
|
|
@@ -508,7 +508,7 @@ def check_secret_scan(domain: str, vendor_domains: str, api_key: str) -> str:
|
|
| 508 |
outcome, action,
|
| 509 |
reason_codes=[f.get("severity", "unknown") for f in findings],
|
| 510 |
evidence=findings,
|
| 511 |
-
scope=f"Checked {data.get('domains_checked', 0)} domain(s) against public GitHub
|
| 512 |
"for exposed secrets.",
|
| 513 |
observed_at=data.get("checked_at"),
|
| 514 |
)
|
|
@@ -821,7 +821,7 @@ secret_scan_tab = gr.Interface(
|
|
| 821 |
],
|
| 822 |
outputs=gr.Textbox(label="Result"),
|
| 823 |
title="Secret Scan Check",
|
| 824 |
-
description="Secrets and credentials exposed in public GitHub
|
| 825 |
)
|
| 826 |
|
| 827 |
llm_credential_tab = gr.Interface(
|
|
@@ -889,7 +889,7 @@ demo = gr.TabbedInterface(
|
|
| 889 |
_SERVER_CARD_RAW = {
|
| 890 |
"serverInfo": {
|
| 891 |
"name": "RelayShield Agentic Attack Surface",
|
| 892 |
-
"version": "3.0.
|
| 893 |
},
|
| 894 |
"authentication": {
|
| 895 |
"required": False,
|
|
@@ -995,7 +995,7 @@ _SERVER_CARD_RAW = {
|
|
| 995 |
},
|
| 996 |
{
|
| 997 |
"name": "check_secret_scan",
|
| 998 |
-
"description": "Check a domain, or up to 5 vendor domains, for secrets and credentials exposed in public GitHub
|
| 999 |
"inputSchema": {
|
| 1000 |
"type": "object",
|
| 1001 |
"properties": {
|
|
|
|
| 18 |
exposure.
|
| 19 |
- check_nhi_exposure: non-human-identity credential exposure (API keys,
|
| 20 |
service tokens, PATs).
|
| 21 |
+
- check_secret_scan: secrets exposed in public GitHub repos.
|
| 22 |
- check_llm_credential_exposure: exposed LLM/AI provider API keys
|
| 23 |
(LLMjacking) — free to try, no api_key required (shared demo quota).
|
| 24 |
- check_agent_risk_summary: composite check — breach + LLM credential
|
|
|
|
| 475 |
|
| 476 |
def check_secret_scan(domain: str, vendor_domains: str, api_key: str) -> str:
|
| 477 |
"""Check a domain, or up to 5 vendor domains, for secrets and
|
| 478 |
+
credentials exposed in public GitHub repositories.
|
| 479 |
|
| 480 |
Args:
|
| 481 |
domain: Your own domain to check. Leave blank if only using vendor_domains.
|
|
|
|
| 508 |
outcome, action,
|
| 509 |
reason_codes=[f.get("severity", "unknown") for f in findings],
|
| 510 |
evidence=findings,
|
| 511 |
+
scope=f"Checked {data.get('domains_checked', 0)} domain(s) against public GitHub repositories "
|
| 512 |
"for exposed secrets.",
|
| 513 |
observed_at=data.get("checked_at"),
|
| 514 |
)
|
|
|
|
| 821 |
],
|
| 822 |
outputs=gr.Textbox(label="Result"),
|
| 823 |
title="Secret Scan Check",
|
| 824 |
+
description="Secrets and credentials exposed in public GitHub repositories.",
|
| 825 |
)
|
| 826 |
|
| 827 |
llm_credential_tab = gr.Interface(
|
|
|
|
| 889 |
_SERVER_CARD_RAW = {
|
| 890 |
"serverInfo": {
|
| 891 |
"name": "RelayShield Agentic Attack Surface",
|
| 892 |
+
"version": "3.0.1",
|
| 893 |
},
|
| 894 |
"authentication": {
|
| 895 |
"required": False,
|
|
|
|
| 995 |
},
|
| 996 |
{
|
| 997 |
"name": "check_secret_scan",
|
| 998 |
+
"description": "Check a domain, or up to 5 vendor domains, for secrets and credentials exposed in public GitHub repositories.",
|
| 999 |
"inputSchema": {
|
| 1000 |
"type": "object",
|
| 1001 |
"properties": {
|