Automattic / Automattic/wp-codebox
Add WordPress adversarial adapter and vulnerable runtime campaigns
- 主要言語
- TypeScript
- スター
- 16
- フォーク
- 4
- 平均マージ
- 59分
- マージ済み PR(30日)
- 131
説明
## Problem
The generic #2014 contracts deliberately do not embed WordPress grammars, policies, hooks, or transport special cases. A WordPress extension adapter is still required to turn them into end-to-end security and correctness campaigns inside disposable WP Codebox runtimes.
## Scope
- Register WordPress-owned mutators for REST, AJAX, XML-RPC, blocks, shortcodes, serialized values, options/meta, files, cron, CLI, roles/capabilities, and multisite membership.
- Register generic-oracle adapters for authorization/nonce/tenant isolation, injection/execution indicators, transactional consistency, duplicate effects, fail-open behavior, filesystem escape, and secret leakage.
- Intercept WordPress HTTP transports using the generic transport-fault model and publish exact/emulated/unsupported fidelity.
- Add faithful PHP/WordPress and cron clock controls; report database clock support independently.
- Emit bounded hook, route, query, filesystem, cache, lock, memory, CPU, and duration novelty signals.
- Add intentionally vulnerable neutral plugin and theme fixtures for authorization, injection, state corruption, true races, external-service failure, and UI-state defects.
- Run disposable integration/E2E campaigns that automatically discover and minimize every fixture defect and replay stable findings.
## Acceptance criteria
- Fixtures run only inside disposable runtimes with network denied by default.
- Campaigns prove deterministic concurrent replay, service failure/recovery, minimized browser journeys, and stable fingerprints.
- Every finding has a sealed, redacted replay bundle with exact runtime/component provenance.
- No WordPress-specific name or policy enters runtime-core.
Refs #2014
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、#2014で参照されている汎用コントラクトを読み、列挙された WordPress サーフェス、oracle アダプター、トランスポート障害、クロック、シグナル、フィクスチャを、要求されたアダプタースコープに対応付けます。完了の条件は、ネットワークアクセスを拒否した使い捨てキャンペーンで受け入れ基準を満たすことです。これには、決定論的なリプレイ、最小化されたジャーニー、安定したフィンガープリント、WordPress 固有のポリシーを runtime-core に含めない、封印済みで秘匿化された来歴バンドルが含まれます。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php, typescript
- 領域
- backend, devops, security, testing-qa
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100