Этот отчет не переведен на запрошенный язык. Вместо него показан канонический отчет на английском языке.

Версионная оценка безопасности

ID отчёта: SA-DBE0E719

7/8/2026, 8:38:36 AM

azure-compute оценка безопасности v4

Отчёт о сертификации безопасности навыка

История аудитов
Модель аудита: codex Исторический отчет
Название навыка
azure-compute
Версия
v4
Сопровождающий
microsoft
Охват
51 Просканировано файлов · 3,381 Проанализировано строк
Версия политики
Недоступно

Наивысшая серьёзность подтверждённого результата

Высокий

Подтверждённые проблемы безопасности (11) требуют внимания.

Контекст установки

Исторические доказательства

Этот отчёт может не описывать артефакт, доступный для установки в настоящее время. Откройте текущую страницу Навыка для получения рекомендаций по установке.

Открыть текущую страницу Навыка

Этот отчёт не блокирует и не разрешает манифест или ZIP.

Most static alerts are false positives from markdown links, Azure documentation URLs, public SSH key examples, and IaC templates. Confirmed risks are operational: selected troubleshooting commands can change VM credentials, firewall access, networking, or SELinux state, and the GitHub PR delivery path lacks documented validation for shell placeholders. No prompt injection attempt was found in the reviewed files.

Позиция отчета

Исторический отчет

Откройте историю аудита перед использованием этого отчета для установки.

Аттестация аудита

Не подлежит аттестации

Требуемая неизменяемая привязка не завершена.

Проверка человеком

Не проверено

Для этого отчета не зафиксирована проверка человеком.

Охват

51 Просканировано файлов · 3,381 Проанализировано строк

14 элементов показано для проверки

Ограничения

Этот отчёт не заявляет о выполнении во время работы или в песочнице и не доказывает отсутствие побочных эффектов.

Цепочка доказательств

Проследите доказательства от привязки источника до контракта установки. Доступные доказательства подтверждают возможность проверки; они не являются гарантией безопасности.

  1. Источник

    Привязка недоступна

  2. Артефакт

    Идентификация неполная

  3. Аудит

    Завершено

  4. Контракт установки

    Открыть манифест для проверки

    Открыть манифест

Обнаруженные возможности

«Обнаружено» означает, что в этом отчете зафиксированы подтверждающие доказательства. «Не зафиксировано» не доказывает отсутствие возможности.

Содержит скрипты

Может выполнять код, включённый в Skill.

Не зафиксировано этим аудитом

Доступ к сети

Может подключаться к внешним службам.

Обнаружено в 33 местах расположения доказательств

Доступ к файловой системе

Может читать или записывать локальные файлы.

Обнаружено в 40 местах расположения доказательств

Переменные окружения

Может считывать значения из окружения процесса.

Не зафиксировано этим аудитом

Внешние команды

Может вызывать команды или программы вне Навыка.

Обнаружено в 41 местах расположения доказательств

Пункты проверки возможностей (3)
Высокий
sudo privilege escalation
| sudo password prompt fails / user not in sudoers | Fix via Run Command or Serial Consol
The workflow recommends fixing sudo access through Run Command or Serial Console. That can grant administrative privileges on the VM and must require explicit authorization.
Высокий
PowerShell invocation
--command-id RunPowerShellScript \
This RunPowerShellScript command enables the Remote Desktop firewall rule. It deliberately opens administrative remote access and must require user consent and rollback context.
Средний
Shell command substitution
MY_IP=$(curl -s ifconfig.me)/32 # your current public IP, locked to /32
This example runs curl against ifconfig.me to derive the caller public IP. The goal is benign NSG scoping, but it still creates an external network dependency and reveals client metadata to a third-party service.

Результаты оценки рисков

Подтверждённые проблемы безопасности отделены от элементов, которые всё ещё требуют проверки.

Подтверждённые проблемы безопасности (11)

RISK-001 Высокий
System reconnaissance
--command-id RunPowerShellScript \
The command changes Windows Firewall to enable RDP access. That is a security-sensitive VM state change even though it is part of troubleshooting.
RISK-002 Высокий
System reconnaissance
--command-id RunShellScript --scripts "iptables -I INPUT -p tcp --dport 22 -j ACCEPT"
The iptables command inserts an allow rule for SSH. Opening administrative network access is security-sensitive and should be approved and reversible.
RISK-003 Высокий
System reconnaissance
--command-id RunShellScript \
The firewalld command permanently adds the SSH service and reloads the firewall. This intentionally weakens inbound restrictions for recovery and needs approval.
RISK-004 Высокий
System reconnaissance
--command-id RunShellScript --scripts "ufw status; ufw allow 22/tcp"
The UFW command allows SSH through the guest firewall. It is useful recovery guidance, but it changes inbound access on the VM.
RISK-005 Высокий
System reconnaissance
--command-id RunShellScript --scripts "setenforce 0"
The command sets SELinux to permissive mode. Even temporarily, this reduces host enforcement and is a security-sensitive recovery step.
RISK-006 Высокий
User-Controlled Shell Placeholders In PR Workflow
The GitHub PR delivery workflow accepts repo, branch, and target path values from the user, then places those values in shell commands without documented validation or escaping. A malicious branch or path could turn infrastructure delivery into command injection if an agent executes the commands.
The file gathers user-controlled repo, branch, and path strings and later interpolates them directly into gh, git, mkdir, and git add commands. The workflow is legitimate, but missing validation makes injection plausible.
RISK-007 Высокий
Privileged VM Recovery Commands Require Strong Approval
The troubleshooting references include commands to reset passwords, reset SSH configuration, enable RDP, open SSH firewall rules, unlock accounts, and set SELinux permissive. These are legitimate recovery actions, but they can change access controls and host security state.
The cited commands directly alter credentials, SSH/RDP access, firewall policy, account state, or SELinux enforcement. The files include warnings, so the issue is operational risk rather than malicious intent.
RISK-008 Средний
System reconnaissance
| "Your credentials did not work" | Reset password via Portal or CLI
The table recommends resetting a VM password through Portal or CLI. This is legitimate recovery guidance, but it changes VM credentials and can affect account access.
RISK-009 Средний
System reconnaissance
--command-id RunShellScript --scripts "passwd -u <username>"
The Run Command unlocks a Linux account with passwd -u. This changes account access state on the VM and is a real privileged recovery operation.
RISK-010 Средний
System reconnaissance
--command-id RunShellScript --scripts "ip link set eth0 up && dhclient eth0"
The Run Command brings eth0 up and requests DHCP. It can change live guest networking, so it is a real operational change rather than passive diagnostics.
RISK-011 Низкий
Network reconnaissance
MY_IP=$(curl -s ifconfig.me)/32 # your current public IP, locked to /32
The command discovers the caller public IP through ifconfig.me before setting an NSG source range. This is transparent and useful, but it is still a third-party network lookup.

Меры по устранению

В ходе этого аудита были зафиксированы рекомендуемые исправления. Их применение является ответственностью сопровождающего.

  1. FIX-001
    Высокий
    GitHub PR commands interpolate user-controlled repo, branch, path, and VM values.
    Validate allowed characters, quote every shell argument, and prefer structured tool calls over generated shell strings.
  2. FIX-002
    Высокий
    VM recovery commands can reset credentials or change remote access controls.
    Require explicit approval for each state-changing command, show the affected resource, and provide rollback steps.
  3. FIX-003
    Высокий
    Firewall and SELinux recovery guidance can weaken guest security.
    Prefer read-only diagnostics first, use temporary targeted rules, and document how to restore the previous policy.
  4. FIX-004
    Низкий
    Terraform quickstart uses a third-party public IP lookup service.
    Ask before making the lookup or provide an Azure-owned or manual alternative for the source CIDR value.

Экспертные доказательства

Неизменяемая идентификация субъекта, метаданные сканера, отклонённые совпадения и доказательства на уровне источника.

Субъект артефакта

Коммит Marketplace
Недоступно
Хеш содержимого
Недоступно
Хеш дерева
Недоступно
Путь Skill
Недоступно
Хеш данных аудита
Недоступно

Метаданные анализа

Модель аудита: codex

Состояние анализа: Завершено

Область действия ограничена зафиксированными файлами, строками, методами и доказательствами. Выполнение во время работы или в песочнице не заявляется.

Проверить и экспортировать

Манифест и lockfile привязывают артефакты установки к криптографическим хешам. Это заявление о целостности не связано с оценкой безопасности.

Аттестация аудита: not_attestable