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.

chore(security): add secret-scan CI gate, harden gitignore, fix FLOW links

Danielf18b095f7669
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 272ba50..2ba4f39 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -54,3 +54,27 @@ jobs:
- name: Run pytest
run: pytest tests/ -v
+
+ secret-scan:
+ name: Secret scan
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v6
+
+ - name: Scan tracked files for leaked credentials
+ run: |
+ set -uo pipefail
+ # High-signal credential patterns. Test fixtures and documented
+ # placeholders are allowlisted; auth-setup.md ships a private-key
+ # placeholder (BEGIN PRIVATE KEY\n...) that is not a real key.
+ PATTERN='AIza[0-9A-Za-z_-]{35}|ghp_[A-Za-z0-9]{36}|github_pat_[A-Za-z0-9_]{40,}|gh[ous]_[A-Za-z0-9]{36}|AKIA[0-9A-Z]{16}|GOCSPX-[A-Za-z0-9_-]{20,}|sk-(proj-)?[A-Za-z0-9]{20,}|xox[baprs]-[A-Za-z0-9-]{10,}'
+ HITS=$(git ls-files -z \
+ | xargs -0 grep -nIEH "$PATTERN" 2>/dev/null \
+ | grep -vE 'DUMMY|EXAMPLE|YOUR_|REDACTED|placeholder|<[A-Z_]+>' \
+ | grep -vE '^tests/|/auth-setup\.md:' || true)
+ if [ -n "$HITS" ]; then
+ echo "::error::Potential leaked credentials in tracked files:"
+ echo "$HITS"
+ exit 1
+ fi
+ echo "Secret scan clean: no credentials detected in tracked files."
diff --git a/.github/workflows/v2.yml b/.github/workflows/v2.yml
index acf2947..c29baa9 100644
--- a/.github/workflows/v2.yml
+++ b/.github/workflows/v2.yml
@@ -91,10 +91,34 @@ jobs:
- name: Run pytest
run: pytest tests/ -v
+ secret_scan:
+ name: Secret scan
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v6
+
+ - name: Scan tracked files for leaked credentials
+ run: |
+ set -uo pipefail
+ # High-signal credential patterns. Test fixtures and documented
+ # placeholders are allowlisted; auth-setup.md ships a private-key
+ # placeholder (BEGIN PRIVATE KEY\n...) that is not a real key.
+ PATTERN='AIza[0-9A-Za-z_-]{35}|ghp_[A-Za-z0-9]{36}|github_pat_[A-Za-z0-9_]{40,}|gh[ous]_[A-Za-z0-9]{36}|AKIA[0-9A-Z]{16}|GOCSPX-[A-Za-z0-9_-]{20,}|sk-(proj-)?[A-Za-z0-9]{20,}|xox[baprs]-[A-Za-z0-9-]{10,}'
+ HITS=$(git ls-files -z \
+ | xargs -0 grep -nIEH "$PATTERN" 2>/dev/null \
+ | grep -vE 'DUMMY|EXAMPLE|YOUR_|REDACTED|placeholder|<[A-Z_]+>' \
+ | grep -vE '^tests/|/auth-setup\.md:' || true)
+ if [ -n "$HITS" ]; then
+ echo "::error::Potential leaked credentials in tracked files:"
+ echo "$HITS"
+ exit 1
+ fi
+ echo "Secret scan clean: no credentials detected in tracked files."
+
audit_summary:
name: Audit summary
runs-on: ubuntu-latest
- needs: [manifest, security, full_pytest]
+ needs: [manifest, security, full_pytest, secret_scan]
if: always()
steps:
- name: Emit summary
@@ -105,5 +129,6 @@ jobs:
echo "- Manifest: ${{ needs.manifest.result }}" >> $GITHUB_STEP_SUMMARY
echo "- Security: ${{ needs.security.result }}" >> $GITHUB_STEP_SUMMARY
echo "- Full pytest: ${{ needs.full_pytest.result }}" >> $GITHUB_STEP_SUMMARY
+ echo "- Secret scan: ${{ needs.secret_scan.result }}" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
- echo "All three must report 'success' before tagging v2.0.0." >> $GITHUB_STEP_SUMMARY
+ echo "All four must report 'success' before tagging." >> $GITHUB_STEP_SUMMARY
diff --git a/.gitignore b/.gitignore
index 2568f30..5e8870e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -168,3 +168,13 @@ MEMORY.md
docs/BACKLOG-COMPLETION-REPORT-v2.md
docs/*COMPLETION-REPORT*.md
docs/VERIFICATION-AUDIT*.md
+
+# Additional credential/key formats (defense in depth)
+**/*credentials*.json
+*.pem
+*.p12
+*.pfx
+id_rsa
+id_rsa.*
+id_ed25519
+id_ed25519.*
diff --git a/skills/seo-flow/references/flow-framework.md b/skills/seo-flow/references/flow-framework.md
index d355cf7..bef94e4 100644
--- a/skills/seo-flow/references/flow-framework.md
+++ b/skills/seo-flow/references/flow-framework.md
@@ -70,9 +70,8 @@ You are an SEO strategist using the FLOW model. For the asset named "FLOW Framew
## See Also
-- [Start Here](../00-START-HERE.md)
-- [AI Search Surface Map](ai-search-surface-map.md)
-- [Bibliography](../10-references/bibliography.md)
+- [Start Here](../SKILL.md)
+- [Bibliography](bibliography.md)
## Sources