@datarails-ai/dr-cli@1.6.188
Datarails CLI
AI security review
scanned · by lpm-firewall-aiThe credential-exfiltration indicators were not confirmed: the API-key exchange is part of an explicit login flow and uses the selected Datarails server host. However, installation automatically writes the package's own skills and MCP registration into assistant configuration, which warrants a warning as install-time agent-extension setup.
Decision evidence
public snapshot- The npm postinstall hook automatically runs the CLI's skill installer for the user's home directory.
- The same hook registers the bundled dr-zendesk-kb MCP; that command writes to Claude Code's ~/.claude.json.
- The CLI's skill installer writes embedded skills to Claude and Gemini assistant directories, and can update Gemini's instruction file.
- The API-key exchange is reached through the explicit login flow and sends the key to a host resolved for the selected Datarails server.
- No source evidence confirmed the scanner's claim that credentials are redirected to an unrelated gateway.
- app.datarails.com
- caapp.datarails.com
- demoapp.datarails.com
- dev-1.datarails.com
- dev.datarails.com
- drcli.datarails.com
- euapp.datarails.com
- labs.datarails.com
- registry.npmjs.org
- schemas.openxmlformats.org
- studio.datarails.com
- support.datarails.com
- test-1.datarails.com
- test-2.datarails.com
- test-3.datarails.com
- test-4.datarails.com
- test-5.datarails.com
- test-6.datarails.com
- test-7.datarails.com
- testapp.datarails.com
- ukapp.datarails.com
- us-2.datarails.com
Findings
2 critical · 10 high · 5 medium · 6 lowWhere they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
dist/cli.js2 critical · 8 highpackage.json1 high · 1 mediumscripts/postinstall.mjs1 highdist/skills/validate-workato-migration/scripts/compare_files.py1 mediumShow all 23 findings
dist/cli.js10 findingspackage.json2 findingsscripts/postinstall.mjs1 findingdist/skills/validate-workato-migration/scripts/compare_files.py1 findingSource & flagged code
14 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgShared scanner record · 2 findings · 1 line
Source appears to send environment or credential material to an external endpoint.
dist/cli.jsView on unpkg · L7Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/cli.jsView on unpkg · L7Shared code excerpt · 2 findings · 11 lines
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/cli.jsView on unpkg · L7A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/cli.jsView on unpkg · L7Shared code excerpt · 2 findings · 12 lines
Trigger-reachable chain: manifest.bin -> dist/cli.js
Code excerpt · 3 lines
Code excerpt · 3 lines
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/cli.jsView on unpkgScanner record · 7 lines
Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/cli.jsA bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/cli.jsView on unpkgScanner record · 1 line
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli.jsView on unpkgScanner record · 6 lines
Source fingerprint signature matches a known malicious package signature; route for source-aware review.
dist/cli.jsView on unpkgScanner record · 10 lines
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
scripts/postinstall.mjsView on unpkg · L43Code excerpt · 9 lines
Cross-file remote execution chain: scripts/postinstall.mjs spawns dist/cli.js; helper contains network access plus dynamic code execution.
Package ships non-JavaScript build or shell helper files.
dist/skills/validate-workato-migration/scripts/compare_files.pyView on unpkgScanner record · 4 lines
Affected versions and remediation
This report applies to @datarails-ai/dr-cli@1.6.188.
See all versions of @datarails-ai/dr-cli for other recorded verdicts.
- Review the evidence and your use of @datarails-ai/dr-cli@1.6.188 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.