Atlas / MCP servers / nodesify / astria

astriaBLOCK

mcp/nodesify/astria

Turn any folder into a queryable knowledge graph

Verdict
BLOCK
Grade
F
Trust score
47 /100
Exposed tools
—
Transport
stdio · streamable-http
License
MIT
Stars
3
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Knowledge graph builder for codebases

[](https://github.com/Nodesify/astria/actions/workflows/ci.yml) [](https://www.npmjs.com/package/@nodesify/astria) [](https://www.npmjs.com/package/@nodesify/astria) [](https://nodesify.github.io/astria/) [](LICENSE) [](https://nodejs.org/) [](https://deepwiki.com/Nodesify/astria)

Docs | Getting started | CLI Reference | Architecture | Worked examples | Changelog | Release notes | Security

Built by Nodesify

Find an implementation, inspect its relationships, and assess a change before editing. Astria builds a local SQLite knowledge graph with deterministic Rust/tree-sitter extraction. CLI and MCP queries use the same retrieval engine; source locations and evidence classes make results inspectable. Structural analysis needs no API key. Local embeddings and remote semantic enrichment are optional.

Install

npm install -g @nodesify/astria

Node.js >= 22 is required. Prebuilt native binaries ship with the package; installation needs no Rust toolchain. macOS/Linux can also use brew install nodesify/tap/astria (tap).

Intel Mac (darwin-x64), musl Linux and windows-arm64 builds omit local embeddings because ONNX R

Read from source at commit bb0e650abb83OBSERVED · 2026-10-11
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (npm)
claude mcp add astria -- npx -y @nodesify/[email protected]
03

Trust audit

BLOCKgrade F · trust 47/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (6 observation(s))
Network
declared (16 observation(s))
Shell
declared (7 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (25)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/bench/paired/run.mjs:33
const imported=exec(python,['-c','import graphify; print(graphify.__file__)']);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/bench/paired/run.mjs:35
const results={schema_version:4,date:new Date().toISOString(),provenance:{astria_commit:git(repo,'rev-parse','HEAD'),source_status:git(repo,'status','--porcelain'),graphify_commit:config.graphify_comm
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/bench/paired/run.mjs:43
const prepared=exec(python,[path.join(repo,'scripts/bench/paired/prepare.py'),spec.source,spec.commit,root,spec.name]);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/bench/paired/run.mjs:55
const r=tool==='astria'?exec(process.execPath,[path.join(runtime,'build.cjs'),cwd],cwd):exec(python,[path.join(repo,'scripts/bench/orig_run.py'),cwd,path.join(root,spec.name+'-graphify-build.json')],c
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/bench/paired/run.mjs:60
if(tool==='astria'){const audit=exec(python,[path.join(repo,'scripts/bench/paired/audit-symbols.py'),cwd]); if(audit.status!==0)throw Error(audit.stderr); retention=JSON.parse(audit.stdout);}
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/astria-core/src/security.rs:90
".netrc",
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/astria-core/src/security.rs:92
".git-credentials",
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/astria-core/src/security.rs:93
"id_rsa",
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/astria-core/src/security.rs:95
"id_ed25519",
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/astria-core/src/security.rs:96
"id_ecdsa",
Why it matters. touches a credential store
HIGHNetwork egress · net.metadata_ip · CWE-200, CWE-319
crates/astria-ingest/src/lib.rs:674
"localhost" | "127.0.0.1" | "0.0.0.0" | "[::1]" | "::1" | "metadata.google.internal"
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
HIGHNetwork egress · net.metadata_ip · CWE-200, CWE-319
crates/astria-ingest/src/lib.rs:880
"http://169.254.169.254/metadata",
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
HIGHNetwork egress · net.metadata_ip · CWE-200, CWE-319
crates/astria-ingest/src/lib.rs:970
"169.254.169.254",
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
HIGHNetwork egress · net.metadata_ip · CWE-200, CWE-319
crates/astria-ingest/src/lib.rs:1014
"::ffff:169.254.169.254",
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
MEDIUMInventory / provenance · inv.binary · CWE-1104
medium/evidence/2026-10-06/results.json.gz
results.json.gz
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
crates/astria-ingest/src/lib.rs:878
"http://127.0.0.1/x",
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
crates/astria-ingest/src/lib.rs:879
"http://192.168.1.1/router",
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
crates/astria-ingest/src/lib.rs:880
"http://169.254.169.254/metadata",
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
crates/astria-ingest/src/lib.rs:1030
assert!(validate_resolved_hosts("https://127.0.0.1/x").is_err());
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
crates/astria-semantic/src/http.rs:201
(format!("http://127.0.0.1:{port}/v1/x"), served)
LOWInventory / provenance · inv.hidden_file · CWE-1104
.astriaignore
.astriaignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.zcodeignore
.zcodeignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
crates/astria-napi/tests/fixtures/python/sample.py:89
return hashlib.md5(combined.encode()).hexdigest()
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/bench-snapshot.yml:100
npx --yes [email protected] eval -c promptfooconfig.yaml --grader "$JUDGE_MODEL" --output ../../out/promptfoo-results.json
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/release.yml:235
node ../../scripts/include-native-runtime.mjs

Gates applied: no_behavioural_pass.

Audited 2026-10-11 · audit v0.4.1 · source sha bb0e650abb83full audit observations/trust-audit/mcp-server/nodesify__astria.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-11bb0e650abb83BLOCKF47first audit
05

Questions

What is the astria MCP server?

Turn any folder into a queryable knowledge graph

Is astria safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (47/100) and found 14 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does astria need?

It reads ANTHROPIC_API_KEY, OPENROUTER_API_KEY and TYPESAFE_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does astria run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as astria-docs at 1.0.0.

How current is this page?

The grade is for one exact copy of the source (bb0e650abb83), read on 2026-10-11. The repository is watched and re-audited when it changes.

Advertisement