Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@winccoa-tools-pack/npm-winccoa-test-framework-config-file-formatter

Latest version: v0.1.4-3914c0e

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: mpokornyetm
6 Versions
706 Downloads

Scan summary

@winccoa-tools-pack/npm-winccoa-test-framework-config-file-formatter was last scanned on 30 Nov 2026 at version 0.1.4-3914c0e. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest 5 were published within 5 days (26–30 Nov 2026).
  • Findings: No rules fired in version 0.1.4-3914c0e.
  • Downloads: 706 downloads.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.4-3914c0e LATEST 30 Nov 2026 No rules fired
0.1.3 30 Nov 2026 No rules fired
0.1.3-e8bb406 30 Nov 2026 No rules fired
0.1.2-b9d8294 26 Nov 2026 Not shown
0.1.1 26 Nov 2026 Not shown

No rules fired in 0.1.4-3914c0e

Findings

Findings for v0.1.4-3914c0e. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.4-3914c0e; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

winccoa-test-framework-config-file-formatter

Formats WinCC OA Test Framework testSuite*.config files.

These config files are JSON-like but allow full-line comments where the first non-blank character is #. Additionally, the files may contain ctrl-code expressions like %VERSION% which are evaluated at runtime.

This tool:

  • Pretty-prints the JSON structure with 2-space indentation
  • Preserves full-line # comments (keeps them and aligns them to the current indentation level)
  • Preserves everything between two % characters verbatim when it appears outside of JSON strings
  • Does not change content inside JSON strings (so %VERSION% inside a string stays untouched)
  • Preserves input newline style (\n vs \r\n) and BOM (UTF-8/UTF-16LE/UTF-16BE)

Install

npm install @winccoa-tools-pack/npm-winccoa-test-framework-config-file-formatter

Usage

Format a file
npx winccoa-tf-config-format .\Test\CtrlTF\WinCC_OA_Test\TestSuites\suite_API\testSuite.unix.config
Format a directory (default filter: testSuite*.config, recursive)
npx winccoa-tf-config-format .\Test\CtrlTF\WinCC_OA_Test\TestSuites
Check only (no writes), fail if changes needed
npx winccoa-tf-config-format --check .\Test\CtrlTF\WinCC_OA_Test\TestSuites

In --check mode, every file that needs formatting is reported as:

WARNING: <path> needs formatting

This is designed to be consumable by CI log parsers (e.g. Jenkins NextGen Warnings plugin) and static analysis scanners.

Options
  • --filter <pattern>: wildcard file filter when a directory is provided (default: testSuite*.config)
  • --no-recurse: do not search subdirectories
  • --check: do not write; exit code 1 if any file would change
  • --dry-run: do not write; exit code 0 (prints warnings for files that would change)
  • --validate: validate config files against a JSON Schema (prints WARNING: lines; exit code 1 on any issue)
  • --schema <path>: use a custom schema file (default: bundled schemas auto-selected by filename)
  • --extend <path>: add one or more overlay schemas (composed via allOf) on top of the official schema
  • --report-format <sarif|gitlab>: write findings as SARIF 2.1.0 or GitLab Code Quality JSON (requires --report-file and one of --validate, --check, --dry-run)
  • --report-file <path>: report output file; an existing file is replaced
  • --report-root <dir>: base directory for the relative report paths (default: current directory)

Validate with JSON Schema

Validate a suite config (no writes):

npx winccoa-tf-config-format --validate .\Test\CtrlTF\WinCC_OA_Test\TestSuites\suite_API\testSuite.unix.config

Validate a folder:

npx winccoa-tf-config-format --validate .\Test\CtrlTF\WinCC_OA_Test\TestSuites

On problems, the tool prints WARNING: lines suitable for CI parsing, for example:

WARNING: <path>: schema validation failed: ...
WARNING: <path>: parse failed: ...

--validate understands ctrl-code expressions %...% both outside and inside JSON strings (e.g. "%getenv("SMTP_USER")%"), even when the inner quotes are not JSON-escaped.

Reports (SARIF and GitLab Code Quality)

Write findings for GitHub code scanning, Jenkins Warnings NG, GitLab or SonarQube:

npx winccoa-tf-config-format --validate --report-format sarif --report-file .artifacts/tf-config.sarif --report-root . .\Test\CtrlTF\WinCC_OA_Test\TestSuites
npx winccoa-tf-config-format --check --report-format gitlab --report-file gl-code-quality-report.json .\Test\CtrlTF\WinCC_OA_Test\TestSuites
Rule ID Source SARIF level / GitLab severity
winccoa.tfconfig.Parse config cannot be parsed error / major
winccoa.tfconfig.Schema one finding per JSON Schema error (--validate) error / major
winccoa.tfconfig.Formatting file differs from formatter output (--check, --dry-run) warning / minor
  • Paths are relative to --report-root, use / and are URI-encoded in SARIF. Files outside the root are rejected.
  • Lines point to the offending value (schema) or the first changed line (formatting).
  • Fingerprints hash rule, path and finding content, not line numbers.
  • A clean run writes a valid empty report. Usage errors and missing paths exit with 2, remove any existing report and write no replacement.
  • Exit codes are unchanged: 1 if findings exist, 0 otherwise.

Jenkins:

recordIssues(enabledForFailure: true, tools: [sarif(pattern: '.artifacts/tf-config.sarif')])

GitHub: upload with github/codeql-action/upload-sarif.

Derived (overlay) schemas

If you want to keep using the official bundled schemas but add your internal rules (e.g. Jenkins constraints inside USER_DATA), create an overlay schema and pass it with --extend.

Example: enforce USER_DATA.jenkins.timeout <= 15:

{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
        "USER_DATA": {
            "type": "object",
            "properties": {
                "jenkins": {
                    "type": "object",
                    "properties": {
                        "timeout": { "type": "number", "maximum": 15 }
                    }
                }
            }
        }
    }
}

Run validation with the overlay:

npx winccoa-tf-config-format --validate --extend .\my-userdata-overlay.schema.json .\Test\CtrlTF\WinCC_OA_Test\TestSuites

You can repeat --extend multiple times to layer several internal rule sets.

Bundled schemas

This package bundles one schema per important TestFramework config type:

  • schema/testSuite.schema.json (default for testSuite*.config)
  • schema/testProj.schema.json (validates e.g. mandatory non-empty ID and NAME)
  • schema/testRuns.schema.json (for testRuns.config)
  • schema/general.schema.json (for general.config)
  • schema/users.schema.json (for users.config)

By default, --validate selects the schema by filename:

  • testSuite*.config → testSuite schema
  • testProj.*.config → testProj schema
  • testRuns.config → testRuns schema
  • general.config → general schema
  • users.config → users schema

Validate all testProj.*.config files in a suite folder:

npx winccoa-tf-config-format --validate --filter "testProj.*.config" .\Test\CtrlTF\WinCC_OA_Test\TestSuites\suite_API

Validate global configs:

npx winccoa-tf-config-format --validate .\Test\CtrlTF\WinCC_OA_Test\testRuns.config
npx winccoa-tf-config-format --validate .\Test\CtrlTF\WinCC_OA_Test\general.config
npx winccoa-tf-config-format --validate .\Test\CtrlTF\WinCC_OA_Test\users.config

Notes

  • Only full-line comments are supported: a line is treated as a comment if the first non-blank character is #.
  • Inline comments after JSON tokens are not supported.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @winccoa-tools-pack/npm-winccoa-test-framework-config-file-formatter

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229