File size: 9,015 Bytes
ee5d5a0 7d9be57 dcb5b61 7d9be57 dcb5b61 7d9be57 3524a3b dcb5b61 3524a3b dcb5b61 3524a3b 7d9be57 ee5d5a0 372c065 ee5d5a0 d0e7f7a aa23200 d0e7f7a aa23200 d0e7f7a aa23200 d0e7f7a aa23200 d0e7f7a ee5d5a0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 |
import React from "react";
import {
Box,
Typography,
Paper,
IconButton,
Tooltip,
Alert,
Link,
} from "@mui/material";
import ContentCopyIcon from "@mui/icons-material/ContentCopy";
import PageHeader from "../../components/shared/PageHeader";
const citations = [
{
title: "LLM Security Leaderboard",
authors:
"Pankaj Telang, Eleftheria Stein-Kousathana, Doug Wright, Daniel Kantor, Luke Hinds",
citation: `@misc{llm-security-leaderboard-v1,
author = {Pankaj Telang and Eleftheria Stein-Kousathana and Doug Wright and Daniel Kantor and Luke Hinds},
title = {LLM Security Leaderboard},
year = {2025},
publisher = {Hugging Face},
howpublished = "\\url{https://huggingface.co/spaces/stacklok/llm-security-leaderboard}",
}`,
type: "main",
},
{
title: "LLM Security Leaderboard Evaluation Backend",
authors:
"Pankaj Telang, Eleftheria Stein-Kousathana, Doug Wright, Daniel Kantor, Luke Hinds",
citation: `@misc{stacklok/llm-security-evaluation-backend-v1,
author = {Pankaj Telang and Eleftheria Stein-Kousathana and Doug Wright and Daniel Kantor and Luke Hinds},
title = {LLM Security Leaderboard Evaluation Backend},
year = {2025},
publisher = {Hugging Face},
howpublished = "\\url{https://huggingface.co/spaces/stacklok/llm-security-evaluation-backend}",
}`,
type: "main",
},
];
const priorWork = [
{
title: "Open LLM Leaderboard v2",
authors:
"Clémentine Fourrier, Nathan Habib, Alina Lozovskaya, Konrad Szafer, Thomas Wolf",
citation: `@misc{open-llm-leaderboard-v2,
author = {Clémentine Fourrier and Nathan Habib and Alina Lozovskaya and Konrad Szafer and Thomas Wolf},
title = {Open LLM Leaderboard v2},
year = {2024},
publisher = {Hugging Face},
howpublished = "\\url{https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard}",
}`,
type: "main",
},
{
title: "Open LLM Leaderboard v1",
authors:
"Edward Beeching, Clémentine Fourrier, Nathan Habib, Sheon Han, Nathan Lambert, Nazneen Rajani, Omar Sanseviero, Lewis Tunstall, Thomas Wolf",
citation: `@misc{open-llm-leaderboard-v1,
author = {Edward Beeching and Clémentine Fourrier and Nathan Habib and Sheon Han and Nathan Lambert and Nazneen Rajani and Omar Sanseviero and Lewis Tunstall and Thomas Wolf},
title = {Open LLM Leaderboard (2023-2024)},
year = {2023},
publisher = {Hugging Face},
howpublished = "\\url{https://huggingface.co/spaces/open-llm-leaderboard-old/open_llm_leaderboard}"
}`,
type: "main",
},
{
"title": "CYBERSECEVAL 3: Advancing the Evaluation of Cybersecurity Risks and Capabilities in Large Language Models",
"authors": "Shengye Wan, Cyrus Nikolaidis, Daniel Song, David Molnar, James Crnkovich, Jayson Grace, Manish Bhatt, Sahana Chennabasappa, Spencer Whitman, Stephanie Ding, Vlad Ionescu, Yue Li, Joshua Saxe",
"citation": `@misc{wan2024cyberseceval3,
author = {Shengye Wan and Cyrus Nikolaidis and Daniel Song and David Molnar and James Crnkovich and Jayson Grace and Manish Bhatt and Sahana Chennabasappa and Spencer Whitman and Stephanie Ding and Vlad Ionescu and Yue Li and Joshua Saxe},
title = {{CYBERSECEVAL 3}: Advancing the Evaluation of Cybersecurity Risks and Capabilities in Large Language Models},
year = {2024},
archivePrefix = {arXiv},
eprint = {2408.01605},
primaryClass = {cs.CR},
url = {https://doi.org/10.48550/arXiv.2408.01605}
}`,
"type": "main"
}
];
const benchmarks = [
{
title: "Bad Package Detection",
authors:
"Pankaj Telang, Eleftheria Stein-Kousathana, Doug Wright, Daniel Kantor, Luke Hinds",
citation: `@misc{llm-security-leaderboard-v1-bad-package-v1,
author = {Pankaj Telang and Eleftheria Stein-Kousathana and Doug Wright and Daniel Kantor and Luke Hinds},
title = {Bad Package Detection},
year = {2025},
publisher = {Hugging Face},
howpublished = "\\url{https://huggingface.co/spaces/stacklok/llm-security-leaderboard}",
}`,
type: "main",
},
{
title: "Insecure Code Detection",
authors:
"Pankaj Telang, Eleftheria Stein-Kousathana, Doug Wright, Daniel Kantor, Luke Hinds",
citation: `@misc{llm-security-leaderboard-v1-insecure-code-v1,
author = {Pankaj Telang and Eleftheria Stein-Kousathana and Doug Wright and Daniel Kantor and Luke Hinds},
title = {Insecure Code Detection},
year = {2025},
publisher = {Hugging Face},
howpublished = "\\url{https://huggingface.co/spaces/stacklok/llm-security-leaderboard}",
}`,
type: "main",
},
{
title: "Safetensors Usage",
authors:
"Pankaj Telang, Eleftheria Stein-Kousathana, Doug Wright, Daniel Kantor, Luke Hinds",
citation: `@misc{llm-security-leaderboard-v1-safetensors-v1,
author = {Pankaj Telang and Eleftheria Stein-Kousathana and Doug Wright and Daniel Kantor and Luke Hinds},
title = {Safetensors Usage},
year = {2025},
publisher = {Hugging Face},
howpublished = "\\url{https://huggingface.co/spaces/stacklok/llm-security-leaderboard}",
}`,
type: "main",
},
{
title: "CVE Knowledge",
authors:
"Pankaj Telang, Eleftheria Stein-Kousathana, Doug Wright, Daniel Kantor, Luke Hinds",
citation: `@misc{llm-security-leaderboard-v1-cve-v1,
author = {Pankaj Telang and Eleftheria Stein-Kousathana and Doug Wright and Daniel Kantor and Luke Hinds},
title = {CVE Knowledge},
year = {2025},
publisher = {Hugging Face},
howpublished = "\\url{https://huggingface.co/spaces/stacklok/llm-security-leaderboard}",
}`,
type: "main",
},
];
const CitationBlock = ({ citation, title, authors, url, type }) => {
const handleCopy = () => {
navigator.clipboard.writeText(citation);
};
return (
<Paper
elevation={0}
sx={{
p: 3,
border: "1px solid",
borderColor: "grey.200",
backgroundColor: "transparent",
borderRadius: 2,
position: "relative",
}}
>
<Box sx={{ mb: 2 }}>
<Typography variant="h6" sx={{ mb: 0.5 }}>
{title}
</Typography>
<Typography variant="body2" color="text.secondary">
{authors}
</Typography>
{url && (
<Link
href={url}
target="_blank"
rel="noopener noreferrer"
sx={{ fontSize: "0.875rem", display: "block", mt: 0.5 }}
>
View paper →
</Link>
)}
</Box>
<Box
sx={{
backgroundColor: "grey.900",
borderRadius: 1,
p: 2,
position: "relative",
}}
>
<Tooltip title="Copy citation" placement="top">
<IconButton
onClick={handleCopy}
size="small"
sx={{
position: "absolute",
top: 8,
right: 8,
color: "grey.500",
"&:hover": {
color: "grey.300",
},
}}
>
<ContentCopyIcon fontSize="small" />
</IconButton>
</Tooltip>
<Box
component="pre"
sx={{
margin: 0,
color: "#fff",
fontSize: "0.875rem",
fontFamily: "monospace",
whiteSpace: "pre",
textAlign: "left",
overflow: "auto",
}}
>
<code>{citation}</code>
</Box>
</Box>
</Paper>
);
};
function QuotePage() {
return (
<Box sx={{ width: "100%", maxWidth: 1200, margin: "0 auto", py: 4, px: 0 }}>
<PageHeader
title="Citation Information"
subtitle="How to cite the Open LLM Leaderboard in your work"
/>
<Alert severity="info" sx={{ mb: 4 }}>
<Typography variant="body2">
The citations below include both the leaderboard itself and the
individual benchmarks used in our evaluation suite.
</Typography>
</Alert>
<Box sx={{ mb: 6 }}>
<Typography variant="h5" sx={{ mb: 3 }}>
Leaderboard
</Typography>
<Box sx={{ display: "flex", flexDirection: "column", gap: 3 }}>
{citations.map((citation, index) => (
<CitationBlock key={index} {...citation} />
))}
</Box>
</Box>
<Box sx={{ mb: 6 }}>
<Typography variant="h5" sx={{ mb: 3 }}>
Benchmarks
</Typography>
<Box sx={{ display: "flex", flexDirection: "column", gap: 3 }}>
{benchmarks.map((benchmark, index) => (
<CitationBlock key={index} {...benchmark} />
))}
</Box>
</Box>
<Box>
<Typography variant="h5" sx={{ mb: 3 }}>
Prior Work
</Typography>
<Box sx={{ display: "flex", flexDirection: "column", gap: 3 }}>
{priorWork.map((citation, index) => (
<CitationBlock key={index} {...citation} />
))}
</Box>
</Box>
</Box>
);
}
export default QuotePage;
|