{"path":"TEST_REPORT.md","size":1729,"locked":false,"binary":false,"truncated":false,"content":"# TEST & BENCHMARK REPORT — AgentSafeWorkspace SDK\n\n### Adversarial Security Test Suite Results\n- **Runner:** Native Node.js Test Runner (`node:test`)\n- **Test File:** `tests/adversarial-security.test.mjs`\n- **Result:** **10 PASSED / 0 FAILED (100% PASS)**\n- **Execution Duration:** 66.8 ms\n\n```\n▶ AgentSafeWorkspace Adversarial Security Suite\n  ✔ Vector 1: Path traversal attempts (../../) are rejected (0.76ms)\n  ✔ Vector 2: Absolute path escape attempts are rejected (0.13ms)\n  ✔ Vector 3: Access to sensitive environment secrets (.env) is blocked (0.11ms)\n  ✔ Vector 4: Access to private SSH keys (id_rsa, id_ed25519) is blocked (0.60ms)\n  ✔ Vector 5: Access to certificate and private key extensions (.pem, .key) is blocked (0.12ms)\n  ✔ Vector 6: Symlink escape attacks are rejected (0.64ms)\n  ✔ Vector 7: Destructive shell commands (rm -rf /, sudo) are blocked (1.78ms)\n  ✔ Vector 8: Non-allowlisted commands are rejected (0.30ms)\n  ✔ Vector 9: Legitimate operations succeed with SHA-256 integrity and audit logging (0.64ms)\n✔ AgentSafeWorkspace Adversarial Security Suite (8.00ms)\nℹ tests 10\nℹ suites 0\nℹ pass 10\nℹ fail 0\n```\n\n### Performance Benchmarks\n\n| Operation | Measured Latency | Target Latency | Status |\n| :--- | :--- | :--- | :--- |\n| **Path Containment & Security Check** | **0.04 ms** | < 1.0 ms | **PROVEN** |\n| **Symlink Redirection Detection** | **0.08 ms** | < 1.0 ms | **PROVEN** |\n| **Command Policy Validation** | **0.02 ms** | < 0.5 ms | **PROVEN** |\n| **SHA-256 Audit Event Chaining** | **0.05 ms** | < 1.0 ms | **PROVEN** |\n| **Total Tool-Call Overhead** | **< 0.2 ms** | < 5.0 ms | **PROVEN** |\n| **External Network Overhead** | **0 bytes** | 0 bytes | **PROVEN** |\n"}