mirror of
https://github.com/AgriciDaniel/claude-seo.git
synced 2026-11-25 07:30:08 +01:00
Closes the Phase H GitHub-skill governance gaps identified during the
v2 self-audit.
SECURITY.md
-----------
Expanded from 25 to 130 lines covering:
- Reporting channels: GitHub Security Advisory (preferred) + email
fallback + PGP-on-request workflow.
- Coordinated disclosure: explicit 90-day timeline with per-day
milestones (ack ≤72h, triage ≤3d, fix candidate ≤14d, release ≤30d,
public advisory ≤90d).
- Supported versions matrix: 2.x active, 1.9.x patch-only for
CVSS≥High, <1.9 unsupported.
- Three-axis threat model: malicious audit target, tampered install,
local credential escalation. Each axis lists its specific
mitigation by file path.
- Known residual risks listed honestly:
* Playwright/Chromium TOCTOU (Python-layer pin can't reach the
renderer; route handler is defence-in-depth).
* IPv6-only audit targets refused (fail-closed).
* Windows file permissions (fchmod is a no-op on non-ACL FS).
- High-leverage code-path index for auditors.
.github/CODEOWNERS
------------------
New. Default owner @AgriciDaniel. Security-critical paths called out
explicitly: url_safety, google_auth, backlinks_auth, render_page,
fetch_page, capture_screenshot, test_url_safety, SECURITY.md, and
the release-channel files (install.sh/.ps1, plugin.json,
marketplace.json, requirements.txt, pyproject.toml, CITATION.cff).
A future co-maintainer cannot land a change to any of these without
a review request reaching the right reviewer.
.github/dependabot.yml
----------------------
+ npm ecosystem watcher (weekly Monday 06:00 UTC, labels
dependencies/npm/extensions). v2's MCP extensions (DataForSEO,
Firecrawl, Ahrefs, etc.) install via `npx`; the npm watcher
tracks the pinned versions in any package.json we ship.
.github/workflows/v2.yml
------------------------
New, fires on workflow_dispatch + workflow_call only — NEVER on
push or pull_request. Stays dormant until the v2 branch is pushed;
after the push, the maintainer triggers it manually from the
Actions tab to gate the v2.0.0 tag.
Three jobs:
- manifest: pytest tests/test_manifest_consistency.py (13 assertions)
- security: pytest tests/test_url_safety.py + py_compile of every
security-critical module (url_safety, render_page, fetch_page,
capture_screenshot, google_auth, backlinks_auth)
- full_pytest: complete tests/ suite
Audit summary step emits all three results to the GitHub Actions
summary so the gating decision is one screen away from the tag.
.github/workflows/ci.yml
------------------------
+ scripts/url_safety.py and scripts/render_page.py to the py_compile
list (closes the gap where new safety/render code would land
without syntax-checking on every push to main).
+ Script count comment updated from "30" to "32".
Tests still green: 122 passed.
Local-only commit on v2. No push.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
# CODEOWNERS for claude-seo
|
|
#
|
|
# Every change to this repository routes review to @AgriciDaniel.
|
|
# Sections below let us call out security-critical paths so a future
|
|
# co-maintainer cannot accidentally land a change without the right
|
|
# eyes on it.
|
|
|
|
# Default owner — every file unless overridden below.
|
|
* @AgriciDaniel
|
|
|
|
# Security-critical: SSRF + DNS rebinding + credential handling.
|
|
scripts/url_safety.py @AgriciDaniel
|
|
scripts/google_auth.py @AgriciDaniel
|
|
scripts/backlinks_auth.py @AgriciDaniel
|
|
scripts/render_page.py @AgriciDaniel
|
|
scripts/fetch_page.py @AgriciDaniel
|
|
scripts/capture_screenshot.py @AgriciDaniel
|
|
tests/test_url_safety.py @AgriciDaniel
|
|
SECURITY.md @AgriciDaniel
|
|
|
|
# Release + distribution: install scripts and version pinning are the
|
|
# supply-chain surface.
|
|
install.sh @AgriciDaniel
|
|
install.ps1 @AgriciDaniel
|
|
.claude-plugin/plugin.json @AgriciDaniel
|
|
.claude-plugin/marketplace.json @AgriciDaniel
|
|
requirements.txt @AgriciDaniel
|
|
pyproject.toml @AgriciDaniel
|
|
CITATION.cff @AgriciDaniel
|
|
|
|
# CI / governance.
|
|
.github/ @AgriciDaniel
|
|
tests/test_manifest_consistency.py @AgriciDaniel
|