onedrive
Fail
Audited by Gen Agent Trust Hub on Aug 17, 2026
Risk Level: HIGHCREDENTIALS_UNSAFECOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill contains a hardcoded password string (
'securePassword123') within a TypeScript code example inSKILL.mdunder the "Sharing & Permissions" section. While presented as an example, the use of a non-placeholder secret value in instructions is a security risk. - [COMMAND_EXECUTION]: The instructions utilize the Node.js
fsmodule to perform local filesystem operations, includingfs.readFileSync,fs.createWriteStream,fs.openSync, andfs.readSync. These are used to handle file uploads and downloads, granting the agent the capability to interact with the host filesystem. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from an external cloud service (Microsoft OneDrive), which could contain malicious instructions embedded in file names or content.
- Ingestion points: Data retrieved from OneDrive API endpoints such as
/drive/root/childrenand/drive/items/{id}/contentinSKILL.md. - Boundary markers: The instructions lack explicit boundary markers or delimiters to separate external data from agent instructions.
- Capability inventory: The skill has the ability to read and write to the local filesystem (
fsmodule) and perform authenticated network operations via thegraphClient. - Sanitization: There are no procedures defined for validating or sanitizing the data fetched from the external API before processing.
Recommendations
- AI detected serious security threats
Audit Metadata