skills/mukul975/anthropic-cybersecurity-skills/detecting-suspicious-oauth-application-consent/Gen Agent Trust Hub
detecting-suspicious-oauth-application-consent
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [SAFE]: The skill performs legitimate security auditing tasks as described in its metadata. No malicious patterns such as prompt injection, obfuscation, or persistence mechanisms were detected.
- [COMMAND_EXECUTION]: The skill includes a Python script
scripts/agent.pydesigned to interact with the Microsoft Graph API. It uses therequestslibrary for API calls and themsallibrary for secure authentication via the client credentials flow. - [DATA_EXFILTRATION]: The agent retrieves configuration and audit data from the Microsoft Graph API, including service principal details and directory audit logs. This data is processed locally and printed to the console for the user, which is the intended behavior for an auditing tool.
- [CREDENTIALS_UNSAFE]: The script requires sensitive credentials (Tenant ID, Client ID, and Client Secret) to access the Graph API. It correctly handles these as command-line arguments rather than hardcoding them within the script or documentation, which is a standard and safe practice for CLI-based security tools.
Audit Metadata