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

   - severity: High; files: `mappers/namespace-plugin-rel-sqlmap.xml:74-112` 
(`selectByQuery`) and `:160-193` (`searchByCondition`); service 
`NamespacePluginServiceImpl.java:136` (no `@Pageable`)
   - description: `selectByQuery` selects `p.plugin_jar AS pluginJar` (BLOB, 
`schema.sql:41` mediumblob) per list row; uses a derived table on 
`namespace_plugin_rel`; `p.name LIKE '%...%'`; no `LIMIT`. `searchByCondition` 
adds `p.name LIKE '%kw%' OR p.role LIKE '%kw%'` (OR of two leading-wildcard 
LIKEs). No index on `namespace_plugin_rel(namespace_id, plugin_id, enabled)` or 
`plugin(name)`.
   - impact: List endpoint memory/latency dominated by BLOB transfer and full 
scans.
   - suggested_fix: Drop `plugin_jar` from list column list; add `@Pageable`; 
add indexes; replace `LIKE '%kw%' OR ...` with a union or full-text.
   - confidence: High
   
   ---
   _Identified during the 2026-08-02 deep re-scan; full list in 
[`docs/scan2-2026-08-02/00-consolidated-critical-high.md`](docs/scan2-2026-08-02/00-consolidated-critical-high.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