primer-design

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill invokes local bioinformatics utilities blastn and makeblastdb to perform specificity screening. This is implemented in scripts/_specificity.py using subprocess.run with list-based arguments and no shell invocation, which effectively mitigates command injection risks. Executable paths are identified via shutil.which based on user-provided or default strings.
  • [INDIRECT_PROMPT_INJECTION]: The tool processes sequence data (FASTA) and assay parameters (TSV/JSON). While it lacks explicit boundary markers for the AI, the dna() validation function in scripts/_common.py strictly enforces the IUPAC alphabet (A, C, G, T, N, etc.), making it impossible for sequence data to contain natural language injection payloads. TSV inputs for pair IDs and coordinates are similarly validated against strict regular expressions and type checks, preventing the injection of executable code or malicious instructions through data files. Capability inventory includes local file writes and execution of the BLAST engine, both of which are limited to the intended scientific functions.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 03:30 PM