heartmula

Pass

Audited by Gen Agent Trust Hub on Nov 14, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill downloads project source code and pre-trained model weights from external repositories.
  • Clones the source repository from https://github.com/HeartMuLa/heartlib.git.
  • Downloads model checkpoints from Hugging Face repositories including HeartMuLa/HeartMuLaGen, HeartMuLa/HeartMuLa-oss-3B-happy-new-year, and HeartMuLa/HeartCodec-oss-20260123.
  • [COMMAND_EXECUTION]: Instructs the execution of various shell commands for setup and model inference.
  • Performs environment management and dependency installation using uv and pip.
  • Executes a Python script python ./examples/run_music_generation.py to perform the core audio generation task.
  • [DYNAMIC_EXECUTION]: Provides specific Python code patches to be manually applied to the cloned source code to resolve library compatibility issues.
  • Includes code for re-initializing RoPE caches in modeling_heartmula.py.
  • Recommends modifying music_generation.py to allow loading checkpoints with mismatched buffer sizes.
  • [INDIRECT_PROMPT_INJECTION]: The skill accepts user-provided lyrics and tags which are processed by the music generation model.
  • Ingestion points: External text data is ingested via the --lyrics and --tags arguments.
  • Boundary markers: The instructions do not specify delimiters or system prompts to ignore embedded instructions within the lyrics.
  • Capability inventory: The script reads user files, runs a machine learning inference pipeline, and writes an MP3 file to the local filesystem.
  • Sanitization: There is no mention of input sanitization or filtering for the lyric or tag content.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 14, 2026, 08:47 PM