Scan Report
5 /100
lucid-skill
AI-native data analysis skill. Connect Excel/CSV/MySQL/PostgreSQL, understand business semantics, query with natural language.
Legitimate AI-native data analysis skill with proper security controls including SQL safety whitelisting, credential stripping, and read-only query enforcement.
Safe to install
This skill is safe to use. No security concerns identified.
Findings 1 items
| Severity | Finding | Location |
|---|---|---|
| Low | Loose dependency version constraints Supply Chain | pyproject.toml:18 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | READ | READ | ✓ Aligned | User-provided CSV/Excel files only, stored in ~/.lucid-skill/ |
| Network | READ | READ | ✓ Aligned | Downloads ~460MB embedding model from HuggingFace (declared in SKILL.md) |
| Shell | NONE | NONE | — | No subprocess or os.system calls found |
| Environment | READ | READ | ✓ Aligned | Reads LUCID_DATA_DIR and LUCID_EMBEDDING_ENABLED only |
| Skill Invoke | ADMIN | ADMIN | ✓ Aligned | Full MCP tool access (connect, query, search, etc.) |
| Database | READ | READ | ✓ Aligned | MySQL/PostgreSQL connections for schema discovery and SELECT queries only |
File Tree
63 files · 227.2 KB · 6647 lines Python 45f · 5544L
Markdown 7f · 791L
CSV 9f · 191L
YAML 1f · 89L
TOML 1f · 32L
├─
▾
lucid_skill
│ ├─
▾
catalog
│ │ ├─
__init__.py
Python
│ │ ├─
profiler.py
Python
│ │ ├─
schema.py
Python
│ │ └─
store.py
Python
│ ├─
▾
connectors
│ │ ├─
__init__.py
Python
│ │ ├─
base.py
Python
│ │ ├─
csv_conn.py
Python
│ │ ├─
excel_conn.py
Python
│ │ ├─
mysql_conn.py
Python
│ │ └─
postgres_conn.py
Python
│ ├─
▾
discovery
│ │ ├─
__init__.py
Python
│ │ ├─
domains.py
Python
│ │ └─
joins.py
Python
│ ├─
▾
query
│ │ ├─
__init__.py
Python
│ │ ├─
engine.py
Python
│ │ ├─
formatter.py
Python
│ │ ├─
router.py
Python
│ │ └─
safety.py
Python
│ ├─
▾
semantic
│ │ ├─
__init__.py
Python
│ │ ├─
embedder.py
Python
│ │ ├─
hybrid.py
Python
│ │ ├─
index.py
Python
│ │ ├─
layer.py
Python
│ │ └─
search.py
Python
│ ├─
▾
tools
│ │ ├─
__init__.py
Python
│ │ ├─
connect.py
Python
│ │ ├─
describe.py
Python
│ │ ├─
discovery.py
Python
│ │ ├─
overview.py
Python
│ │ ├─
profile.py
Python
│ │ ├─
query.py
Python
│ │ ├─
search.py
Python
│ │ └─
semantic.py
Python
│ ├─
__init__.py
Python
│ ├─
__main__.py
Python
│ ├─
cli.py
Python
│ ├─
config.py
Python
│ ├─
server.py
Python
│ ├─
startup.py
Python
│ └─
types.py
Python
├─
▾
references
│ ├─
commands.md
Markdown
│ ├─
json-schema.md
Markdown
│ └─
workflow.md
Markdown
├─
▾
semantic_store
│ └─
▾
csv_orders_csv
│ └─
orders.yaml
YAML
├─
▾
tests
│ ├─
▾
datasets
│ │ ├─
▾
cross-source-a
│ │ │ └─
shop_orders.csv
CSV
│ │ ├─
▾
cross-source-b
│ │ │ └─
shop_customers.csv
CSV
│ │ ├─
▾
ecommerce
│ │ │ ├─
customers.csv
CSV
│ │ │ ├─
order_items.csv
CSV
│ │ │ ├─
orders.csv
CSV
│ │ │ └─
products.csv
CSV
│ │ ├─
▾
hr
│ │ │ ├─
departments.csv
CSV
│ │ │ └─
employees.csv
CSV
│ │ ├─
▾
superstore
│ │ │ └─
orders.csv
CSV
│ │ └─
README.md
Markdown
│ ├─
test_catalog.py
Python
│ ├─
test_config.py
Python
│ ├─
test_csv_connect.py
Python
│ ├─
test_engine.py
Python
│ └─
test_safety.py
Python
├─
CLAUDE.md
Markdown
├─
pyproject.toml
TOML
├─
README.md
Markdown
└─
SKILL.md
Markdown
Dependencies 7 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
duckdb | >=1.0 | pip | No | Minimum version specified |
click | >=8.0 | pip | No | Minimum version specified |
pyyaml | >=6.0 | pip | No | Minimum version specified |
mcp | >=1.0 | pip | No | Minimum version specified |
psycopg2-binary | unpinned | pip[db] | No | Optional dependency |
mysql-connector-python | unpinned | pip[db] | No | Optional dependency |
sentence-transformers | unpinned | pip[embedding] | No | Optional dependency |
Security Positives
✓ SQL safety checker uses whitelist approach - only SELECT/WITH allowed
✓ Credentials explicitly stripped before persistence (store.py:upsert_source)
✓ No shell execution or subprocess calls found
✓ No credential harvesting or exfiltration to external IPs
✓ No obfuscation or base64-encoded payloads
✓ Read-only queries enforced - INSERT/UPDATE/DELETE/DROP blocked
✓ Comprehensive test coverage for safety checker
✓ MIT licensed open source with transparent implementation
✓ DuckDB used for both catalog storage and query engine (sandboxed)