ncats-arax
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill retrieves biomedical relationship data from the NCATS Translator ARAX production API located at
arax.transltr.io. The client script enforces the use of HTTPS for all network operations. - [COMMAND_EXECUTION]: The skill provides a dedicated Python CLI script (
arax_client.py) to manage API interactions, which is invoked through standard shell commands as illustrated in the skill instructions. - [INDIRECT_PROMPT_INJECTION]: The skill processes JSON responses from the external ARAX API, representing a potential indirect injection surface.
- Ingestion points: Data is fetched in
scripts/arax_client.pythrough GET and POST requests to the API endpoints. - Boundary markers:
SKILL.mdincludes a specific 'Safety boundary' section that warns users that queries are public and prohibits the submission of sensitive or patient-specific information. - Capability inventory: The skill possesses the capability to perform network requests via
urllib.requestand write structured artifacts to the local file system usingpathlibandos. - Sanitization: The script implements a
_sanitize_textfunction that filters out control characters and truncates excessively long strings before they are included in summaries or logs. - [SAFE]: The implementation follows security best practices to mitigate common attack vectors:
- SSRF Mitigation: The
validate_base_urlfunction strictly validates the target API endpoint, explicitly rejectinglocalhost, private/reserved IP addresses, and non-HTTPS protocols. - Redirect Security: A custom
SameOriginHttpsRedirectHandleris used to prevent cross-origin redirects and protocol downgrades. - File Security: Artifacts are written atomically to the output directory using temporary files with restricted permissions (
0600) and their integrity is tracked using SHA-256 hashes in a generated manifest.
Audit Metadata