Aias00 opened a new issue, #6675:
URL: https://github.com/apache/shenyu/issues/6675
- severity: High; files: `mappers/operation-record-log-sqlmap.xml:70-88`;
service `OperationRecordLogServiceImpl.java:58-61` (returns raw list, no paging)
- description: `context like concat('%',#{keyword},'%')` and `context not
like concat('%',#{excluded},'%')` on a TEXT column; `operation_record_log`
schema (`schema.sql:357-365`) defines no index on `operation_time` or
`operator`; no `LIMIT`.
- impact: A wide time-range query scans and sorts the entire audit log;
latency/temp-space grows with table size.
- suggested_fix: Add index on `(operation_time, operator)`; add
`LIMIT`/`@Pageable`; use full-text or a generated prefix index instead of
`'%kw%'`.
- 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]