db-update
Warn
Audited by Gen Agent Trust Hub on Oct 27, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFE
Full Analysis
- [DYNAMIC_EXECUTION]: The PowerShell script
scripts/db-update.ps1uses theAdd-Typecommand to compile and execute a C# class namedPlatformProcessat runtime. This C# code utilizes P/Invoke to call Win32 APIs such asCreateProcess,CreatePipe, andInitializeProcThreadAttributeList. While this is intended to manage handle inheritance and prevent process hangs during 1C platform execution, it constitutes runtime compilation of unmanaged code. - [COMMAND_EXECUTION]: Both the PowerShell and Python scripts execute the 1C Enterprise platform binaries (
1cv8.exeoribcmd) using subprocesses. The skill acceptsAdditionalV8ArgumentsandAdditionalIbcmdArgumentsfrom the user, which are concatenated into the final shell command. Although the scripts include logic to block specific sensitive keys from being overridden, this remains a vector for arbitrary command argument injection. - [INDIRECT_PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injection as it ingests untrusted data from the local environment.
- Ingestion points: The skill reads and parses the
.v8-project.jsonfile from the project root and reads console output logs (update_log.txt,check_log.txt) generated by the 1C platform. - Boundary markers: No explicit delimiters or boundary markers are used to separate the content of these files from the agent's instructions.
- Capability inventory: The skill has the capability to execute system commands via the 1C platform binaries and perform file system operations in temporary directories.
- Sanitization: The skill uses standard JSON parsing for the configuration file and string matching/regex for log analysis, but does not sanitize the content before presenting it to the agent.
- [CREDENTIALS_UNSAFE]: The skill is designed to handle sensitive information including database usernames and passwords (
-UserName,-Password,-RepositoryPassword). While the scripts implement redaction logic (Protect-Secretsin PS1,_redactin Python) to mask these values in console output, the credentials are still processed as plaintext arguments within the execution environment.
Audit Metadata