dp-agent-eval-teams
Fail
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDYNAMIC_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/ask_teams_agent.pyexecutes a local Python scriptsync_deepworks_iam_token.pyusing thesubprocess.runmethod. This script is located within the repository path provided by the user via the--repoargument. - Evidence:
subprocess.run([sys.executable, str(repo / "scripts" / "sync_deepworks_iam_token.py")], check=False, capture_output=True) - [DYNAMIC_EXECUTION]: The script dynamically modifies the Python module search path (
sys.path) to include thesrcdirectory of the user-specified repository. This allows the skill to load and execute theagent_evallibrary from an external directory. - Evidence:
sys.path.insert(0, str(repo / "src")) - [DATA_EXPOSURE]: The skill reads the
.envfile in the provided repository to verify the existence of theAGENT_TEAMS_TOKENcredential, which is required for authentication with the cloud service. - Evidence:
if not env_file.is_file() or "AGENT_TEAMS_TOKEN" not in env_file.read_text(encoding="utf-8"): - [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied text and note content, which is then transmitted to a cloud-based agent. This represents an injection surface if the external agent processes the data without sufficient isolation.
- Ingestion points: The
--messageand--noteCLI arguments inscripts/ask_teams_agent.py. - Boundary markers: None present in the script to separate user input from system instructions.
- Capability inventory: The skill can execute local subprocesses (
subprocess.run) and write files to the local filesystem (answer_path.write_text,log_path.write_text). - Sanitization: No explicit sanitization or escaping of the user-provided input strings was identified.
Recommendations
- HIGH: Downloads and executes remote code from: http://127.0.0.1:9223 - DO NOT USE without thorough review
Audit Metadata