microsoft-onedrive
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The
uploadFileandreplaceFiletools download binary data from a user-suppliedfileUrlparameter to upload the content into OneDrive. Additionally, thegetCopyStatustool fetches data from a dynamically generated, pre-authenticatedmonitorUrlreturned by the Microsoft Graph API. - [COMMAND_EXECUTION]: The entry-point script
cli.jsusesspawnSyncto execute the connector's internal CLI logic (cli.tsordist/cli.js) using the current Node.js binary. This is a standard architectural wrapper for providing a CLI interface to the skill's scripts. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from external sources which could potentially contain malicious instructions for the agent.
- Ingestion points:
scripts/uploadFile.tsandscripts/replaceFile.tsdownload data from arbitrary external URLs. Tools likescripts/getItem.tsandscripts/listFolderItems.tsretrieve file names, metadata, and content from the user's OneDrive account. - Boundary markers: The skill returns all results within a structured JSON envelope (
{ data, meta }), providing clear separation between tool output and system metadata. - Capability inventory: The skill possesses the capability to write, move, copy, share, and delete files on OneDrive. It can also perform network requests to user-defined URLs via the
fileUrlparameter. - Sanitization: The skill employs
encodeURIComponentwhen interpolating identifiers into API path parameters, providing protection against basic path traversal or injection in the API requests.
Audit Metadata