hf-cloud-sagemaker-production-defaults

Pass

Audited by Gen Agent Trust Hub on Aug 4, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [Command Execution]: The scripts invoke_endpoint.py and teardown.py execute shell commands via the aws CLI to interact with SageMaker and CloudWatch services. This is a standard approach for infrastructure automation, using Python's subprocess module to manage external processes.
  • [AWS Resource Management]: The skill automates the creation and management of several AWS resources, including SageMaker Models, Endpoints, Autoscaling Policies, and CloudWatch Alarms using the boto3 library. This behavior is consistent with the skill's primary purpose of managing production-grade deployments.
  • [Input Handling and Sanitization]: The invoke_endpoint.py utility includes specific logic to handle and strip UTF-8 Byte-Order Marks (BOM) from request payloads. This is a protective measure designed to prevent common parsing errors in SageMaker containers when requests are initiated from different operating systems.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 4, 2026, 03:26 AM
Security Audit — agent-trust-hub — hf-cloud-sagemaker-production-defaults