hrsd-email-recommendation
Warn
Audited by Gen Agent Trust Hub on Aug 3, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes the
SN-Execute-Background-Scripttool to perform server-side processing within the ServiceNow environment. - Evidence: Found in Step 6 and Example 3 of
SKILL.md, where arbitrary JavaScript (GlideScript) is executed to perform confidentiality checks and generate email templates. - Risk: There is a potential for script injection if untrusted case data or email content is interpolated into the script string without proper escaping.
- [DATA_EXFILTRATION]: The skill is designed to retrieve and process sensitive Human Resources data, including Personally Identifiable Information (PII).
- Evidence: Data retrieval operations in Step 1 and Step 2 of
SKILL.mdaccess tables such assn_hr_core_caseandsys_email, specifically targeting fields likesubject_person,description, andbody_text. - [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface by ingesting untrusted data from external users (employees) which is then used to influence agent output.
- Ingestion points:
sn_hr_core_case(description, comments) andsys_email(body_text) as documented in the retrieval steps ofSKILL.md. - Boundary markers: Absent; there are no specific delimiters or instructions to ignore embedded commands within the ingested text.
- Capability inventory: The agent has access to
SN-Update-Record,SN-Add-Work-Notes, andSN-Execute-Background-Scripttools. - Sanitization: While Step 6 includes a regex-based PII scanner, there is no validation or sanitization implemented to detect or block malicious instructions embedded in the case data.
Audit Metadata