setup-custom-libraries
Fail
Audited by Snyk on Dec 1, 2026
Risk Level: CRITICAL
Full Analysis
CRITICAL E004: Prompt injection detected in skill instructions.
- Potential prompt injection detected (medium risk: 0.30). The skill is a legitimate MathWorks library-registration workflow, but the promote-to-prefdir snippet silently deletes an existing destination
.satkfolder withrmdir(..., 's')and no confirmation, a careless destructive step that can wipe the user's existing configuration.
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (low risk: 0.10). The required workflow ingests block names, descriptions, and metadata from user-supplied
.slxlibrary files (via.satk/library-cache/*.jsonand the generated KG) that the agent reads without a provider service or item selection by the agent; these are normally the user's own files, but a user may point to third-party libraries, so I score this as low under the recall-first override.
MEDIUM W013: Attempt to modify system services in skill instructions.
- Attempt to modify system services in skill instructions detected (medium risk: 0.30). The skill modifies persistent agent configuration in the user's prefdir (library declarations, block policy, KG index), and the promote branch recursively deletes an existing
.satkfolder with no backup or recovery step, which is a localized (personal prefdir) irreversible loss that does not reach shared scope.
Issues (3)
E004
CRITICALPrompt injection detected in skill instructions.
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W013
MEDIUMAttempt to modify system services in skill instructions.
Audit Metadata