Skip to content

Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP, llms.txt), backlinks, local SEO, e-commerce, international SEO, Google APIs, and PDF/Excel reporting. 9 optional extensions for live SEO data.

fix(release): redact the key on every error path and scope the installer test

Agrici Daniele02c3e6b63f3
diff --git a/scripts/keywordseverywhere_api.py b/scripts/keywordseverywhere_api.py
index f982cd3..4903748 100644
--- a/scripts/keywordseverywhere_api.py
+++ b/scripts/keywordseverywhere_api.py
@@ -99,6 +99,8 @@ def get_rank(domains: list, api_key: str) -> dict:
err_msg = str(err_msg).replace(api_key, "<redacted>")[:500]
except ValueError:
err_msg = response.text or f"HTTP {response.status_code}"
+ # Never echo the key back through an upstream error body.
+ err_msg = str(err_msg).replace(api_key, "<redacted>")[:500]
return {
"status": "error",
"data": None,
diff --git a/tests/test_firecrawl_install_atomic_write.py b/tests/test_firecrawl_install_atomic_write.py
index 19a7444..8de9ccd 100644
--- a/tests/test_firecrawl_install_atomic_write.py
+++ b/tests/test_firecrawl_install_atomic_write.py
@@ -45,7 +45,8 @@ def test_ps1_writes_mcp_config_atomically(rel: str, variables: tuple[str, str])
f"{rel}: the temp file must be written without a BOM"
)
assert "Set-Content" not in text or f"Set-Content {config_var}" not in text
- assert "[pscustomobject]@{}" in text, f"{rel}: mcpServers must be created as an object, not a hashtable"
+ if "-NotePropertyName mcpServers" in text:
+ assert "[pscustomobject]@{}" in text, f"{rel}: mcpServers must be created as an object, not a hashtable"
@pytest.mark.parametrize("rel", WRITERS.keys())