You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SECURITY] Audit logs writable by sandbox user — agent can modify its own audit trail #799
NemoClaw sandbox logs are accessible via nemoclaw <name> logs. However, the log files reside within the sandbox's writable filesystem. The agent (or a compromised agent) can:
Modify log entries to hide malicious actions
Delete log files entirely
Inject false log entries to create misleading audit trails
Impact
For enterprise deployments requiring compliance (SOC 2, ISO 27001, HIPAA), audit logs must be:
Append-only: entries cannot be modified after writing
Agent-proof: the agent cannot access or modify the log store
Tamper-evident: modifications are detectable
Current implementation satisfies none of these requirements.
Proposed Design
Separate log store: Write audit events to a location outside the sandbox's writable filesystem (e.g., OpenShell host-level log collector)
Append-only enforcement: Use chattr +a on log files or write to a dedicated append-only volume
Cryptographic chaining: Each log entry includes a hash of the previous entry, creating a tamper-evident chain:
✨ Thanks for submitting this issue with a detailed explanation, it addresses a security concern that could compromise the integrity of the audit trail, which could improve the security of NemoClaw.
Thanks for the detailed security report, @h-network.
We reviewed this with the team, and the core concern is valid: sandbox-local logs that an agent can modify should not be treated as authoritative security or audit evidence.
After discussing the implementation options, we’ve decided not to pursue the local log-hardening path for this issue. Making sandbox-local logs agent-proof adds a lot of filesystem, startup, and policy complexity, and still leaves awkward edge cases around treating local sandbox state as a security boundary.
Instead, we’re going to focus this area on telemetry: the authoritative security/audit signal should come from a telemetry path outside the agent’s write surface, rather than relying on sandbox-local logs as the source of truth.
Closing this QA blocker as not planned for the local audit-log hardening approach. Thanks again for raising it — this helped clarify the right product direction.
Activity
wscurran commentedon Mar 25, 2026
✨ Thanks for submitting this issue with a detailed explanation, it addresses a security concern that could compromise the integrity of the audit trail, which could improve the security of NemoClaw.
Possibly related open PRs:
#871 security: enforce process limit to prevent fork bombs in sandbox,
#654 harden sandbox against agent config tampering (defense-in-depth),
#611 security: remove telegram and discord from baseline sandbox policy
fix(security): add tamper-evident hash chain to audit logs (NVIDIA#799)
fix(sandbox): harden proxy-env.sh permissions to prevent sandbox write (
wscurran commentedon Jun 3, 2026
Thanks for the detailed security report, @h-network.
We reviewed this with the team, and the core concern is valid: sandbox-local logs that an agent can modify should not be treated as authoritative security or audit evidence.
After discussing the implementation options, we’ve decided not to pursue the local log-hardening path for this issue. Making sandbox-local logs agent-proof adds a lot of filesystem, startup, and policy complexity, and still leaves awkward edge cases around treating local sandbox state as a security boundary.
Instead, we’re going to focus this area on telemetry: the authoritative security/audit signal should come from a telemetry path outside the agent’s write surface, rather than relying on sandbox-local logs as the source of truth.
Closing this QA blocker as not planned for the local audit-log hardening approach. Thanks again for raising it — this helped clarify the right product direction.