mouser
Pass
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runto executepdftotext(a standard utility) for verifying the content of downloaded datasheets infetch_datasheet_mouser.py. It also attempts to run a sibling scriptanalyze_schematic.pyinsync_datasheets_mouser.pyto extract part numbers from KiCad schematic files. - [CREDENTIALS_UNSAFE]: The documentation in
SKILL.mdprovides instructions on how to set theMOUSER_SEARCH_API_KEYenvironment variable. It also shows a common pattern for loading secrets from a file (export $(grep -v '^#' ~/.config/secrets.env | xargs)). This is standard development practice and no actual secrets are hardcoded in the skill. - [EXTERNAL_DOWNLOADS]: The skill downloads datasheet PDF files from Mouser's official domains and manufacturer websites (e.g.,
mouser.com,ti.com,microchip.com). These are well-known, trusted industry sources for electronic component documentation. - [DYNAMIC_EXECUTION]: The skill includes an optional dependency on
playwrightto use a headless browser for downloading datasheets from websites that require JavaScript. This is used as a fallback mechanism for legitimate content retrieval. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data from KiCad schematics and Mouser API responses. It implements several mitigations, including strict MPN filtering (
is_real_mpn), filename sanitization, and content verification of the resulting PDF files to ensure they match the expected part number and manufacturer.
Audit Metadata