* fix: resolve all Dependabot security vulnerabilities
npm (package-lock.json):
- fast-xml-parser: 4.5.3 → 4.5.4 (critical entity encoding bypass + DoS)
- serialize-javascript: 6.0.2 → 7.0.4 (high RCE via RegExp/Date)
- minimatch: 3.1.2 → 3.1.5, 5.1.6 → 5.1.9, 9.0.5 → 9.0.9 (high ReDoS)
- ajv: 6.12.6 → 6.14.0, 8.17.1 → 8.18.0 (medium ReDoS with $data option)
- qs: 6.14.1 → 6.15.0 (low arrayLimit bypass DoS)
- rollup: 4.57.x → 4.59.0 in ai-sdk and openclaw integrations (high path traversal)
Python (uv.lock / pyproject.toml):
- cryptography: 46.0.3 → 46.0.5 (high subgroup attack on SECT curves)
- pillow: 12.0.0 → 12.1.1 (high out-of-bounds write in PSD loading)
- langchain-core: 1.2.7 → 1.2.17 (low SSRF in ChatOpenAI token counting)
- langsmith: 0.4.42 → 0.7.11 (medium SSRF via tracing header injection)
- protobuf: 6.33.1 → 6.33.5 (high JSON recursion depth bypass)
Rust (Cargo.lock):
- bytes: 1.11.0 → 1.11.1 in hindsight-clients/rust (medium integer overflow)
Remaining unfixable: diskcache <= 5.6.3 (no patched version available)
* fix: remove over-broad schema-utils ajv override that broke docs build
The 'schema-utils': {'ajv': '^8.18.0'} override was forcing schema-utils@3.x
(used by url-loader/file-loader with ajv-keywords@3.x) to use ajv@8.18.0.
In 8.18.0, internal property _formats was renamed to formats, breaking
ajv-keywords@3.x's _formatLimit.js which accesses ajv._formats.date.
Removing the broad override: schema-utils@4.3.3 (root level) already has
ajv@8.18.0 in its nested install from the prior npm update, while
schema-utils@3.x correctly falls back to the hoisted root ajv@6.14.0.
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[package]
|
|
name = "hindsight-client"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Hindsight Team"]
|
|
description = "Rust client library for Hindsight API - semantic memory system"
|
|
license = "MIT"
|
|
repository = "https://github.com/yourusername/hindsight"
|
|
keywords = ["api", "client", "memory", "ai"]
|
|
categories = ["api-bindings"]
|
|
|
|
[dependencies]
|
|
# Security: bytes >= 1.11.1 fixes integer overflow in BytesMut::reserve (GHSA-...)
|
|
bytes = "1.11.1"
|
|
# HTTP client
|
|
reqwest = { version = "0.12", features = ["json"] }
|
|
# Async runtime
|
|
tokio = { version = "1", features = ["full"] }
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
# Error handling
|
|
thiserror = "1.0"
|
|
# Progenitor client support
|
|
progenitor-client = "0.11"
|
|
# Additional types
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
# HTTP types
|
|
http = "1.0"
|
|
# URL handling
|
|
url = "2.5"
|
|
|
|
[dev-dependencies]
|
|
tokio-test = "0.4"
|
|
uuid = { version = "1.0", features = ["v4"] }
|
|
|
|
[build-dependencies]
|
|
progenitor = "0.11"
|
|
serde_json = "1.0"
|
|
syn = "2.0"
|
|
prettyplease = "0.2"
|
|
openapiv3 = "2.2"
|
|
regex = "1.10"
|