adorn@0.1.1
Contract-driven development for TypeScript — declare a contract once; runtime validation, JSON Schema, docs, tests, and an LLM tool schema all derive from the same source.
OpenSSF/OSV malicious advisory
published · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2025-14109 confirms this npm version as malicious.
Independent LPM AI assessment
Clean · reviewedLPM's AI review found this version clean. That disagrees with the OpenSSF/OSV advisory, which supplies the block.
The inspected runtime code matches a contract-validation and analysis package: the CLI is user-invoked, the flagged compiler host is read-only, and observation is inert until a consumer configures a sink. Docs/schema imports can execute the user’s chosen modules, as documented, but that behavior is tied to an explicit command and target.
Independent scan evidence
public snapshot- The manifest exposes the library and a separate CLI binary; its declared hooks are preparation and publish-build tasks.
- The CLI runs a selected command, and its docs/schema commands load only the entry modules the user supplies.
- The CLI’s main command handler runs only when invoked as the executable, not when imported.
- The flagged compiler host reads source files and does not write output; the detector is for static analysis.
- Observation uses a no-op sink by default until a consumer sets one.
- The requested docs/schema commands import user-specified modules, so those modules’ own import-time side effects can run.
- json-schema.org
Findings
5 high · 2 medium · 5 lowWhere they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
dist/addons/otel/index.d.ts#virtual:normalized:round11 highpackage.json2 highdist/src/cli/main.js2 highdist/tools/sensitive-flow/compilerHost.js1 mediumShow all 12 findings
dist/addons/otel/index.d.ts#virtual:normalized:round11 findingpackage.json2 findingsdist/src/cli/main.js2 findingsdist/tools/sensitive-flow/compilerHost.js1 findingSource & flagged code
6 flaggedPackage source references dynamic require/import behavior.
dist/tools/sensitive-flow/compilerHost.jsView on unpkg · L16Code excerpt · 3 lines
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/addons/otel/index.d.ts#virtual:normalized:round1View on unpkgScanner record · 1 line
The manifest exposes the library and a separate CLI binary; its declared hooks are preparation and publish-build tasks.
package.jsonView on unpkg · L26Code excerpt · 7 lines
The manifest exposes the library and a separate CLI binary; its declared hooks are preparation and publish-build tasks.
package.jsonView on unpkg · L90Code excerpt · 8 lines
The CLI runs a selected command, and its docs/schema commands load only the entry modules the user supplies.
dist/src/cli/main.jsView on unpkg · L39Code excerpt · 13 lines
The CLI’s main command handler runs only when invoked as the executable, not when imported.
dist/src/cli/main.jsView on unpkg · L142Code excerpt · 3 lines
Affected versions and remediation
This report applies to adorn@0.1.1.
See all versions of adorn for other recorded verdicts.
- Avoid installing adorn@0.1.1. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.