Skip to content

Commit

Permalink
fix(security): added security.txt macro
Browse files Browse the repository at this point in the history
  • Loading branch information
ogmedia committed Nov 1, 2022
1 parent dcee8e6 commit 701d929
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion programs/squads-mpl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ default = []

[dependencies]
anchor-lang = "0.25.0"
hex = "0.3.1"
hex = "0.3.1"
solana-security-txt = "1.0.1"
12 changes: 12 additions & 0 deletions programs/squads-mpl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ pub mod state;
use errors::*;
pub mod errors;

use solana_security_txt::security_txt;

security_txt! {
name: "Squads MPL",
project_url: "https://squads.so",
contacts: "email:security@sqds.io,email:contact@osec.io",
policy: "https://github.com/Squads-Protocol/squads-mpl/blob/main/SECURITY.md",
preferred_languages: "en",
source_code: "https://github.com/squads-protocol/squads-mpl",
auditors: "OtterSec"
}

declare_id!("SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu");

#[program]
Expand Down

0 comments on commit 701d929

Please sign in to comment.