Skip to content

icestorm@0.0.0-20251212-59e4c98#6802

Closed
MrAMS wants to merge 1 commit into
bazelbuild:mainfrom
MrAMS:icestorm-v0.0.0-20251212-59e4c98
Closed

icestorm@0.0.0-20251212-59e4c98#6802
MrAMS wants to merge 1 commit into
bazelbuild:mainfrom
MrAMS:icestorm-v0.0.0-20251212-59e4c98

Conversation

@MrAMS

@MrAMS MrAMS commented Dec 12, 2025

Copy link
Copy Markdown
Contributor

@bazel-io

Copy link
Copy Markdown
Member

Hello @UebelAndre, modules you maintain (icestorm) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

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

Copy link
Copy Markdown
Contributor

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 adds a new version 0.0.0-20251212-59e4c98 for the icestorm module. However, it also changes the module's homepage, maintainers, and repository to point to a fork (MrAMS/icestorm) instead of the original upstream (YosysHQ/icestorm). This is a significant change with security implications, as it could be considered a takeover of the module name. My review flags this as a critical issue that requires manual intervention from the BCR maintainers, as per the repository's style guide. If this is a fork, it should be published under a new, distinct module name.

Comment on lines +2 to +12
"homepage": "https://github.com/MrAMS/icestorm",
"maintainers": [
{
"email": "26427366+UebelAndre@users.noreply.github.com",
"github": "UebelAndre",
"github_user_id": 26427366,
"name": "UebelAndre"
"email": "",
"github": "MrAMS",
"name": "Qijia Yang",
"github_user_id": 25056812
}
],
"repository": [
"github:YosysHQ/icestorm"
"github:MrAMS/icestorm"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

This pull request modifies the repository, homepage, and maintainers for the existing icestorm module to point to a fork (MrAMS/icestorm) instead of the original upstream (YosysHQ/icestorm). This is a significant and potentially dangerous change that could be considered a module takeover.

Changing the source of an existing module can introduce a serious supply chain security risk, as users might unknowingly start using code from a different, potentially untrusted, source.

If this is a fork with custom changes, it should be published as a new, distinctly named module (e.g., icestorm-mrams-fork) to avoid confusion with the original. Modifying the source repository of an existing module is strongly discouraged.

As per the BCR style guide, this change requires manual review from the BCR maintainers. @bazelbuild/bcr-maintainers

References
  1. The style guide requires pinging BCR maintainers for significant changes to maintainers or repository fields in metadata.json. Changing the upstream repository for an existing module is a significant change that has security implications. (link)

@MrAMS

MrAMS commented Dec 12, 2025

Copy link
Copy Markdown
Contributor Author

This PR contributes to the full implementation of the rules_hdl migration. Compared to the previous version, this update enhances the BCR smoke tests and resolves dependency issues. Additionally, I have configured a monthly CI workflow to automatically fetch and merge updates from the upstream repository. I look forward to any feedback from the reviewers. ❤️

@MrAMS MrAMS marked this pull request as ready for review December 12, 2025 16:24

@UebelAndre UebelAndre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This thread must first be resolved: hdl/bazel_rules_hdl#428 (comment)

@MrAMS MrAMS closed this Dec 15, 2025
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