Skip to content

gosec's changes Supress nosec G705#10

Merged
shoaebjindani merged 3 commits into
hyperledger-labs:mainfrom
MuthuSundaravadivel:suppress-gosec-g705
Jun 18, 2026
Merged

gosec's changes Supress nosec G705#10
shoaebjindani merged 3 commits into
hyperledger-labs:mainfrom
MuthuSundaravadivel:suppress-gosec-g705

Conversation

@MuthuSundaravadivel

Copy link
Copy Markdown
Member

gosec's taint analysis considers req.Method to be untrusted user input and sees it being written directly into an HTTP response. So we have changed it.

…t and sees it being written directly into an HTTP response

Signed-off-by: Muthu Sundaravadivel <muthu.sundaravadivel@in.ibm.com>
@MuthuSundaravadivel MuthuSundaravadivel marked this pull request as ready for review June 17, 2026 17:09
Signed-off-by: Muthu Sundaravadivel <muthu.sundaravadivel@in.ibm.com>

@shoaebjindani shoaebjindani 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.

Can you please remove SimpleChaincode.class ?

Signed-off-by: Muthu Sundaravadivel <muthu.sundaravadivel@in.ibm.com>
@MuthuSundaravadivel

Copy link
Copy Markdown
Member Author

Can you please remove SimpleChaincode.class ?

Yes updated

@shoaebjindani shoaebjindani changed the title gosec's changes gosec's changes Supress nosec G705 Jun 18, 2026
@shoaebjindani shoaebjindani merged commit 1bcc5e9 into hyperledger-labs:main Jun 18, 2026
3 checks passed
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