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 .satk folder with rmdir(..., '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 .slx library files (via .satk/library-cache/*.json and 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 .satk folder with no backup or recovery step, which is a localized (personal prefdir) irreversible loss that does not reach shared scope.

Issues (3)

E004
CRITICAL

Prompt injection detected in skill instructions.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
CRITICAL
Analyzed
Dec 1, 2026, 02:56 AM
Issues
3