{"state_type":"pith_open_graph_state","state_version":"1.0","pith_number":"pith:2025:KJVKR5SPSU46FJCFLYVUM45JUG","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":"cd549f45da6673133df754a09b0d43fc4d16383df2ec97dabe92e850b4fd5964","cross_cats_sorted":["cs.SE"],"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.CR","submitted_at":"2025-05-31T06:48:12Z","title_canon_sha256":"d83eb18b2e7d04f0cb95423a1c9c9a5d13b60608e600b2d0e03924ddb846bf79"},"schema_version":"1.0","source":{"id":"2506.00419","kind":"arxiv","version":2}},"source_aliases":[{"alias_kind":"arxiv","alias_value":"2506.00419","created_at":"2026-07-05T12:08:03Z"},{"alias_kind":"arxiv_version","alias_value":"2506.00419v2","created_at":"2026-07-05T12:08:03Z"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.2506.00419","created_at":"2026-07-05T12:08:03Z"},{"alias_kind":"pith_short_12","alias_value":"KJVKR5SPSU46","created_at":"2026-07-05T12:08:03Z"},{"alias_kind":"pith_short_16","alias_value":"KJVKR5SPSU46FJCF","created_at":"2026-07-05T12:08:03Z"},{"alias_kind":"pith_short_8","alias_value":"KJVKR5SP","created_at":"2026-07-05T12:08:03Z"}],"graph_snapshots":[{"event_id":"sha256:aaf3f54fc8dc59e5675bc720e829478250528043471e39802281bff0c1d97040","target":"graph","created_at":"2026-07-05T12:08:03Z","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":0,"items":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"formal_canon":{"evidence_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"integrity":{"available":true,"clean":true,"detectors_run":[],"endpoint":"/pith/2506.00419/integrity.json","findings":[],"snapshot_sha256":"c28c3603d3b5d939e8dc4c7e95fa8dfce3d595e45f758748cecf8e644a296938","summary":{"advisory":0,"by_detector":{},"critical":0,"informational":0}},"paper":{"abstract_excerpt":"LLM generated code often contains security issues. We address two key challenges in improving secure code generation. First, obtaining high quality training data covering a broad set of security issues is critical. To address this, we introduce a method for distilling a preference dataset of insecure and secure code pairs from frontier LLMs, along with a security reasoning that explains the issues and the fix. The key idea here is to make use of security knowledge sources to devise a systematic prompting strategy that ensures broad coverage. Second, aligning models to secure code requires focu","authors_text":"Mohammad Saqib Hasan, Niranjan Balasubramanian, Saikat Chakraborty, Santu Karmaker","cross_cats":["cs.SE"],"headline":"","license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.CR","submitted_at":"2025-05-31T06:48:12Z","title":"Teaching an Old LLM Secure Coding: Localized Preference Optimization on Distilled Preferences"},"references":{"count":0,"internal_anchors":0,"resolved_work":0,"sample":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"source":{"id":"2506.00419","kind":"arxiv","version":2},"verdict":{"created_at":null,"id":null,"model_set":{},"one_line_summary":"","pipeline_version":null,"pith_extraction_headline":"","strongest_claim":"","weakest_assumption":""}},"verdict_id":null}}],"author_attestations":[],"timestamp_anchors":[],"storage_attestations":[],"citation_signatures":[],"replication_records":[],"corrections":[],"mirror_hints":[],"record_created":{"event_id":"sha256:f934fc6c247d3b53fc67c47945c69fadcc94ad493e126da983a257ce84beeb88","target":"record","created_at":"2026-07-05T12:08:03Z","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":"cd549f45da6673133df754a09b0d43fc4d16383df2ec97dabe92e850b4fd5964","cross_cats_sorted":["cs.SE"],"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.CR","submitted_at":"2025-05-31T06:48:12Z","title_canon_sha256":"d83eb18b2e7d04f0cb95423a1c9c9a5d13b60608e600b2d0e03924ddb846bf79"},"schema_version":"1.0","source":{"id":"2506.00419","kind":"arxiv","version":2}},"canonical_sha256":"526aa8f64f9539e2a4455e2b4673a9a195f5efea492029bc2a6c04b63d34f200","receipt":{"algorithm":"ed25519","builder_version":"pith-number-builder-2026-05-17-v1","canonical_sha256":"526aa8f64f9539e2a4455e2b4673a9a195f5efea492029bc2a6c04b63d34f200","first_computed_at":"2026-07-05T12:08:03.655903Z","key_id":"pith-v1-2026-05","kind":"pith_receipt","last_reissued_at":"2026-07-05T12:08:03.655903Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","receipt_version":"0.3","signature_b64":"vOQmjiDeb5xe9CRWeqQJfoQGozJ+PSMd1U4kHvD44CmIBuPjtwZzi1nPESCKbDZNOnYvdjSJpFGV3F3uD2smBg==","signature_status":"signed_v1","signed_at":"2026-07-05T12:08:03.656447Z","signed_message":"canonical_sha256_bytes"},"source_id":"2506.00419","source_kind":"arxiv","source_version":2}}},"equivocations":[],"invalid_events":[],"applied_event_ids":["sha256:f934fc6c247d3b53fc67c47945c69fadcc94ad493e126da983a257ce84beeb88","sha256:aaf3f54fc8dc59e5675bc720e829478250528043471e39802281bff0c1d97040"],"state_sha256":"306da4682955f801684892c746582f91156920596f52190d216318643fc16e53"}