Skip to content

readme - #19

Merged
CopilotKit merged 5 commits into
mainfrom
atai/0824/readme
Aug 25, 2023
Merged

CopilotKit merged 5 commits into
mainfrom
atai/0824/readme

Conversation

@ataibarkai

Copy link
Copy Markdown
Contributor

No description provided.

@CopilotKit
CopilotKit merged commit 66e7448 into main Aug 25, 2023
@CopilotKit
CopilotKit deleted the atai/0824/readme branch August 25, 2023 17:36
shaneholloman pushed a commit to shaneholloman/copilotkit that referenced this pull request Apr 21, 2026
…rate-registry manifest.slug assertion

- bundle-demo-content: reject highlight: paths that resolve outside
  the package root. The bundle output is committed to the repo and
  consumed by both shells at build time, so a malicious or
  mistake-riddled manifest could otherwise smuggle arbitrary
  filesystem contents (../../secrets, absolute paths) into
  demo-content.json. Resolve relative to pkgRoot and throw on
  escape (finding CopilotKit#19).
- generate-registry: add a runtime guard that manifest.slug is a
  non-empty string before path.join(PACKAGES_DIR, manifest.slug).
  Schema validation upstream already enforces this, but a
  silently-undefined slug fed to path.join yields
  "<packages-dir>/undefined" and would produce an empty docs_links
  without surfacing any error. Fail loudly instead (finding CopilotKit#20).
zeekay pushed a commit to Dream-AI-4444/CopilotKit that referenced this pull request Sep 11, 2026
…rate-registry manifest.slug assertion

- bundle-demo-content: reject highlight: paths that resolve outside
  the package root. The bundle output is committed to the repo and
  consumed by both shells at build time, so a malicious or
  mistake-riddled manifest could otherwise smuggle arbitrary
  filesystem contents (../../secrets, absolute paths) into
  demo-content.json. Resolve relative to pkgRoot and throw on
  escape (finding CopilotKit#19).
- generate-registry: add a runtime guard that manifest.slug is a
  non-empty string before path.join(PACKAGES_DIR, manifest.slug).
  Schema validation upstream already enforces this, but a
  silently-undefined slug fed to path.join yields
  "<packages-dir>/undefined" and would produce an empty docs_links
  without surfacing any error. Fail loudly instead (finding CopilotKit#20).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants