Skip to content

Test: fork pull request into a feature branch - #2

Open
NoopDog wants to merge 1 commit into
clevercanary:featurefrom
NoopDog:fork-into-feature
Open

NoopDog wants to merge 1 commit into
clevercanary:featurefrom
NoopDog:fork-into-feature

Conversation

@NoopDog

@NoopDog NoopDog commented Nov 24, 2026

Copy link
Copy Markdown
Member

Temporary test pull request from a fork into a non-default branch.

Copilot AI balanced review requested due to automatic review settings November 24, 2026 06:10
Comment thread src/unsafe2.ts
@@ -0,0 +1,4 @@
// Deliberate CodeQL finding for the test: code injection from the URL.
export function runFromUrlAgain(): unknown {
return eval(window.location.search.slice(1));

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the change.

No open issues 🎉

What changed in this PR

This temporary PR tests a fork-to-feature-branch workflow by adding a deliberate code-injection example for CodeQL.

Changes:

  • Adds runFromUrlAgain(), which evaluates the URL query string and returns the result.
  • Documents that the unsafe behavior is intentional for testing.
File Description
src/​unsafe2.ts Adds the URL-based code-injection test example.

Review effort: Balanced

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.

3 participants