pino
Pass
Audited by Gen Agent Trust Hub on Nov 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill documents the logging of untrusted data, which is the primary function of a logging library. It identifies this as a potential attack surface and provides extensive documentation on mitigation strategies.
- Ingestion points: Untrusted data enters the agent/logger context through
mergingObjectparameters in log methods andbindingsin child loggers, as described inreferences/api/logging-method-parameters.mdandreferences/api/logger-child.md. - Boundary markers: The skill emphasizes the use of JSON structured logging which provides natural boundaries, and explicitly recommends nesting untrusted data under dedicated, application-controlled keys (e.g.,
{ untrusted: untrustedObject }) to prevent top-level key injection. - Capability inventory: The library supports writing to the file system via
pino.destination()and transmitting logs over the network via worker-thread-based transports inpino.transport(), as detailed inreferences/api/statics.md. - Sanitization: The skill provides a dedicated 'Redaction' feature to mask or remove sensitive fields (passwords, tokens) before they are written to the output, documented in
references/features/redaction.mdandsamples/redaction.md. - [SAFE]: All external dependencies, tools, and services mentioned are well-known, legitimate parts of the Node.js and Pino ecosystems. Command examples use standard system utilities and placeholders for sensitive information like API keys.
Audit Metadata