
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.
aotrust-protocol
Advanced tools
Asyncio-native Python SDK for the AOTrust Notary API — cryptographic proof-of-existence for AI agent outputs.
pip install aotrust-protocol
import asyncio
from agent_notary import NotaryClient, NotarizeRequest
async def main():
client = NotaryClient(
api_key="your-api-key",
base_url="https://api.aotrust.link/v1"
)
# Submit notarization
req = NotarizeRequest(
tx_hash="EzrfDW5b...",
work_hash="599d6999...",
agent_sig="base64_sig_A...",
agent_pubkey="aff91a18...",
)
result = await client.notarize(req)
print(f"Job: {result.job_id}")
# Poll for PDR
status = await client.wait_for_pdr(result.job_id, timeout=60)
if status.is_anchored:
pdr = await client.get_pdr(result.job_id)
assert pdr.verify(client.notary_pubkey)
print("PDR Valid: YES")
asyncio.run(main())
| Env Var | Constructor Arg | Description |
|---|---|---|
NOTARY_API_KEY | api_key | API key for auth |
NOTARY_API_URL | base_url | API base URL |
NOTARY_PUBKEY | notary_pubkey | Notary Ed25519 public key (hex) |
| Method | Path | Description |
|---|---|---|
| POST | /v1/notarize | Submit notarization |
| GET | /v1/status/{job_id} | Poll job status |
| GET | /v1/pdr/{job_id} | Get PDR |
| POST | /v1/notarize/quote | Get price quote |
| GET | /.well-known/agent.json | MCP Server Card |
| GET | /openapi.json | OpenAPI 3.0 spec |
pdr = await client.get_pdr(job_id)
is_valid = pdr.verify(notary_pubkey_hex="9c7d64bb...")
Uses NEP-413 raw-buffer verification. No SHA256 pre-hash.
from agent_notary.exceptions import NotaryAuthError, NotaryPaymentError, NotaryNotFoundError
try:
result = await client.notarize(req)
except NotaryAuthError:
print("Invalid API key")
except NotaryPaymentError as e:
print(f"Payment/sig failed: {e}")
pip install -e ".[dev]"
pytest tests/ -v
FAQs
Asyncio-native SDK for A&O Trust Layer — Agent Notary Service
We found that aotrust-protocol demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.