transcript-fixer
Pass
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSOBFUSCATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: Executes several external binaries via
subprocessto perform core tasks: uvis used for virtual environment and dependency management during setup (ensure_deps.py).ffmpegandffprobeare utilized to extract audio clips and verify media durations against transcript timelines (verify_queue_audio.py,fetch_minute_audio.py).curlis used to download audio files from meeting platforms (fetch_minute_audio.py).lark-cliis invoked to retrieve authenticated media URLs from the Feishu/Lark platform (fetch_minute_audio.py).- [EXTERNAL_DOWNLOADS]: Interacts with remote endpoints to fetch tools and data:
- Communicates with the Zhipu AI (GLM) API at
open.bigmodel.cnto perform automated text corrections (ai_processor.py). - Downloads audio recordings from the Feishu/Lark platform to facilitate human verification of ASR errors (
fetch_minute_audio.py). - Setup scripts and documentation recommend installing the
uvutility from its official source atastral.sh(ensure_deps.py). - [OBFUSCATION]: Uses specific Unicode Private Use Area characters (
\ue000,\ue001) as internal sentinels. These are employed to 'mask' immutable transcript spans (like speaker labels) before they are sent to the AI model, ensuring structural markers are not altered during the correction process (protected_spans.py). - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted transcript data which is subsequently interpolated into model prompts.
- Ingestion points: Loads content from
.mdand.txttranscript files (fix_transcription.py). - Boundary markers: Employs double-newline delimiters to separate transcript chunks within the correction prompt (
ai_utils.py). - Capability inventory: Includes filesystem write access, network communication (via
httpx), and external command execution (viasubprocess). - Sanitization: Implements comprehensive path validation to prevent traversal attacks (
path_validator.py) and strictly validates correction inputs and domain names used in SQL queries (domain_validator.py). - [SAFE]: Demonstrates several security best practices:
- Centralized configuration management that automatically enforces restrictive filesystem permissions (
0o600for configuration files and0o700for the configuration directory). - Proactive sanitization of sensitive data, including a utility to mask API keys and other secrets in application logs (
security.py). - Robust validation of all user-supplied file paths and domain names before they are used in operations.
Audit Metadata