{"bundle_type":"pith_open_graph_bundle","bundle_version":"1.0","pith_number":"pith:2026:AVU7VU5ZLAEBPBVGCVRWBOJP7V","short_pith_number":"pith:AVU7VU5Z","canonical_record":{"source":{"id":"2603.00991","kind":"arxiv","version":2},"metadata":{"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.AI","submitted_at":"2026-03-01T08:39:37Z","cross_cats_sorted":["cs.PL"],"title_canon_sha256":"ca75e8f7641b32cc65ca0d137e97b5f5ef576666ac7f35c8594d1436fd6d9d1c","abstract_canon_sha256":"266cf315043be1b306a934dbec5f5a625482f53b76e632685de57b404af56204"},"schema_version":"1.0"},"canonical_sha256":"0569fad3b958081786a6156360b92ffd653d665f55c9c5b981f241537db931be","source":{"kind":"arxiv","id":"2603.00991","version":2},"source_aliases":[{"alias_kind":"arxiv","alias_value":"2603.00991","created_at":"2026-05-29T01:05:06Z"},{"alias_kind":"arxiv_version","alias_value":"2603.00991v2","created_at":"2026-05-29T01:05:06Z"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.2603.00991","created_at":"2026-05-29T01:05:06Z"},{"alias_kind":"pith_short_12","alias_value":"AVU7VU5ZLAEB","created_at":"2026-05-29T01:05:06Z"},{"alias_kind":"pith_short_16","alias_value":"AVU7VU5ZLAEBPBVG","created_at":"2026-05-29T01:05:06Z"},{"alias_kind":"pith_short_8","alias_value":"AVU7VU5Z","created_at":"2026-05-29T01:05:06Z"}],"events":[{"event_type":"record_created","subject_pith_number":"pith:2026:AVU7VU5ZLAEBPBVGCVRWBOJP7V","target":"record","payload":{"canonical_record":{"source":{"id":"2603.00991","kind":"arxiv","version":2},"metadata":{"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.AI","submitted_at":"2026-03-01T08:39:37Z","cross_cats_sorted":["cs.PL"],"title_canon_sha256":"ca75e8f7641b32cc65ca0d137e97b5f5ef576666ac7f35c8594d1436fd6d9d1c","abstract_canon_sha256":"266cf315043be1b306a934dbec5f5a625482f53b76e632685de57b404af56204"},"schema_version":"1.0"},"canonical_sha256":"0569fad3b958081786a6156360b92ffd653d665f55c9c5b981f241537db931be","receipt":{"kind":"pith_receipt","key_id":"pith-v1-2026-05","algorithm":"ed25519","signed_at":"2026-05-29T01:05:06.003686Z","signature_b64":"QQ04qj+VijgQBGhG+chorKTZqPjw989AaB098dQsXZrZywyvp8+fpMbxOFRxkDFYJTW96darEVx9W4BmO6c6AA==","signed_message":"canonical_sha256_bytes","builder_version":"pith-number-builder-2026-05-17-v1","receipt_version":"0.3","canonical_sha256":"0569fad3b958081786a6156360b92ffd653d665f55c9c5b981f241537db931be","last_reissued_at":"2026-05-29T01:05:06.002593Z","signature_status":"signed_v1","first_computed_at":"2026-05-29T01:05:06.002593Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"source_kind":"arxiv","source_id":"2603.00991","source_version":2,"attestation_state":"computed"},"signer":{"signer_id":"pith.science","signer_type":"pith_registry","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"created_at":"2026-05-29T01:05:06Z","supersedes":[],"prev_event":null,"signature":{"signature_status":"signed_v1","algorithm":"ed25519","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signature_b64":"TWDOPAPy6VZ6YC5S5MFfY46saX6ZmM/IWkk8h+n7za6XVnbbtqkmBH7EhRRxmWkXW9/SQ8daSSfWvES1vfvJDQ==","signed_message":"open_graph_event_sha256_bytes","signed_at":"2026-06-03T21:45:34.450052Z"},"content_sha256":"a0631cc6315c6833e297758f3a5d4179708eed7d0812c90c11ed61ff62d76655","schema_version":"1.0","event_id":"sha256:a0631cc6315c6833e297758f3a5d4179708eed7d0812c90c11ed61ff62d76655"},{"event_type":"graph_snapshot","subject_pith_number":"pith:2026:AVU7VU5ZLAEBPBVGCVRWBOJP7V","target":"graph","payload":{"graph_snapshot":{"paper":{"title":"Tracking Capabilities for Safer Agents","license":"http://creativecommons.org/licenses/by/4.0/","headline":"AI agents can generate capability-safe code with no significant loss in task performance while the type system blocks leaks and side effects.","cross_cats":["cs.PL"],"primary_cat":"cs.AI","authors_text":"Cao Nguyen Pham, Martin Odersky, Oliver Bra\\v{c}evac, Yaoyu Zhao, Yichen Xu","submitted_at":"2026-03-01T08:39:37Z","abstract_excerpt":"AI agents that interact with the real world through tool calls pose fundamental safety challenges: agents might leak private information, cause unintended side effects, or be manipulated through prompt injection. To address these challenges, we propose to put the agent in a programming-language-based \"safety harness\": instead of calling tools directly, agents express their intentions as code in a capability-safe language: Scala 3 with capture checking. Capabilities are program variables that regulate access to effects and resources of interest. Scala's type system tracks capabilities staticall"},"claims":{"count":4,"items":[{"kind":"strongest_claim","text":"Our experiments show that agents can generate capability-safe code with no significant loss in task performance, while the type system reliably prevents unsafe behaviors such as information leakage and malicious side effects.","source":"verdict.strongest_claim","status":"machine_extracted","claim_id":"C1","attestation":"unclaimed"},{"kind":"weakest_assumption","text":"That large language models can reliably produce correct, well-typed capability-safe Scala code for arbitrary tasks and that the capture-checking system covers all relevant safety properties for real-world tool use.","source":"verdict.weakest_assumption","status":"machine_extracted","claim_id":"C2","attestation":"unclaimed"},{"kind":"one_line_summary","text":"AI agents can generate code in a capability-safe Scala dialect that statically prevents information leakage and malicious side effects while preserving task performance.","source":"verdict.one_line_summary","status":"machine_extracted","claim_id":"C3","attestation":"unclaimed"},{"kind":"headline","text":"AI agents can generate capability-safe code with no significant loss in task performance while the type system blocks leaks and side effects.","source":"verdict.pith_extraction.headline","status":"machine_extracted","claim_id":"C4","attestation":"unclaimed"}],"snapshot_sha256":"6e208500aed47fdce7d628df7fe59c8a5cb56a469e82e0503052603ccf98c057"},"source":{"id":"2603.00991","kind":"arxiv","version":2},"verdict":{"id":"3e56d15c-2814-4102-9310-ff6a21cc77b6","model_set":{"reader":"grok-4.3"},"created_at":"2026-05-15T18:28:22.252763Z","strongest_claim":"Our experiments show that agents can generate capability-safe code with no significant loss in task performance, while the type system reliably prevents unsafe behaviors such as information leakage and malicious side effects.","one_line_summary":"AI agents can generate code in a capability-safe Scala dialect that statically prevents information leakage and malicious side effects while preserving task performance.","pipeline_version":"pith-pipeline@v0.9.0","weakest_assumption":"That large language models can reliably produce correct, well-typed capability-safe Scala code for arbitrary tasks and that the capture-checking system covers all relevant safety properties for real-world tool use.","pith_extraction_headline":"AI agents can generate capability-safe code with no significant loss in task performance while the type system blocks leaks and side effects."},"integrity":{"clean":true,"summary":{"advisory":0,"critical":0,"by_detector":{},"informational":0},"endpoint":"/pith/2603.00991/integrity.json","findings":[],"available":true,"detectors_run":[],"snapshot_sha256":"c28c3603d3b5d939e8dc4c7e95fa8dfce3d595e45f758748cecf8e644a296938"},"references":{"count":86,"sample":[{"doi":"","year":2025,"title":"Amazon Web Services. 2025. Bedrock AgentCore policy. Accessed: 2025-06-01. https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/policy.htm l (cit. on p. 8)","work_id":"b71d8ceb-53b3-4192-915f-565dddd6d58d","ref_index":1,"cited_arxiv_id":"","is_internal_anchor":false},{"doi":"","year":2024,"title":"Amazon Web Services. 2024. Cedar policy language. Accessed: 2025-06-01. https://www.cedarpolicy.com/ (cit. on p. 8)","work_id":"7abc0276-b639-4d05-b542-82c4e8b298b8","ref_index":2,"cited_arxiv_id":"","is_internal_anchor":false},{"doi":"","year":null,"title":"Nada Amin, Samuel Grütter, Martin Odersky, Tiark Rompf, and Sandro Stucki","work_id":"629297b0-1156-4df8-abe8-4f28d9e087e2","ref_index":3,"cited_arxiv_id":"","is_internal_anchor":false},{"doi":"10.1007/978-3-319-30936-1_14","year":null,"title":"InA List of Successes That Can Change the World(Lecture Notes in Computer Science)","work_id":"5c49c691-648b-4cec-a23b-0d93d2e3180f","ref_index":4,"cited_arxiv_id":"","is_internal_anchor":false},{"doi":"","year":2016,"title":"Concrete Problems in AI Safety","work_id":"c8d14fbe-6eab-464a-95b3-778aabd82fa3","ref_index":5,"cited_arxiv_id":"1606.06565","is_internal_anchor":true}],"resolved_work":86,"snapshot_sha256":"c6dce866aa7b6e697ae532916fd7847b1e399d79e0d098d90bdbd1c69e6e8064","internal_anchors":15},"formal_canon":{"evidence_count":2,"snapshot_sha256":"0568ba6fd24d1739ebce857bc66776f56a1380f103fd2964da428dbe3c240c8a"},"author_claims":{"count":0,"strong_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"builder_version":"pith-number-builder-2026-05-17-v1"},"verdict_id":"3e56d15c-2814-4102-9310-ff6a21cc77b6"},"signer":{"signer_id":"pith.science","signer_type":"pith_registry","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"created_at":"2026-05-29T01:05:06Z","supersedes":[],"prev_event":null,"signature":{"signature_status":"signed_v1","algorithm":"ed25519","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signature_b64":"kuLkX8Hw3NzlNZEOzhg5hxusOkYFV52NXgzPTqOFPRVtei9/tyhvyGIIj6fJjkmqubOe+ZKb5slQ8UZEvzaNBA==","signed_message":"open_graph_event_sha256_bytes","signed_at":"2026-06-03T21:45:34.450647Z"},"content_sha256":"0a5d2e2cb1b9a4812e00b68e5475e85875135b89139fde264656447a8c5978b4","schema_version":"1.0","event_id":"sha256:0a5d2e2cb1b9a4812e00b68e5475e85875135b89139fde264656447a8c5978b4"}],"timestamp_proofs":[],"mirror_hints":[{"mirror_type":"https","name":"Pith Resolver","base_url":"https://pith.science","bundle_url":"https://pith.science/pith/AVU7VU5ZLAEBPBVGCVRWBOJP7V/bundle.json","state_url":"https://pith.science/pith/AVU7VU5ZLAEBPBVGCVRWBOJP7V/state.json","well_known_bundle_url":"https://pith.science/.well-known/pith/AVU7VU5ZLAEBPBVGCVRWBOJP7V/bundle.json","status":"primary"}],"public_keys":[{"key_id":"pith-v1-2026-05","algorithm":"ed25519","format":"raw","public_key_b64":"stVStoiQhXFxp4s2pdzPNoqVNBMojDU/fJ2db5S3CbM=","public_key_hex":"b2d552b68890857171a78b36a5dccf368a953413288c353f7c9d9d6f94b709b3","fingerprint_sha256_b32_first128bits":"RVFV5Z2OI2J3ZUO7ERDEBCYNKS","fingerprint_sha256_hex":"8d4b5ee74e4693bcd1df2446408b0d54","rotates_at":null,"url":"https://pith.science/pith-signing-key.json","notes":"Pith uses this Ed25519 key to sign canonical record SHA-256 digests. Verify with: ed25519_verify(public_key, message=canonical_sha256_bytes, signature=base64decode(signature_b64))."}],"merge_version":"pith-open-graph-merge-v1","built_at":"2026-06-03T21:45:34Z","links":{"resolver":"https://pith.science/pith/AVU7VU5ZLAEBPBVGCVRWBOJP7V","bundle":"https://pith.science/pith/AVU7VU5ZLAEBPBVGCVRWBOJP7V/bundle.json","state":"https://pith.science/pith/AVU7VU5ZLAEBPBVGCVRWBOJP7V/state.json","well_known_bundle":"https://pith.science/.well-known/pith/AVU7VU5ZLAEBPBVGCVRWBOJP7V/bundle.json"},"state":{"state_type":"pith_open_graph_state","state_version":"1.0","pith_number":"pith:2026:AVU7VU5ZLAEBPBVGCVRWBOJP7V","merge_version":"pith-open-graph-merge-v1","event_count":2,"valid_event_count":2,"invalid_event_count":0,"equivocation_count":0,"current":{"canonical_record":{"metadata":{"abstract_canon_sha256":"266cf315043be1b306a934dbec5f5a625482f53b76e632685de57b404af56204","cross_cats_sorted":["cs.PL"],"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.AI","submitted_at":"2026-03-01T08:39:37Z","title_canon_sha256":"ca75e8f7641b32cc65ca0d137e97b5f5ef576666ac7f35c8594d1436fd6d9d1c"},"schema_version":"1.0","source":{"id":"2603.00991","kind":"arxiv","version":2}},"source_aliases":[{"alias_kind":"arxiv","alias_value":"2603.00991","created_at":"2026-05-29T01:05:06Z"},{"alias_kind":"arxiv_version","alias_value":"2603.00991v2","created_at":"2026-05-29T01:05:06Z"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.2603.00991","created_at":"2026-05-29T01:05:06Z"},{"alias_kind":"pith_short_12","alias_value":"AVU7VU5ZLAEB","created_at":"2026-05-29T01:05:06Z"},{"alias_kind":"pith_short_16","alias_value":"AVU7VU5ZLAEBPBVG","created_at":"2026-05-29T01:05:06Z"},{"alias_kind":"pith_short_8","alias_value":"AVU7VU5Z","created_at":"2026-05-29T01:05:06Z"}],"graph_snapshots":[{"event_id":"sha256:0a5d2e2cb1b9a4812e00b68e5475e85875135b89139fde264656447a8c5978b4","target":"graph","created_at":"2026-05-29T01:05:06Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"graph_snapshot":{"author_claims":{"count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57","strong_count":0},"builder_version":"pith-number-builder-2026-05-17-v1","claims":{"count":4,"items":[{"attestation":"unclaimed","claim_id":"C1","kind":"strongest_claim","source":"verdict.strongest_claim","status":"machine_extracted","text":"Our experiments show that agents can generate capability-safe code with no significant loss in task performance, while the type system reliably prevents unsafe behaviors such as information leakage and malicious side effects."},{"attestation":"unclaimed","claim_id":"C2","kind":"weakest_assumption","source":"verdict.weakest_assumption","status":"machine_extracted","text":"That large language models can reliably produce correct, well-typed capability-safe Scala code for arbitrary tasks and that the capture-checking system covers all relevant safety properties for real-world tool use."},{"attestation":"unclaimed","claim_id":"C3","kind":"one_line_summary","source":"verdict.one_line_summary","status":"machine_extracted","text":"AI agents can generate code in a capability-safe Scala dialect that statically prevents information leakage and malicious side effects while preserving task performance."},{"attestation":"unclaimed","claim_id":"C4","kind":"headline","source":"verdict.pith_extraction.headline","status":"machine_extracted","text":"AI agents can generate capability-safe code with no significant loss in task performance while the type system blocks leaks and side effects."}],"snapshot_sha256":"6e208500aed47fdce7d628df7fe59c8a5cb56a469e82e0503052603ccf98c057"},"formal_canon":{"evidence_count":2,"snapshot_sha256":"0568ba6fd24d1739ebce857bc66776f56a1380f103fd2964da428dbe3c240c8a"},"integrity":{"available":true,"clean":true,"detectors_run":[],"endpoint":"/pith/2603.00991/integrity.json","findings":[],"snapshot_sha256":"c28c3603d3b5d939e8dc4c7e95fa8dfce3d595e45f758748cecf8e644a296938","summary":{"advisory":0,"by_detector":{},"critical":0,"informational":0}},"paper":{"abstract_excerpt":"AI agents that interact with the real world through tool calls pose fundamental safety challenges: agents might leak private information, cause unintended side effects, or be manipulated through prompt injection. To address these challenges, we propose to put the agent in a programming-language-based \"safety harness\": instead of calling tools directly, agents express their intentions as code in a capability-safe language: Scala 3 with capture checking. Capabilities are program variables that regulate access to effects and resources of interest. Scala's type system tracks capabilities staticall","authors_text":"Cao Nguyen Pham, Martin Odersky, Oliver Bra\\v{c}evac, Yaoyu Zhao, Yichen Xu","cross_cats":["cs.PL"],"headline":"AI agents can generate capability-safe code with no significant loss in task performance while the type system blocks leaks and side effects.","license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.AI","submitted_at":"2026-03-01T08:39:37Z","title":"Tracking Capabilities for Safer Agents"},"references":{"count":86,"internal_anchors":15,"resolved_work":86,"sample":[{"cited_arxiv_id":"","doi":"","is_internal_anchor":false,"ref_index":1,"title":"Amazon Web Services. 2025. Bedrock AgentCore policy. Accessed: 2025-06-01. https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/policy.htm l (cit. on p. 8)","work_id":"b71d8ceb-53b3-4192-915f-565dddd6d58d","year":2025},{"cited_arxiv_id":"","doi":"","is_internal_anchor":false,"ref_index":2,"title":"Amazon Web Services. 2024. Cedar policy language. Accessed: 2025-06-01. https://www.cedarpolicy.com/ (cit. on p. 8)","work_id":"7abc0276-b639-4d05-b542-82c4e8b298b8","year":2024},{"cited_arxiv_id":"","doi":"","is_internal_anchor":false,"ref_index":3,"title":"Nada Amin, Samuel Grütter, Martin Odersky, Tiark Rompf, and Sandro Stucki","work_id":"629297b0-1156-4df8-abe8-4f28d9e087e2","year":null},{"cited_arxiv_id":"","doi":"10.1007/978-3-319-30936-1_14","is_internal_anchor":false,"ref_index":4,"title":"InA List of Successes That Can Change the World(Lecture Notes in Computer Science)","work_id":"5c49c691-648b-4cec-a23b-0d93d2e3180f","year":null},{"cited_arxiv_id":"1606.06565","doi":"","is_internal_anchor":true,"ref_index":5,"title":"Concrete Problems in AI Safety","work_id":"c8d14fbe-6eab-464a-95b3-778aabd82fa3","year":2016}],"snapshot_sha256":"c6dce866aa7b6e697ae532916fd7847b1e399d79e0d098d90bdbd1c69e6e8064"},"source":{"id":"2603.00991","kind":"arxiv","version":2},"verdict":{"created_at":"2026-05-15T18:28:22.252763Z","id":"3e56d15c-2814-4102-9310-ff6a21cc77b6","model_set":{"reader":"grok-4.3"},"one_line_summary":"AI agents can generate code in a capability-safe Scala dialect that statically prevents information leakage and malicious side effects while preserving task performance.","pipeline_version":"pith-pipeline@v0.9.0","pith_extraction_headline":"AI agents can generate capability-safe code with no significant loss in task performance while the type system blocks leaks and side effects.","strongest_claim":"Our experiments show that agents can generate capability-safe code with no significant loss in task performance, while the type system reliably prevents unsafe behaviors such as information leakage and malicious side effects.","weakest_assumption":"That large language models can reliably produce correct, well-typed capability-safe Scala code for arbitrary tasks and that the capture-checking system covers all relevant safety properties for real-world tool use."}},"verdict_id":"3e56d15c-2814-4102-9310-ff6a21cc77b6"}}],"author_attestations":[],"timestamp_anchors":[],"storage_attestations":[],"citation_signatures":[],"replication_records":[],"corrections":[],"mirror_hints":[],"record_created":{"event_id":"sha256:a0631cc6315c6833e297758f3a5d4179708eed7d0812c90c11ed61ff62d76655","target":"record","created_at":"2026-05-29T01:05:06Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"attestation_state":"computed","canonical_record":{"metadata":{"abstract_canon_sha256":"266cf315043be1b306a934dbec5f5a625482f53b76e632685de57b404af56204","cross_cats_sorted":["cs.PL"],"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.AI","submitted_at":"2026-03-01T08:39:37Z","title_canon_sha256":"ca75e8f7641b32cc65ca0d137e97b5f5ef576666ac7f35c8594d1436fd6d9d1c"},"schema_version":"1.0","source":{"id":"2603.00991","kind":"arxiv","version":2}},"canonical_sha256":"0569fad3b958081786a6156360b92ffd653d665f55c9c5b981f241537db931be","receipt":{"algorithm":"ed25519","builder_version":"pith-number-builder-2026-05-17-v1","canonical_sha256":"0569fad3b958081786a6156360b92ffd653d665f55c9c5b981f241537db931be","first_computed_at":"2026-05-29T01:05:06.002593Z","key_id":"pith-v1-2026-05","kind":"pith_receipt","last_reissued_at":"2026-05-29T01:05:06.002593Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","receipt_version":"0.3","signature_b64":"QQ04qj+VijgQBGhG+chorKTZqPjw989AaB098dQsXZrZywyvp8+fpMbxOFRxkDFYJTW96darEVx9W4BmO6c6AA==","signature_status":"signed_v1","signed_at":"2026-05-29T01:05:06.003686Z","signed_message":"canonical_sha256_bytes"},"source_id":"2603.00991","source_kind":"arxiv","source_version":2}}},"equivocations":[],"invalid_events":[],"applied_event_ids":["sha256:a0631cc6315c6833e297758f3a5d4179708eed7d0812c90c11ed61ff62d76655","sha256:0a5d2e2cb1b9a4812e00b68e5475e85875135b89139fde264656447a8c5978b4"],"state_sha256":"4794f1b06eef835c1f41380a8f0c29c104aac461e434a68eac0e8912ccc4c78d"},"bundle_signature":{"signature_status":"signed_v1","algorithm":"ed25519","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signature_b64":"dvBY7zLisqvgYvXFjIJEzY6C5087EuTDfMaZQTV6miz4QF85qdeIVS6OUijKOiJonWUs4WayDe5f29EyvRatDQ==","signed_message":"bundle_sha256_bytes","signed_at":"2026-06-03T21:45:34.453058Z","bundle_sha256":"71ffee531132c65851966bdb42537f535abdd4045ac351bd7353b37ae1ba7b80"}}