pandas-ai
Pass
Audited by Gen Agent Trust Hub on Oct 11, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes data from external CSV files and DataFrames that are then queried using natural language. This creates a surface for indirect prompt injection where malicious instructions embedded in the data could influence the agent's behavior.
- Ingestion points: The skill uses
pd.read_csv()to load external data in thepipeline.pyexample andpd.DataFrame()for local data in multiple examples. - Boundary markers: No explicit delimiters or instructions to ignore embedded commands are used when passing data to the
chat()method. - Capability inventory: The skill utilizes
SmartDataframe.chat()andSmartDatalake.chat()which generate and execute Python code on the host system. - Sanitization: The provided code snippets do not implement custom sanitization or validation of the input data before processing.
- [DYNAMIC_EXECUTION]: The skill utilizes the PandasAI library, which operates by generating Python code from natural language queries and executing that code at runtime.
- Evidence: Use of
SmartDataframe.chat()andSmartDatalake.chat()methods across all demonstrated examples includingbasic.py,multi-df.py, andcleaning.py. - Context: This is the core functionality of the library; the skill demonstrates the
custom_whitelisted_dependenciesconfiguration inconfig.pywhich can be used to restrict the execution environment. - [EXTERNAL_DOWNLOADS]: The skill documentation provides instructions to download and install packages from the official Python Package Index (PyPI).
- Evidence: The installation section includes
pip install pandasai,pip install pandasai[openai], andpip install pandasai[langchain]commands.
Audit Metadata