Benign python Download

ic-code 1.5.3

“Infrastructure CLI tool for managing AWS, GCP, OCI, CloudFlare, SSH, and more”

Literal references a .dylib nameNames Python cache/build artifacts

Evidence

imports os lines 1–21
1"""
2Configuration Path Management System
3
4This module provides hierarchical configuration path management for IC CLI,
5implementing standardized configuration locations and migration utilities.
6"""
7
8import os
9import shutil
10import yaml
11from typing import Dict, List, Optional, Any, Tuple
12from pathlib import Path
13from datetime import datetime
14import logging
15
16logger = logging.getLogger(__name__)
⋯5 lines
Gets the current directory with Path.cwd lines 26–41
26:39… path lookup and migration.
27
28 Implements the following hierarchy:
29 1. Project-specific: ./.ic/config/
30 2. User home: ~/.ic/config/
31 3. Platform-specific: ~/.ncp/, ~/.ncpgov/
32 4. System defaults: Built-in fallbacks
33 """
34
35 def __init__(self):
36 self.home_dir = Path.home()
37 self.project_dir = Path.cwd()
38 self._backup_dir = self.home_dir / ".ic" / "backups"
39
40 def get_config_hierarchy(self) -> List[Path]:
41 …
Moves proposed agent skill directory lines 226–231
226 # Move entire directory
227 shutil.move(str(source), str(target))
228
229 # Set proper permissions
230 self._set_secure_permissions(target)
231 …
Python recursively copies a directory tree lines 259–267
259:41… backup_name
260
261 # Copy configuration to backup
262 shutil.copytree(source_path, backup_path)
263
264 logger.info(f"Created migration backup: {backup_path}")
265 return backup_path
266
267 def _merge_ …
Calls pathlib rglob for recursive enumeration lines 273–278
273:6… target: Target directory
274 """
275 for item in source.rglob("*"):
276 if item.is_file():
277 relative_path = item.relative_to(source)
278 target_file = tar …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.