Skip to content

Comments

Fix for code scanning alert no. 4: Checkout of untrusted code in trusted context#268

Open
infiloop2 wants to merge 3 commits intomainfrom
alert-autofix-4
Open

Fix for code scanning alert no. 4: Checkout of untrusted code in trusted context#268
infiloop2 wants to merge 3 commits intomainfrom
alert-autofix-4

Conversation

@infiloop2
Copy link
Collaborator

@infiloop2 infiloop2 commented Feb 16, 2026

Fix for https://github.com/smartcontractkit/cre-cli/security/code-scanning/4

We have a bit weird dependency between cre cli and chainlink repo where we want to run tests within chainlink repo which use the cre cli. Current action tried to run this test against the same branch name as was opened in cre cli

This could help in testing, however could lead to weird behaviour in merge queue / on main where it will always run against develop.

So defaulting always to develop seems like a more proper solution and would also resolve the codeQL alert

…de in trusted context

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@infiloop2 infiloop2 changed the title Potential fix for code scanning alert no. 4: Checkout of untrusted code in trusted context Fix for code scanning alert no. 4: Checkout of untrusted code in trusted context Feb 20, 2026
@infiloop2 infiloop2 marked this pull request as ready for review February 20, 2026 18:36
@infiloop2 infiloop2 requested a review from a team as a code owner February 20, 2026 18:36
@github-actions
Copy link

⚠️ Abigen Fork Check - Update Available

The forked abigen package is outdated and may be missing important updates.

Version Value
Current Fork v1.16.0
Latest Upstream v1.17.0

Action Required

  1. Review abigen changes in upstream (only the accounts/abi/bind directory matters)
  2. Compare with our fork in cmd/generate-bindings/bindings/abigen/
  3. If relevant changes exist, sync them and update FORK_METADATA.md
  4. If no abigen changes, just update the version in FORK_METADATA.md to v1.17.0

Files to Review

  • cmd/generate-bindings/bindings/abigen/bind.go
  • cmd/generate-bindings/bindings/abigen/bindv2.go
  • cmd/generate-bindings/bindings/abigen/template.go

⚠️ Note to PR author: This is not something you need to fix. The Platform Expansion team is responsible for maintaining the abigen fork.

cc @smartcontractkit/bix-framework

@github-actions
Copy link

⚠️ Abigen Fork Check - Update Available

The forked abigen package is outdated and may be missing important updates.

Version Value
Current Fork v1.16.0
Latest Upstream v1.17.0

Action Required

  1. Review abigen changes in upstream (only the accounts/abi/bind directory matters)
  2. Compare with our fork in cmd/generate-bindings/bindings/abigen/
  3. If relevant changes exist, sync them and update FORK_METADATA.md
  4. If no abigen changes, just update the version in FORK_METADATA.md to v1.17.0

Files to Review

  • cmd/generate-bindings/bindings/abigen/bind.go
  • cmd/generate-bindings/bindings/abigen/bindv2.go
  • cmd/generate-bindings/bindings/abigen/template.go

⚠️ Note to PR author: This is not something you need to fix. The Platform Expansion team is responsible for maintaining the abigen fork.

cc @smartcontractkit/bix-framework

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.

1 participant