primer-design
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes external bioinformatics binaries (
blastnandmakeblastdb) usingsubprocess.runwithinscripts/_specificity.py. These calls are essential for the skill's primary function of performing in-silico PCR and primer specificity screening. The implementation uses list-based command construction (avoiding shell execution) and relies on validated local file paths, which follows security best practices for external command execution. - [EXTERNAL_DOWNLOADS]: The skill's documentation in
SKILL.mdprovides instructions for installing theprimer3-pylibrary from PyPI and the NCBI BLAST+ toolkit. These are well-known, sector-standard scientific software components from trusted repositories and governmental organizations (NCBI). - [INDIRECT_PROMPT_INJECTION]: The skill manages an attack surface for indirect prompt injection by processing external genomic data (FASTA) and configuration files (JSON/TSV). This risk is mitigated through several layers of defense:
- Ingestion points: Genomic sequences enter the system via
read_fastaandread_pairsinscripts/_common.py; configuration enters throughdesign_primers.py. - Boundary markers: Data is parsed using strict biological file format schemas (FASTA, TSV, JSON) which implicitly delimit content.
- Capability inventory: The system can execute BLAST binaries and perform file system operations, but these are scoped to scientific data processing.
- Sanitization: The
dnafunction inscripts/_common.pyrigorously validates all sequence data against the IUPAC alphabet (ACGTRYSWKMBDHVN), effectively preventing the injection of non-biological natural language instructions into the processing pipeline.
Audit Metadata