diagrams-js/json-serialization
Pass
Audited by Gen Agent Trust Hub on Jul 31, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill documents the
fromJSONmethod, which dynamically loads provider modules based on the input JSON. This dynamic loading is a core functionality of the library for resolving service-specific icons and metadata. - [PROMPT_INJECTION]: The skill processes external JSON data, creating an indirect prompt injection surface.
- Ingestion points:
Diagram.fromJSONinSKILL.md. - Boundary markers: Absent in provided examples.
- Capability inventory: Dynamic module loading and file writes (
save(),writeFileSync). - Sanitization: Structural validation is mentioned as a prerequisite for successful parsing.
- [DATA_EXPOSURE]: The skill demonstrates reading and writing diagram files to the local file system using
fs.readFileSyncandfs.writeFileSync, which is appropriate for its purpose.
Audit Metadata