leniu-java-mq
Pass
Audited by Gen Agent Trust Hub on Mar 7, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill defines patterns for processing data from external message queues, establishing a vulnerability surface for indirect prompt injection.
- Ingestion points: External data enters the system through the
onMessagemethod inXxxMqListenerYyywhich consumesMqPayloadfrom MQ topics. - Boundary markers: Messages are encapsulated in a
MqPayload<String>object and structured using JSON. - Capability inventory: The handler logic in
XxxMqHandlerinvokes business services likexxxService.processXxx, which can perform database operations and other stateful business logic. - Sanitization: The implementation uses
JacksonUtilfor structural validation and deserialization into POJOs, but it lacks specific sanitization of string content to filter potential malicious instructions embedded in the message fields.
Audit Metadata