Is Asttokens Safe?

Asttokens — Nerq Trust Score 77.0/100 (B+ grade). Based on analysis of 2 trust dimensions, it is generally safe but has some concerns. Last updated: 2026-04-18.

Yes, Asttokens is safe to use. Asttokens is a Python package with a Nerq Trust Score of 77.0/100 (B+), based on 3 independent data dimensions. Recommended for production use. Security: 90/100. Popularity: 100/100. Data sourced from PyPI registry, GitHub repository, NVD, OSV.dev, and OpenSSF Scorecard. Last updated: 2026-04-18. Machine-readable data (JSON).

Is Asttokens safe?

YES — Asttokens has a Nerq Trust Score of 77.0/100 (B+). It meets Nerq's trust threshold with strong signals across security, maintenance, and community adoption. Recommended for production use — review the full report below for specific considerations.

Security Analysis → Asttokens Privacy Report →

What is Asttokens's trust score?

Asttokens has a Nerq Trust Score of 77.0/100, earning a B+ grade. This score is based on 2 independently measured dimensions including security, maintenance, and community adoption.

Security
90
Popularity
100

What are the key security findings for Asttokens?

Asttokens's strongest signal is popularity at 100/100. No known vulnerabilities have been detected. It meets the Nerq Verified threshold of 70+.

Security score: 90/100 (strong)
Popularity: 100/100 — community adoption

What is Asttokens and who maintains it?

AuthorDmitry Sagalovskiy, Grist Labs
CategoryPython Packages
SourceN/A

Similar Pypi by Trust Score

lxml (81)coverage (81)litellm (81)opencv-python (81)charset-normalizer (81)
See all safest Pypi →

Compare

Asttokens vs lxmlAsttokens vs coverageAsttokens vs litellm

Safety Guide: Asttokens

What is Asttokens?

Asttokens is a Python package — Annotate AST trees with source code positions.

How to Verify Safety

Run pip audit or safety check. Review on PyPI for download stats.

You can also check the trust score via API: GET /v1/preflight?target=asttokens

Key Safety Concerns for Python package

When evaluating any Python package, watch for: dependency vulnerabilities, malicious uploads, maintenance status.

Trust Assessment

Asttokens has a Nerq Trust Score of 77/100 (B+) and meets Nerq trust threshold. This score is based on automated analysis of security, maintenance, community, and quality signals.

Key Takeaways

Detailed Score Analysis

DimensionScore
Security90/100
Maintenance85/100
Popularity100/100
Quality65/100
Community35/100

Based on 5 dimensions. Data from PyPI registry, GitHub repository, NVD, OSV.dev, and OpenSSF Scorecard.

What data does Asttokens collect?

Asttokens is a Python package maintained by Dmitry Sagalovskiy, Grist Labs. It receives approximately 24,355,811 weekly downloads. Licensed under Apache 2.0.

As a development package, Asttokens does not directly collect end-user personal data. However, applications built with it may collect data depending on implementation. Privacy score: 80/100.

Review the package's dependencies for potential supply chain risks. Run your package manager's audit command regularly.

Full analysis: Asttokens Privacy Report · Privacy review

Is Asttokens secure?

Security score: 90/100. Asttokens has 0 known vulnerabilities (CVEs) in the National Vulnerability Database. This is a clean record.

Licensed under Apache 2.0, allowing code inspection. Open-source packages allow independent security review of the source code.

Run your package manager's audit command (`npm audit`, `pip audit`, `cargo audit`) to check for known vulnerabilities in your dependency tree.

Full analysis: Asttokens Security Report

How we calculated this score

Asttokens's trust score of 77.0/100 (B+) is computed from PyPI registry, GitHub repository, NVD, OSV.dev, and OpenSSF Scorecard. The score reflects 5 independent dimensions: security (90/100), maintenance (85/100), popularity (100/100), quality (65/100), community (35/100). Each dimension is weighted equally to produce the composite trust score.

Nerq analyzes over 7.5 million entities across 26 registries using the same methodology, enabling direct cross-entity comparison. Scores are updated continuously as new data becomes available.

This page was last reviewed on April 18, 2026. Data version: 1.0.

Full methodology documentation · Machine-readable data (JSON API)

Frequently Asked Questions

Is Asttokens Safe?
Yes, it is safe to use. asttokens with a Nerq Trust Score of 77.0/100 (B+). Strongest signal: popularity (100/100). Score based on Security (90/100), Popularity (100/100).
What is Asttokens's trust score?
asttokens: 77.0/100 (B+). Score based on Security (90/100), Popularity (100/100). Scores update as new data becomes available. API: GET nerq.ai/v1/preflight?target=asttokens
What are safer alternatives to Asttokens?
In the Python Packages category, more Python packages are being analyzed — check back soon. asttokens scores 77.0/100.
Does Asttokens have known vulnerabilities?
Nerq checks Asttokens against NVD, OSV.dev, and registry-specific vulnerability databases. Current security score: 90/100. Run your package manager's audit command for the latest findings.
Is Asttokens actively maintained?
Asttokens maintenance score: N/A. Check the repository for recent commit activity and issue responsiveness.
API: /v1/preflight Trust Badge API Docs

See Also

Disclaimer: Nerq trust scores are automated assessments based on publicly available signals. They are not endorsements or guarantees. Always conduct your own due diligence.

We use cookies for analytics and caching. Privacy