Scan your whole stack
From OX Research Newsroom
Are you using @winccoa-tools-pack/npm-winccoa-test-framework-config-file-formatter?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.4-3914c0e
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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:
# comments (keeps them and aligns them to the current indentation level)% characters verbatim when it appears outside of JSON strings%VERSION% inside a string stays untouched)\n vs \r\n) and BOM (UTF-8/UTF-16LE/UTF-16BE)npm install @winccoa-tools-pack/npm-winccoa-test-framework-config-file-formatter
npx winccoa-tf-config-format .\Test\CtrlTF\WinCC_OA_Test\TestSuites\suite_API\testSuite.unix.config
testSuite*.config, recursive)npx winccoa-tf-config-format .\Test\CtrlTF\WinCC_OA_Test\TestSuites
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.
--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 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.
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 |
--report-root, use / and are URI-encoded in SARIF. Files outside the root are rejected.2, remove any existing report and write no replacement.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.
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.
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 schematestProj.*.config → testProj schematestRuns.config → testRuns schemageneral.config → general schemausers.config → users schemaValidate 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
#.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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.