generic-drug-scout
Pass
Audited by Gen Agent Trust Hub on Aug 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to run various local Python scripts to generate patent screening platforms and static reports.
- Evidence:
SKILL.mdcontains multiple workflows involvingpython generic-drug-scout-v1\scripts\create_seeded_screening_platform.pyandpython .\仿药速探V1_首轮结果平台\app\server.py. - [COMMAND_EXECUTION]: The skill uses system commands or Python subprocesses to automatically launch the generated reports in the user's default browser.
- Evidence:
SKILL.mdandscripts/create_seeded_screening_platform.pyutilizeStart-Process(PowerShell) andsubprocess.Popen(["cmd", "/c", "start", "", html_path])to open files. - [DYNAMIC_EXECUTION]: The script
scripts/create_seeded_screening_platform.pydynamically loads and executes theserver.pymodule from the skill's assets folder at runtime. - Evidence: The
load_server_modulefunction usesimportlib.util.spec_from_file_locationandspec.loader.exec_moduleto load code fromassets/platform-template/app/server.py. - [DATA_EXFILTRATION]: The skill accesses a local configuration file to retrieve endpoints for internal Patsnap MCP services.
- Evidence:
assets/platform-template/app/server.pyreads from~/.codex/config.tomlusing theread_mcp_urlfunction to obtain URLs forzhihuiya_logic_096456andzhihuiya_logic_2b0355. - [INDIRECT_PROMPT_INJECTION]: The skill processes patent descriptions and legal metadata from external MCP patent tools, which constitutes an indirect prompt injection surface.
- Ingestion points: External patent data is ingested via
mcp_callinserver.pyfrom tools such asls_patent_searchandpatsnap_fetch. - Boundary markers: The generated HTML report in
index.htmluses anescapeHtmlJavaScript function to sanitize data before rendering. - Capability inventory: The skill can perform file system writes (creating reports), execute local Python code, and initiate network requests to MCP services.
- Sanitization: Basic HTML entity escaping is implemented for strings displayed in the report UI.
Audit Metadata