
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@uipath/common
Advanced tools
Affected versions:
Shared infrastructure for the UiPath CLI. Provides output formatting, logging, error handling, and telemetry.
npm install @uipath/common
import { OutputFormatter } from "@uipath/common";
OutputFormatter.success({ Result: "Success", Code: "AssetList", Data: assets });
OutputFormatter.error({ Result: RESULTS.Failure, Message: "Not found", Instructions: "Check the ID" });
Supported formats: table, json, yaml, plain.
Go-style [error, data] tuple returns via catchError:
import { catchError } from "@uipath/common";
const [error, result] = await catchError(api.getData());
if (error) {
OutputFormatter.error({ Result: RESULTS.Failure, Message: error.message, Instructions: "Retry" });
return;
}
import { logger, LogLevel } from "@uipath/common";
logger.info("Fetching resources...");
logger.debug("Request payload:", payload);
// Override level at runtime
logger.setLevel(LogLevel.DEBUG);
| Method | Level | Stream | Visible by default |
|---|---|---|---|
logger.debug | DEBUG | stdout | No |
logger.info | INFO | stdout | Yes |
logger.warn | WARN | stdout | Yes |
logger.error | ERROR | stderr | Yes |
Debug output is enabled via DEBUG env var (Node/Bun) or localStorage.debug (browser).
| Export | Description |
|---|---|
OutputFormatter | Structured output in table, JSON, YAML, or plain text |
catchError(promise) | Go-style error handling returning [error, data] tuples |
logger | Cross-platform logger with debug/info/warn/error levels |
trackedAction | Commander.js extension for automatic telemetry tracking |
CommandWalker | CLI command introspection utility |
OutputSink | Abstraction for output destinations |
See the root repository for license information.
FAQs
Common infrastructure needed by uip tools.
The npm package @uipath/common receives a total of 1,159 weekly downloads. As such, @uipath/common popularity was classified as popular.
We found that @uipath/common demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 24 open source maintainers collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.