html2canvas

npm

Is html2canvas safe to use?

Based on the latest brin safety scan, no vulnerabilities or threats were detected for html2canvas v1.4.1. Trust score: 65/100. No known CVE vulnerabilities, no detected threat patterns, and no suspicious capabilities identified. This is an automated, point-in-time assessment.

Install (safety-checked)

html2canvas Passed Security Checks

No security concerns detected

clean
CVEs

0

Threats

0

Install Scripts

0

No Concerns Detected

No security concerns detected in the latest brin assessment. This is an automated, point-in-time evaluation — security posture may change.

This is an automated, point-in-time assessment and may contain errors. Findings are risk indicators, not confirmed threats. Security posture may change over time. Maintainers can dispute findings via the brin review process.

html2canvas Capabilities & Permissions

What html2canvas can access when installed. Review these capabilities before using with AI agents like Cursor, Claude Code, or Codex.

Network Access

This package makes network requests.

drafts.csswg.orgexample.comgithub.comhertzen.com>html.spec.whatwg.orghtml2canvas.hertzen.comhtml2canvas.hertzen.com>jsfiddle.netwww.w3.org
Protocols: http, https

AGENTS.md for html2canvas

Good instructions lead to good results. brin adds html2canvas documentation to your AGENTS.md so your agent knows how to use it properly—improving both safety and performance.

brin init

Vercel's research: 100% accuracy with AGENTS.md vs 53% without →

html2canvas Documentation & Source Code

For the full html2canvas README, API documentation, and source code, visit the official package registry.

Frequently asked questions about html2canvas safety

Weekly Downloads

7.5M

Version

1.4.1

License

MIT

Last Scanned

Jan 31, 2026

Trust Score

65/100·Legitimacy signals, not safety

Capabilities

Network

Connects to: drafts.csswg.org, example.com, github.com...

Is html2canvas Safe? | npm Safety Scan - brin