Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add WordPress adversarial adapter and vulnerable runtime campaigns

未关闭
#2,017 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
php, typescript

调研方向

首先阅读 #2014 中引用的通用契约,并将列出的 WordPress 表面、oracle 适配器、传输故障、时钟、信号和 fixtures 映射到请求的适配器范围。完成的标准是:网络访问被拒绝的一次性 campaign 覆盖验收标准,包括确定性重放、最小化 journey、稳定指纹,以及已封存并经过删改的 provenance bundle,同时 runtime-core 中不包含 WordPress 特定的 policy。

由索引模型根据 Issue 内容生成。

描述

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

主要语言
TypeScript
星标
17
派生
4
平均合并
43 分钟
30 天内合并 PR
70

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Automattic/wp-codebox 的其他 Issue

查看 Automattic/wp-codebox 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。