Dir Tool
dir_toolList a directory across all security layers to detect shadowed modules and risky files before running code from extracted, cloned, or downloaded sources.
Instructions
List a directory through all three layers.
File names are judged like any other text. A directory where a .py file shadows a Python standard-library module (struct.py, os.py) is flagged: running Python there would import the attacker's module. Use this before running code in anything extracted, cloned or downloaded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory to list | |
| trentina_mode | No | block, flag, or {"redact": "<what you need>"} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||