Silex Archaeology MCP Server

silex-archaeology PyPI v0.12.0

Published by silex-tec — no publish provenance, so origin is unverified, but the source is public: the repository link below is self-declared yet readable, so you can inspect the code before adopting it.

Evidence-backed, local-first MCP server that reconstructs architecture, workflows and business rules from your codebase for AI coding agents.

Trust grade
C
78/100
Last scanned get badge →
Trust
C · 78/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
C Why this grade threat 85 − adoption risk = 78/100

The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.

1. Threat score — 100 − 15.4 = 85. What the published surface and source actually contain:

PointsWhat was foundCategory
−15.4 Unsafe deserialization ×10 MTC-SRC-007 permissions

2. Client adoption risk — 85 − 7 = 78. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:

PointsAdoption-risk factor
−6 capability blast radius (high) — client exposure if the model is manipulated
−1 publisher verification (public source) — no provenance, but the source is public and inspectable

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind a deduction.

Findings 23

high Shell/command execution in server code (extractors/emitters/materialize.py)MTC-SRC-002

In the server's implementation (`extractors/emitters/materialize.py:91`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: out = subprocess.run( ["git", *args], capture_output=True, text=Tr

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server extractors/emitters/materialize.py

high Shell/command execution in server code (extractors/metrics/provenance_report.py)MTC-SRC-002

In the server's implementation (`extractors/metrics/provenance_report.py:93`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: str) -> str: out = subprocess.run( ["git", *args], cwd=str(repo_root), capture_output=True,

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server extractors/metrics/provenance_report.py

high Shell/command execution in server code (extractors/phase2_derived/risk_marker.py)MTC-SRC-002

In the server's implementation (`extractors/phase2_derived/risk_marker.py:211`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: result = subprocess.run( ["git", "blame", "-L", f"{line},{line}", "--porcelain", "--", file],

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server extractors/phase2_derived/risk_marker.py

high Shell/command execution in server code (extractors/phase5_narrative/operations_builder.py)MTC-SRC-002

In the server's implementation (`extractors/phase5_narrative/operations_builder.py:977`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: out = subprocess.check_output( ["grep", "-rln", "--include=*.cs", f"\

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server extractors/phase5_narrative/operations_builder.py

high Shell/command execution in server code (extractors/runtime/package_merge.py)MTC-SRC-002

In the server's implementation (`extractors/runtime/package_merge.py:178`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: out = subprocess.run( ["git", "merge-base", "--is-ancestor", ancestor, descendant],

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server extractors/runtime/package_merge.py

high Shell/command execution in server code (extractors/runtime/run_manifest.py)MTC-SRC-002

In the server's implementation (`extractors/runtime/run_manifest.py:225`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: out = subprocess.run( ["git", *args], capture_output=True, text=Tr

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server extractors/runtime/run_manifest.py

high Shell/command execution in server code (fresh/hook.py)MTC-SRC-002

In the server's implementation (`fresh/hook.py:50`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: dProcess.""" return subprocess.run( ["git", *args], cwd=cwd, capture_output=True, te

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server fresh/hook.py

high Shell/command execution in server code (fresh/hook_install.py)MTC-SRC-002

In the server's implementation (`fresh/hook_install.py:46`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: str) -> str: proc = subprocess.run( ["git", "rev-parse", "--show-toplevel"], cwd=cwd, captur

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server fresh/hook_install.py

high Shell/command execution in server code (ingestao/detectors/clear_and_reingest.py)MTC-SRC-002

In the server's implementation (`ingestao/detectors/clear_and_reingest.py:21`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: return False r = subprocess.run([sys.executable, path], cwd=SCRIPT_DIR) return r.returncode == 0 def main():

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ingestao/detectors/clear_and_reingest.py

high Shell/command execution in server code (ingestao/vendor_filter.py)MTC-SRC-002

In the server's implementation (`ingestao/vendor_filter.py:402`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: result = subprocess.run( ["git", "log", "--oneline", "--follow", "--", rel_path],

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ingestao/vendor_filter.py

medium Untrusted input can drive an external actionMTC-FLOW-005

Untrusted-input tools ([get_rules_by_ids]) co-exist with external-action tools ([silex_export_materialized]). A prompt injection could cause unwanted external actions, though no direct sensitive-data leak path was found.

Evidence: untrusted [get_rules_by_ids] → sinks [silex_export_materialized]

Fix: Require confirmation for state-changing/egress actions triggered after processing untrusted content.

Location: flow get_rules_by_ids → silex_export_materialized

medium Hardcoded egress to an external endpoint (ingestao/silex_interativo.py)MTC-SRC-003

In the server's implementation (`ingestao/silex_interativo.py:36`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: } r = requests.post("http://172.17.0.1:11434/api/generate", json=payload, stream=True) pri

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ingestao/silex_interativo.py

medium Hardcoded egress to an external endpoint (ui_archaeology.py)MTC-SRC-003

In the server's implementation (`ui_archaeology.py:1829`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: rf_counter() resp = requests.post( "https://openrouter.ai/api/v1/chat/completions", headers={

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ui_archaeology.py

medium Unsafe deserialization (ingestao/arqueologia_recruta.py)MTC-SRC-007

In the server's implementation (`ingestao/arqueologia_recruta.py:61`): Deserializing untrusted data with these APIs can execute arbitrary code (a well-known RCE gadget class). This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ') as f: data = pickle.load(f) index = data['index'] documents = data['documents'] model = S

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ingestao/arqueologia_recruta.py

medium Unsafe deserialization (ingestao/fase0_export_fragmentos_from_pickle.py)MTC-SRC-007

In the server's implementation (`ingestao/fase0_export_fragmentos_from_pickle.py:23`): Deserializing untrusted data with these APIs can execute arbitrary code (a well-known RCE gadget class). This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ') as f: data = pickle.load(f) documents = data.get('documents', []) if not documents: print("[!

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ingestao/fase0_export_fragmentos_from_pickle.py

medium Unsafe deserialization (ingestao/fase0_inspect_pickle.py)MTC-SRC-007

In the server's implementation (`ingestao/fase0_inspect_pickle.py:25`): Deserializing untrusted data with these APIs can execute arbitrary code (a well-known RCE gadget class). This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ') as f: data = pickle.load(f) print("data.keys():", list(data.keys())) if 'documents' in data and data[

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ingestao/fase0_inspect_pickle.py

medium Unsafe deserialization (ingestao/formula/auditoria_agnostica.py)MTC-SRC-007

In the server's implementation (`ingestao/formula/auditoria_agnostica.py:8`): Deserializing untrusted data with these APIs can execute arbitrary code (a well-known RCE gadget class). This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: s f: data = pickle.load(f) documentos = data['documents'] # Assume que os vetores es

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ingestao/formula/auditoria_agnostica.py

medium Unsafe deserialization (ingestao/formula/auditoria_regras.py)MTC-SRC-007

In the server's implementation (`ingestao/formula/auditoria_regras.py:7`): Deserializing untrusted data with these APIs can execute arbitrary code (a well-known RCE gadget class). This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: s f: data = pickle.load(f) vetores = data['vectors'] documentos = data['documents']

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ingestao/formula/auditoria_regras.py

medium Unsafe deserialization (ingestao/formulas/analisador_lacuna_agnostico.py)MTC-SRC-007

In the server's implementation (`ingestao/formulas/analisador_lacuna_agnostico.py:10`): Deserializing untrusted data with these APIs can execute arbitrary code (a well-known RCE gadget class). This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ') as f: return pickle.load(f)['documents'] def aplicar_equacao_silex(): print("[*] Extraindo Lacunas Semân

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ingestao/formulas/analisador_lacuna_agnostico.py

medium Unsafe deserialization (ingestao/formulas/ask_recruta.py)MTC-SRC-007

In the server's implementation (`ingestao/formulas/ask_recruta.py:15`): Deserializing untrusted data with these APIs can execute arbitrary code (a well-known RCE gadget class). This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: 'rb') as f: data = pickle.load(f) index = data['index'] documents = data['documents'] driver = GraphDatabas

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ingestao/formulas/ask_recruta.py

medium Unsafe deserialization (ingestao/formulas/buscador_bruto.py)MTC-SRC-007

In the server's implementation (`ingestao/formulas/buscador_bruto.py:12`): Deserializing untrusted data with these APIs can execute arbitrary code (a well-known RCE gadget class). This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: 'rb') as f: data = pickle.load(f) vector_index = data['index'] documents = data['documents'] def query_sil

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ingestao/formulas/buscador_bruto.py

medium Unsafe deserialization (ingestao/formulas/buscador_principal.py)MTC-SRC-007

In the server's implementation (`ingestao/formulas/buscador_principal.py:12`): Deserializing untrusted data with these APIs can execute arbitrary code (a well-known RCE gadget class). This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: 'rb') as f: data = pickle.load(f) vector_index = data['index'] documents = data['documents'] def query_sil

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ingestao/formulas/buscador_principal.py

medium Unsafe deserialization (ingestao/formulas/buscador_sniper.py)MTC-SRC-007

In the server's implementation (`ingestao/formulas/buscador_sniper.py:12`): Deserializing untrusted data with these APIs can execute arbitrary code (a well-known RCE gadget class). This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: 'rb') as f: data = pickle.load(f) vector_index = data['index'] documents = data['documents'] def query_sil

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server ingestao/formulas/buscador_sniper.py

Tools 116

Each tool and what it can reach — statically extracted from the published source.

  • get_rules_by_idsingests untrusted input
  • silex_export_materializednetwork egress
  • create_workspaceno sensitive capability
  • discover_entity_candidatesno sensitive capability
  • discover_featuresno sensitive capability
  • discover_workflowsno sensitive capability
  • generate_domain_jsonsno sensitive capability
  • generate_domain_reportno sensitive capability
  • get_bridgesno sensitive capability
  • get_class_referencesno sensitive capability
Show 106 more tools ↓
  • get_code_communitiesno sensitive capability
  • get_communitiesno sensitive capability
  • get_domain_mapno sensitive capability
  • get_field_graph_summaryno sensitive capability
  • get_field_operationsno sensitive capability
  • get_operation_detailno sensitive capability
  • get_operation_fieldsno sensitive capability
  • get_operation_workflow_contextno sensitive capability
  • get_published_domainno sensitive capability
  • get_state_machinesno sensitive capability
  • get_structural_findingsno sensitive capability
  • get_workflows_for_operationno sensitive capability
  • get_workspace_statsno sensitive capability
  • ingest_field_graphno sensitive capability
  • invalidate_pathsno sensitive capability
  • label_communitiesno sensitive capability
  • list_extractorsno sensitive capability
  • list_pending_reviewsno sensitive capability
  • list_unresolved_field_referencesno sensitive capability
  • list_workspacesno sensitive capability
  • publish_domainno sensitive capability
  • rescan_workspaceno sensitive capability
  • review_artifactno sensitive capability
  • run_extractorno sensitive capability
  • search_code_semanticno sensitive capability
  • silex.business_logic.submitno sensitive capability
  • silex.business_mermaid.runno sensitive capability
  • silex.business_mermaid.statusno sensitive capability
  • silex.code_decision.community_storyno sensitive capability
  • silex.code_decision.context_packno sensitive capability
  • silex.code_decision.file_storyno sensitive capability
  • silex.code_decision.symbol_storyno sensitive capability
  • silex.code_symbol.searchno sensitive capability
  • silex.communities.statusno sensitive capability
  • silex.community.code_packno sensitive capability
  • silex.community.label_submitno sensitive capability
  • silex.contract.fact.generateno sensitive capability
  • silex.contract.goal.getno sensitive capability
  • silex.contract.goal.listno sensitive capability
  • silex.contract.goal.upsertno sensitive capability
  • silex.contract.ledger.correctno sensitive capability
  • silex.contract.ledger.generate_batchno sensitive capability
  • silex.contract.ledger.list_proposedno sensitive capability
  • silex.contract.ledger.promoteno sensitive capability
  • silex.contract.ledger.proposeno sensitive capability
  • silex.contract.ledger.rejectno sensitive capability
  • silex.contract.searchno sensitive capability
  • silex.curation.budgetno sensitive capability
  • silex.curation.community_natureno sensitive capability
  • silex.entity.packno sensitive capability
  • silex.extractors.describeno sensitive capability
  • silex.extractors.get_outputno sensitive capability
  • silex.extractors.listno sensitive capability
  • silex.extractors.runno sensitive capability
  • silex.extractors.run_batchno sensitive capability
  • silex.extractors.validate_outputno sensitive capability
  • silex.feedback.investigate_ruleno sensitive capability
  • silex.feedback.list_extractor_gapsno sensitive capability
  • silex.feedback.report_extractor_gapno sensitive capability
  • silex.fsm_evidence.build_transitions_offlineno sensitive capability
  • silex.fsm_evidence.inspectno sensitive capability
  • silex.fsm_evidence.runno sensitive capability
  • silex.llm_provider.statusno sensitive capability
  • silex.packages.getno sensitive capability
  • silex.packages.listno sensitive capability
  • silex.packages.mergeno sensitive capability
  • silex.packages.runno sensitive capability
  • silex.phase5_narrative.runno sensitive capability
  • silex.phase5_narrative.statusno sensitive capability
  • silex.pipeline_run.artifactsno sensitive capability
  • silex.pipeline_run.createno sensitive capability
  • silex.pipeline_run.getno sensitive capability
  • silex.pipeline_run.listno sensitive capability
  • silex.pipeline_run.resumeno sensitive capability
  • silex.pipeline_run.statusno sensitive capability
  • silex.product_surface.diagnoseno sensitive capability
  • silex.qdrant_gate.diagnoseno sensitive capability
  • silex.qdrant_gate.runno sensitive capability
  • silex.refactoring.crosscuttingno sensitive capability
  • silex.review.surface_statusno sensitive capability
  • silex.roadmap.scoreno sensitive capability
  • silex.runner.arch_findingsno sensitive capability
  • silex.runner.claimno sensitive capability
  • silex.runner.comment_gateno sensitive capability
  • silex.runner.enqueueno sensitive capability
  • silex.runner.governanceno sensitive capability
  • silex.runner.manifestno sensitive capability
  • silex.runner.merge_readyno sensitive capability
  • silex.runner.planno sensitive capability
  • silex.runner.queueno sensitive capability
  • silex.runner.set_blockedno sensitive capability
  • silex.runner.set_doneno sensitive capability
  • silex.runner.statusno sensitive capability
  • silex.state_review.applyno sensitive capability
  • silex.state_review.get_nextno sensitive capability
  • silex.state_review.list_pendingno sensitive capability
  • silex.state_review.list_targetsno sensitive capability
  • silex.state_review.summaryno sensitive capability
  • silex.tool_surface.describeno sensitive capability
  • silex.tool_surface.listno sensitive capability
  • silex.transition_review.applyno sensitive capability
  • silex.transition_review.get_nextno sensitive capability
  • silex.transition_review.list_pendingno sensitive capability
  • silex.transition_review.list_targetsno sensitive capability
  • silex.transition_review.summaryno sensitive capability
  • validate_domain_jsonsno sensitive capability

Toxic flows 1

Cross-tool combinations that form a data-exfiltration primitive (untrusted input → sensitive source → external sink).

What this scan could not see

Versions 3

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v0.12.0 latest C 78/100 23 1.13.0 2026-09-07
v0.11.42 C 78/100 23 1.13.0 2026-08-30
v0.11.39 C 78/100 23 1.13.0 2026-08-25

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: C · 78/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/silex-archaeology/badge.svg)](https://mcptrustchecker.com/registry/silex-archaeology)
HTML
<a href="https://mcptrustchecker.com/registry/silex-archaeology"><img src="https://mcptrustchecker.com/registry/silex-archaeology/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/silex-archaeology/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan silex-archaeology --online --registry pypi

Use the free API → How scoring works

More in Developer Tools