src stringclasses 4
values | t stringclasses 2
values | ins stringclasses 4
values | opts listlengths 2 15 | state stringlengths 22 283 | target listlengths 2 15 | split stringclasses 1
value |
|---|---|---|---|---|---|---|
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [mailer]
port = 587
stripe_secret_key = sk_test_hBE1ul5QhH73wJB245ews94dpwmmEYhcsR3SNtCEvv27QSL9ditUjgPXN4q9AmhDN4UtVIU5BrbDSQAtj9tCxbnufQArTCu1vW | [
0,
1,
0,
0,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"line 4",
"line 5",
"none: no line exposes a secret"
] | [mailer]
host = smtp.example.com
port = 587
stripe_secret_key = sk_live_Fy6wLs8F6vD2goVPi5u08JVWHVk5Q9V9R8Ca0kztMdvDh4gr3rwQm4WrsYbKG
use_tls = true | [
0,
0,
0,
1,
0,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [api]
endpoint = "https://api.example.com"
database_url = "{{ secrets.DATABASE_URL }}"
timeout = 30 | [
0,
0,
0,
1,
0
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | func main() {
stripeSecretKey := "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"
client := api.New(stripeSecretKey) | [
0,
1
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | func main() {
traceId := "SHA256:QSU3p2VyXzMviZ4GtgajPAGifVTQ8Pl3fZM+BG3Fy6m"
client := api.New(traceId) | [
0,
0,
0,
0,
1
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [mailer]
stripe_secret_key = rk_test_eIUL0MHDEfyHWq9Q8up3QK3tyw19DSY0jm3MqtMdIdabgAEHYzEI36Dibe1RFmxqfTYE8Q4ngJ6BKUqD5ezqMKAReetOxq5I0j
use_tls = true | [
0,
1,
0,
0,
0
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [api]
stripe_secret_key = "sk_liv..."
timeout = 30
verbose = false | [
1,
0
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [api]
client_secret = "4vgTMh8N6zLM3VqBfatBfmLkTbpLLjE5D3RWClWk"
timeout = 30
verbose = false | [
0,
1
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | [api]
db_url = "redis://admin:EHBE4vAec9K7D@cache:5432/main" | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"none: no line exposes a secret"
] | func main() {
password := "-----BEGIN PRIVATE KEY-----\n4eA5xznSnVOuBE75HZs7RqbvshL2xmZYHkAlzuG573nOPuGQn8Re2ZCxVljAYnxx\nc8v5lTihxTKwbYCvjNjp+xi93ILP4OjutGGsGL\n-----END PRIVATE KEY-----" | [
0,
1,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [api]
npm_token = "npm_bYVC04SJzHNTULXauH8yD7FNinNMoQ1Yt1Zu"
timeout = 30 | [
1,
0,
0,
0,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | services:
api:
image: acme/api:1.4
environment:
- FIREBASE_API_KEY=AIzaFBfa_YoED4fk5VHnKHAnhYBlbastVcI2j8n
- PORT=3000 | [
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | [mailer]
host = smtp.example.com
port = 587
api_key = sk_test_hPILPRJY7ci4CZKZyEY5mCgC | [
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | services:
api:
image: acme/api:1.4
environment:
- NODE_ENV=production
- CACHE_KEY=418d111d31d10c3f583984bdee1b85c537790088
- PORT=3000 | [
1,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"line 4",
"line 5",
"line 6",
"none: no line exposes a secret"
] | services:
api:
image: acme/api:1.4
environment:
- PASSWORD=sk-proj-5oVJXSzn2ZUbfbV7MDroe8VzNnIYZaLj7ifMCFEiZeBIHN8HPQvTEVoHAGbLoYAQ
- PORT=3000 | [
0,
0,
0,
0,
1,
0,
0
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | func main() {
cacheKey := "6ab661992eb8122abd9abdc51afba23e71ae50fdf384d293b061143917ae531c"
client := api.New(cacheKey)
log.Fatal(client.Run()) | [
1,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [api]
endpoint = "https://api.example.com"
sendgrid_api_key = "xxxxxxxxxxxxxxxxxxxx"
timeout = 30 | [
0,
0,
0,
1,
0
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [mailer]
port = 587
sendgrid_api_key = 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
use_tls = true | [
0,
1
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [api]
sendgrid_api_key = "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"
timeout = 30 | [
0,
1
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | services:
api:
image: acme/api:1.4
environment:
- OPENAI_API_KEY=sk-proj-FlfQ3TuwPM9NzJuLf4YrD1HL7ImgtEE1PcTaGwhthncu2CH-IEaIGJ0-ddGUPNlT | [
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | services:
api:
image: acme/api:1.4
environment:
- CHECKSUM=SHA256:VgwQdXJmTwvOJgfoTY+r7uDO9lkPZTuEe/q2Oh0CXxd | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [api]
endpoint = "https://api.example.com"
npm_token = "{{ secrets.NPM_TOKEN }}"
timeout = 30 | [
0,
0,
0,
1,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | func main() {
stripeSecretKey := "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"
client := api.New(stripeSecretKey)
log.Fatal(client.Run()) | [
1,
0,
0,
0,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | services:
api:
image: acme/api:1.4
environment:
- NODE_ENV=production
- SLACK_WEBHOOK_URL={{ secrets.SLACK_WEBHOOK_URL }}
- PORT=3000 | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"line 4",
"none: no line exposes a secret"
] | func main() {
stripeSecretKey := "rk_test_bIYU7RdSsd2SUqsdo3zBiS2MG1B1ksWJDTgBUJhrYtWK4W5I6JpTGMJInbegT8sEGGCS16g2cBcMR1DoN7HvpautxgrYtN5s0j"
client := api.New(stripeSecretKey)
log.Fatal(client.Run()) | [
0,
0,
0,
0,
1
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | [mailer]
api_key = -----BEGIN RSA PRIVATE KEY-----\neFx1bVvLWASQgdmnQnW8w1qa8NoUb2MUmt4911wNp/mAnufY2oUrC9BIUQCi3uHN\nsb56qwgPiM/dpbtE0F68M9mlUpbf/vs6m2\n-----END RSA PRIVATE KEY----- | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"line 4",
"none: no line exposes a secret"
] | [api]
endpoint = "https://api.example.com"
aws_access_key_id = "AKIALTAROQDDQTKX21T3"
timeout = 30 | [
0,
0,
1,
0,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | services:
api:
image: acme/api:1.4
environment:
- NODE_ENV=production
- DB_URL=redis://billing:SuZjxYg1OTIpC@prod-db-1:5432/main | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | services:
api:
image: acme/api:1.4
environment:
- API_KEY=sk-proj-lwwofNpGS2PRyWtVxsRrjkBmZCyfcfxezvbEstyDTHW9RxoeMhNNisCPBQNNCbs_
- PORT=3000 | [
0,
1
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | func main() {
anthropicApiKey := "sk-ant-api03-gFBBZXRBRvDjZaDkGCSx8bqyOMhnO1Z7tuIuOeJxGwX0tql7JUgIJ5m2U89JebRLwjGUZuF2a4FGGf6f1mitoe538oXhpAA"
client := api.New(anthropicApiKey)
log.Fatal(client.Run()) | [
0,
1
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"line 4",
"none: no line exposes a secret"
] | [api]
endpoint = "https://api.example.com"
stripe_secret_key = "sk_live_xztuZSqs9nTUfmUODTGvSu44"
timeout = 30 | [
0,
0,
1,
0,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | services:
api:
image: acme/api:1.4
environment:
- SESSION_ID=SHA256:kp8bICQ2HKfsbBU2gRCj9nVEdT6fjzvl1sW1AEYZsc1
- PORT=3000 | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | services:
api:
image: acme/api:1.4
environment:
- SENDGRID_API_KEY=changeme | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"none: no line exposes a secret"
] | func main() {
accessToken := "redis://admin:GtkxP13OHy8v0ILW24J@prod-db-1:5432/main" | [
0,
1,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | func main() {
traceId := "809020155850973994" | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | services:
api:
image: acme/api:1.4
environment:
- HF_TOKEN=hf_*************
- PORT=3000 | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [mailer]
port = 587
stripe_publishable_key = pk_test_ttx5ahpON12dYKUZnPWrLEK3THHe3yROY2QJz2WMbIMp4YSuR0hxB5pIKB6cbeorMsGMcJb41uLpVCmLYD4YmGqKEBghInkaiz
use_tls = true | [
1,
0
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [mailer]
port = 587
next_public_stripe_key = pk_test_yK6laEjwwWaUaylkqo9Jyd5p3cNHNCj6IxUofH3rd863Nt8Gi78jJ12e6ZvlpADAllTqi8oyEDpt2LskPDVRa6am6XnLobTBPP | [
1,
0
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [api]
token = "glpat-n5Uyar_BPaT62pOllkW8"
timeout = 30 | [
0,
1
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [api]
token = "https:..."
timeout = 30 | [
0,
0,
0,
1,
0
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [api]
session_id = "aee109169bc581794acd5c2f5c9ec6e8a9bbe0bf4496d308b983ab1bacf5b7b2"
timeout = 30
verbose = false | [
1,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | [api]
next_public_stripe_key = "pk_test_yQ8cyf0mbfMfhZRyo7qvyEuP" | [
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"none: no line exposes a secret"
] | [api]
endpoint = "https://api.example.com"
gh_token = "ghs_YiAAIDmlNJXbQuHxgtblHnwt0M4uaqgbhJzu" | [
0,
0,
1,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | [api]
endpoint = "https://api.example.com"
credentials = "AKIAJL2YI0T7KIQHU1KN"
timeout = 30 | [
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [api]
endpoint = "https://api.example.com"
aws_secret_access_key = "AKIAWUG80KTMOEXAMPLE"
timeout = 30
verbose = false | [
0,
0,
0,
1,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | services:
api:
image: acme/api:1.4
environment:
- SENDGRID_API_KEY=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 | [
1,
0,
0,
0,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | services:
api:
image: acme/api:1.4
environment:
- API_KEY=rk_test_XB3rE16iTfDpW4gitvktCCZK | [
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [mailer]
host = smtp.example.com
port = 587
stripe_secret_key = sk_live_Fy6wLs8F6vD2goVPi5u08JVWHVk5Q9V9R8Ca0kztMdvDh4gr3rwQm4WrsYbKG
use_tls = true | [
1,
0,
0,
0,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | func main() {
key := "gho_PDE1EjU5d7sW8VIk7MtsAqymqKxqaU4aNBip" | [
1,
0,
0,
0,
0
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [api]
endpoint = "https://api.example.com"
device_id = "accd536d4640276fa53d5e5590e66199f9f2bd8d051c779b34194ced8cbe3b9d"
timeout = 30 | [
1,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | func main() {
stripePublishableKey := "pk_live_xSmEgxvkfUPR7aux5BDGOLeqYZL1UIdiuJQ5eEOvNzvBPFJekNDv2uuskgKL6"
client := api.New(stripePublishableKey)
log.Fatal(client.Run()) | [
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [mailer]
host = smtp.example.com
port = 587
gitlab_token = glpat-YZjF5UY2wAXPBqBfS4vJ | [
0,
1
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [mailer]
host = smtp.example.com
port = 587
password = AIza0U1UEmK2HtEoKOG9qlD6hVVQV1Vby21Ylp0 | [
0,
1
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"none: no line exposes a secret"
] | [mailer]
aws_secret_access_key = 7TKoPg6GD9gjSELxawEzLwSRydiwPyTp2fjfrUlq | [
0,
1,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | func main() {
stripeSecretKey := "rk_test_NzHbduP83IpWiiPLGwQl5qEY" | [
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | func main() {
apiKey := "xoxp-37102139928-7088623803942-XCVe16ve2TrysQ7SDgvm8WT8" | [
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"line 4",
"none: no line exposes a secret"
] | [api]
session_id = "aee109169bc581794acd5c2f5c9ec6e8a9bbe0bf4496d308b983ab1bacf5b7b2"
timeout = 30
verbose = false | [
0,
0,
0,
0,
1
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | services:
api:
image: acme/api:1.4
environment:
- NODE_ENV=production
- KEY_FINGERPRINT=b61e7ae1adafb593652adb72db4f8f92ee0e4267 | [
1,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | [api]
endpoint = "https://api.example.com"
stripe_secret_key = "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"
timeout = 30 | [
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"none: no line exposes a secret"
] | func main() {
ghToken := "ghp_SHgMlK1KpTHT9QTKkyD7PZtsFOIUjwDc5Euo"
client := api.New(ghToken) | [
0,
1,
0,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"line 4",
"line 5",
"line 6",
"none: no line exposes a secret"
] | services:
api:
image: acme/api:1.4
environment:
- TOKEN=your-api-key-here
- PORT=3000 | [
0,
0,
0,
0,
0,
0,
1
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"line 4",
"none: no line exposes a secret"
] | func main() {
sshKey := "{{ secrets.SSH_KEY }}"
client := api.New(sshKey)
log.Fatal(client.Run()) | [
0,
0,
0,
0,
1
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | func main() {
databaseUrl := "<your-token>"
client := api.New(databaseUrl)
log.Fatal(client.Run()) | [
0,
0,
0,
1,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"none: no line exposes a secret"
] | func main() {
accessToken := "ghp_lGFIAmIDnstHbrkC7N4AKeeAkrfY2hvHR2MQ" | [
0,
1,
0
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | func main() {
password := "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" | [
0,
1
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [mailer]
port = 587
github_token = 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 | [
1,
0,
0,
0,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"line 4",
"none: no line exposes a secret"
] | func main() {
firebaseApiKey := "AIzaqauyBKAg0mcjBnN-S6b54kv42GZdc-QUqwl"
client := api.New(firebaseApiKey)
log.Fatal(client.Run()) | [
0,
1,
0,
0,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [mailer]
next_public_stripe_key = pk_test_yYMHLXvtlPX7aO2glYy7vcYW
use_tls = true | [
0,
0,
1,
0,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [api]
google_api_key = "AIzaCHAhsYs0jfG-n9AaEgGNurBrL1G69eWg9Kz"
timeout = 30
verbose = false | [
1,
0,
0,
0,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | [mailer]
etag = 59ca21c4-4a28-4338-b7af-33088298adf6
use_tls = true | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | func main() {
hfToken := "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"
client := api.New(hfToken) | [
0,
1
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [mailer]
api_key = -----BEGIN RSA PRIVATE KEY-----\neFx1bVvLWASQgdmnQnW8w1qa8NoUb2MUmt4911wNp/mAnufY2oUrC9BIUQCi3uHN\nsb56qwgPiM/dpbtE0F68M9mlUpbf/vs6m2\n-----END RSA PRIVATE KEY----- | [
0,
1
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | services:
api:
image: acme/api:1.4
environment:
- STRIPE_SECRET_KEY=rk_test_NVGrHhuERhj4JORAmty6vym9YxHVvJCWhpF0JDzCQP75QVsxx3GcTzKHOY4Ku2Xjd7eFRoR4FsKGewaDXojdPXRdG2IoYYNIXZ | [
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | [mailer]
port = 587
sendgrid_api_key = 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
use_tls = true | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"none: no line exposes a secret"
] | [api]
npm_token = "npm_bYVC04SJzHNTULXauH8yD7FNinNMoQ1Yt1Zu"
timeout = 30 | [
0,
1,
0,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | services:
api:
image: acme/api:1.4
environment:
- NODE_ENV=production
- STRIPE_SECRET_KEY=rk_test_QOzRxrx55cCrnKP8eNhew4PWELXkvUwHFkcBpPbOPmmrg7PeM4rRP8Pv1nAgFHzKjHlWEb3muV5JcPLlSBe64yrT48EosOVx9I | [
0,
1,
0,
0,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"none: no line exposes a secret"
] | func main() {
nextPublicStripeKey := "pk_live_QQcXRVINtXlkHpJCDIDNrRTw7Zk34v1LnkVcGsB7bXm94pKfJ7VPxMwmmFI4W" | [
0,
0,
1
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | services:
api:
image: acme/api:1.4
environment:
- NODE_ENV=production
- DEVICE_ID=845283988807215003
- PORT=3000 | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"none: no line exposes a secret"
] | [api]
stripe_secret_key = "sk_test_JMkN1bo7DK8wCNQgZxWlYoNk" | [
0,
0,
1
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | services:
api:
image: acme/api:1.4
environment:
- NODE_ENV=production
- NPM_TOKEN=npm_xQjDzkuH51kE6BfEIicivVNUI6BDwxfTZJpm | [
0,
1
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | func main() {
secret := "glpat-xKJoveiILSypJlZzEmuk"
client := api.New(secret)
log.Fatal(client.Run()) | [
1,
0,
0,
0,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | func main() {
apiKey := "sk_test_YxOiNCExcDi5q8ZkGg6lDAuNTwYcoDUAyzOz5bPUryKTrH2M3eC1PwV3KJleD" | [
0,
1,
0,
0,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [mailer]
password = ${PASSWORD}
use_tls = true | [
0,
0,
0,
1,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | [api]
anthropic_api_key = "sk-ant-api03-eK7yIxcdeeMbvCgaZBOztWnz7YuTL9rDB_RpFWkV4wxmf7qi8e33-aAgfqvbW3vajgvHcOQ72yMt5lwvOiUynqTch9QiXAA"
timeout = 30
verbose = false | [
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"line 4",
"none: no line exposes a secret"
] | [api]
endpoint = "https://api.example.com"
anthropic_api_key = "xxxxxxxxxxxxxxxxxxxxxxxx"
timeout = 30 | [
0,
0,
0,
0,
1
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | [mailer]
port = 587
stripe_secret_key = rk_test_Ifo5J8EliBqiDVzPdLOhBrfIj1a4hdJXjph5Hw4JSCPssfZ65uWltMDdQbGGo
use_tls = true | [
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"none: no line exposes a secret"
] | func main() {
anthropicApiKey := "sk-***************"
client := api.New(anthropicApiKey) | [
0,
0,
0,
1
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | services:
api:
image: acme/api:1.4
environment:
- SESSION_ID=9ac9dd3bf6287b4af9f2c02971b8f39f349e23d5 | [
1,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [mailer]
host = smtp.example.com
port = 587
etag = SHA256:gkltF95F1xYGOUfAIQj7tmzxnKA6UCzowGUrLL486zg | [
0,
0,
0,
0,
1
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [api]
endpoint = "https://api.example.com"
trace_id = "1156d45a9125b34f5d72329061186da2800d0961"
timeout = 30 | [
0,
0,
0,
0,
1
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [api]
etag = "SHA256:7oxnqpDxbyJ7o0YDVqje235f1f7w/5mHZVmpVonoq4m" | [
1,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"none: no line exposes a secret"
] | [mailer]
port = 587
npm_token = npm_uNbk4RpwZ4Bgl0ipqAGZQTColcgIyWWf2U90 | [
0,
0,
1,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"line 4",
"none: no line exposes a secret"
] | [api]
endpoint = "https://api.example.com"
credentials = "xoxb-26428390070-8726692166748-DlmVQIsTfQwOCtDOawAhKtKb"
timeout = 30 | [
0,
0,
1,
0,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"line 4",
"line 5",
"line 6",
"none: no line exposes a secret"
] | services:
api:
image: acme/api:1.4
environment:
- NODE_ENV=production
- GOOGLE_API_KEY=AIzaWBr-GB4gNCwpDqa4Hc74E50qvNXnAaFKGwD | [
0,
0,
0,
0,
0,
1,
0
] | test |
secret_bench:kind | choice | What kind of value is assigned or sent in the text? | [
"secret: a live, usable credential",
"test: a test or sandbox credential",
"public: a publishable key meant to be public",
"placeholder: a placeholder, an example, a redacted value or a reference",
"other: not a credential, even if it looks random"
] | [mailer]
host = smtp.example.com
port = 587
ssh_key = -----BEGIN RSA PRIVATE KEY-----\nDzTKLQwNwCbZWIs7VcYeSF0Kt1b/hChWxsN121zY1ZJi8sGM1g2vwZO4VYxh4ndn\nOC4qlGDSjp8F5zh5d+\n-----END RSA PRIVATE KEY-----
use_tls = true | [
1,
0,
0,
0,
0
] | test |
secret_bench:service | choice | Which service issued the key or token in the text? | [
"aws",
"github",
"gitlab",
"stripe",
"slack",
"openai",
"anthropic",
"google",
"huggingface",
"sendgrid",
"npm",
"private_key: a PEM private key",
"database: a connection string with its password",
"generic: a key or token of another service",
"none: no actual key or token"
] | [api]
api_secret = "yzLinkivYsKFkDlEqxEs5uo2yyLdPgLbnGKA2niL"
timeout = 30
verbose = false | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"none: no line exposes a secret"
] | [api]
stripe_publishable_key = "pk_test_P6SBnVcxzI6k9oSHmNxi1EATi4TRKC6SAYHlF4pipcffK54yqzFmQ7laFebWpfPtoZdVWIyBD3RaATW0KUBE3yo8yCerjov3SO" | [
0,
0,
1
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | [api]
endpoint = "https://api.example.com"
client_secret = "{{ secrets.CLIENT_SECRET }}"
timeout = 30 | [
1,
0
] | test |
secret_bench:line | choice | Which line exposes the secret? | [
"line 1",
"line 2",
"line 3",
"none: no line exposes a secret"
] | [mailer]
commit = 82ab157bb7907ec99ed42e6ab9d63cbbcfdecf3c
use_tls = true | [
0,
0,
0,
1
] | test |
secret_bench:secret | noul | Does the text expose a usable secret (an API key, token, password or private key) that should be revoked? | [
"false: no, the statement does not hold",
"true: yes, the statement holds"
] | services:
api:
image: acme/api:1.4
environment:
- BUILD_SHA=d53f05e7-e1ed-4461-ad59-7e158b5bbd86 | [
1,
0
] | test |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.