inspecting-skills
Pass
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill uses
importlib.import_moduleandimportlib.util.spec_from_file_locationto dynamically load and execute Python code from other skill directories at runtime based on the skill name provided. - Evidence: Found in
scripts/skill_imports.pywithin theskill_importfunction andSkillImportFinderclass. - [DYNAMIC_EXECUTION]: The skill modifies the global Python process environment by inserting directories into
sys.pathand registering a customMetaPathFinderinsys.meta_pathto handle custom import resolution. - Evidence: Found in
setup_skill_pathand_ensure_finder_installedfunctions inscripts/skill_imports.py. - [INDIRECT_PROMPT_INJECTION]: The skill facilitates an attack surface where malicious Python code residing in a skill directory could be executed if the agent is induced to import it.
- Ingestion points: Local file system directories containing a
SKILL.mdfile (analyzed inscripts/discover.py). - Boundary markers: None; the skill assumes any directory with the appropriate marker file is a valid source for code imports.
- Capability inventory: Dynamic code execution via
importliband file writing viaPath.write_textingenerate_registry. - Sanitization: The skill performs basic name conversion (dash to underscore) but lacks robust validation to ensure the integrity of the imported code.
Audit Metadata