Aias00 opened a new issue, #6804:
URL: https://github.com/apache/shenyu/issues/6804

   - severity: Medium
   - files: 
`shenyu-plugin-security/shenyu-plugin-sign/.../service/ComposableSignService.java:234-236`
 (`String.format("%s-%s", PluginEnum.X.getName(), context.getRpcType())` inside 
`skipSignExchange`, invoked from `handleExchange` on every sign-enabled request)
   - description: Three `String.format` calls (Formatter + StringBuilder + 
boxing) per signed request, when the module strings are static constants.
   - impact: Per-signed-request allocation/boxing churn.
   - suggested_fix: Precompute `private static final String SPRING_CLOUD_MODULE 
= PluginEnum.SPRING_CLOUD.getName() + "-" + ...` constants, or compare enum 
names directly without formatting.
   - confidence: High
   
   ---
   _Identified during the 2026-08-02 deep re-scan; full list in 
[`docs/scan2-2026-08-02/06-medium-tiers.md`](docs/scan2-2026-08-02/06-medium-tiers.md)._


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to