Skip to content

fix: resolve security alerts (serialize-javascript, XP-SK-001)#693

Merged
avifenesh merged 4 commits intomainfrom
fix/security-alerts
Mar 28, 2026
Merged

fix: resolve security alerts (serialize-javascript, XP-SK-001)#693
avifenesh merged 4 commits intomainfrom
fix/security-alerts

Conversation

@avifenesh
Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • cargo test --workspace - 4,076 tests pass
  • npm audit in website/ - 0 vulnerabilities
  • npm audit in editors/vscode/ - 0 vulnerabilities
  • Pre-push hooks pass (build + tests)

- Remove non-standard `version` field from SKILL.md frontmatter (fixes
  code scanning alert #1062, XP-SK-001)
- Override serialize-javascript to ^7.0.5 in website and vscode extension
  to fix CPU exhaustion DoS vulnerability (fixes Dependabot alerts #122
  and #123)
Copilot AI review requested due to automatic review settings March 28, 2026 12:15
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several dependencies across the repository, including an override for serialize-javascript to version 7.0.5 in the VS Code extension and website. It also includes updates for brace-expansion, underscore, and terser-webpack-plugin, removes the randombytes dependency, and deletes the version metadata from the agnix skill definition. Additionally, the toml dependency in Cargo.lock is downgraded from version 1.0.1 to 0.8.23. I have no feedback to provide.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Resolves security/code-scanning alerts by tightening metadata in SKILL frontmatter and overriding vulnerable JavaScript dependencies in the docs site and VS Code extension.

Changes:

  • Remove the non-standard version field from plugin/skills/agnix/SKILL.md frontmatter (XP-SK-001).
  • Add npm overrides for serialize-javascript@^7.0.5 in website/ and editors/vscode/, and update corresponding lockfiles.
  • Update Cargo.lock to resolve agnix-workspace-tests to toml 0.8.23.

Reviewed changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
website/package.json Adds serialize-javascript override to address vulnerability.
website/package-lock.json Lockfile updates reflecting dependency/override resolution.
plugin/skills/agnix/SKILL.md Removes non-standard frontmatter key to satisfy XP-SK-001.
editors/vscode/package.json Adds serialize-javascript override for extension toolchain deps.
editors/vscode/package-lock.json Lockfile updates reflecting dependency/override resolution.
Cargo.lock Adjusts resolved toml version for workspace test crate.
Files not reviewed (2)
  • editors/vscode/package-lock.json: Language not supported
  • website/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Add engines.node >= 20.0.0 to website and vscode extension
  (serialize-javascript@7 requires Node 20+)
- Add CHANGELOG.md entry for security fixes
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4dea9977a0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Avoid overwriting engines.vscode by merging the Node constraint into the
existing engines object instead of adding a duplicate key.
Copilot AI review requested due to automatic review settings March 28, 2026 12:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 7 changed files in this pull request and generated 1 comment.

Files not reviewed (2)
  • editors/vscode/package-lock.json: Language not supported
  • website/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@avifenesh avifenesh merged commit 7ffdf76 into main Mar 28, 2026
10 checks passed
@avifenesh avifenesh deleted the fix/security-alerts branch March 28, 2026 12:50
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