Skip to content

Retest follow-up: define public-key mode and bound repeated widget requests #46

Open

Description

@primeobsession

Follow-up to #30.

Completed change: README now explicitly warns that direct browser appId is public and recommends a restricted key or server proxy; proxyUrl mode omits app_id from the client URL.

Remaining original condition: Direct mode still transmits the key in every request, and both direct/proxy modes issue unconditional mount fetches with no abort/in-flight dedupe/cache/throttle. The original mount/quota amplification remains, while proxy-mode security depends on the consuming endpoint implementing its own authentication and rate limit. Direct-mode exposure is now a documented compatibility choice, not independently accepted risk.

Pinned source: https://github.com/securecoders/opengraph-react/blob/e4ffd0e9be66275a2cb22bb8163a3dbe3a80b285/src/index.js
https://github.com/securecoders/opengraph-react/blob/e4ffd0e9be66275a2cb22bb8163a3dbe3a80b285/src/util/buildRequestUrl.js
https://github.com/securecoders/opengraph-react/blob/e4ffd0e9be66275a2cb22bb8163a3dbe3a80b285/README.md

Source review only; no live exploit asserted. Actual original fix author verified from 4f9e985: @cwooley.

Acceptance:

  • Choose and document supported direct/proxy security contract and independently verify proxy mode never serializes appId.
  • Add cancellation/in-flight dedupe or a bounded request policy to prevent repeated mount amplification, or explicitly disposition this original risk with the human.
  • Verify a genuine supported TEST consumer of the fixed published artifact rather than silently treating a new npm release as deployed.

TEST is the agreed retest closure environment. Record source, TEST runtime and production rollout/retirement separately; missing production rollout proof alone is not a partial TEST fix. This task does not authorize production probing or credential use.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions