Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit de710e1

Browse files
committed
add security txt
1 parent e0df69c commit de710e1

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

account-compression/programs/account-compression/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ default = []
2121
anchor-lang = "0.29.0"
2222
bytemuck = "1.13"
2323
solana-program = ">=1.18.11,<2"
24+
solana-security-txt = "1.1.1"
2425
spl-concurrent-merkle-tree = { version = "0.3.0", path = "../../../libraries/concurrent-merkle-tree" }
2526
spl-noop = { version = "0.2.0", path = "../noop", features = ["no-entrypoint"] }
2627

account-compression/programs/account-compression/src/lib.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ use crate::state::{
4949
merkle_tree_get_size, ConcurrentMerkleTreeHeader, CONCURRENT_MERKLE_TREE_HEADER_SIZE_V1,
5050
};
5151
use crate::zero_copy::ZeroCopy;
52+
use solana_security_txt::security_txt;
5253

5354
/// Exported for Anchor / Solita
5455
pub use spl_concurrent_merkle_tree::{
@@ -59,6 +60,21 @@ pub use spl_concurrent_merkle_tree::{
5960

6061
declare_id!("cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK");
6162

63+
security_txt! {
64+
// Required fields
65+
name: "SPL Account Compression",
66+
project_url: "https://spl.solana.com/token-2022",
67+
contacts: "link:https://github.com/solana-labs/solana-program-library/security/advisories/new,mailto:[email protected],discord:https://solana.com/discord",
68+
policy: "https://github.com/solana-labs/solana-program-library/blob/master/SECURITY.md",
69+
70+
// Optional Fields
71+
preferred_languages: "en",
72+
source_code: "https://github.com/solana-labs/solana-program-library/tree/master/account-compression",
73+
branch: "ac-mainnet-tag",
74+
auditors: "https://github.com/solana-labs/security-audits#account-compression"
75+
}
76+
77+
6278
/// Context for initializing a new SPL ConcurrentMerkleTree
6379
#[derive(Accounts)]
6480
pub struct Initialize<'info> {

0 commit comments

Comments
 (0)