text
stringlengths
78
664
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:MG0kdCQ2pGecQ41c6lGl1ijdapct43iR}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getIntercepto...
<|user|> Does this code contain a secret? <|code|> port = "127.0.0.1" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> environment = "/health" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> const config = { server: { port: 3000, host: 'localhost', environment: 'development' }, logging: { level: 'info', format: 'combined' }, features: { caching: true, compression: true } }; mo...
<|user|> Does this code contain a secret? <|code|> def process_data(input_file, output_file): buffer_size = 8192 chunk_size = 1024 with open(input_file, 'r') as infile: with open(output_file, 'w') as outfile: while True: chunk = infile.read(chunk_size) ...
<|user|> Does this code contain a secret? <|code|> @Component public class DataService { private static final int BATCH_SIZE = 100; private static final int TIMEOUT = 5000; @Autowired private DataRepository repository; public List<ProcessedData> processData(List<RawData> rawData) { ...
<|user|> Does this code contain a secret? <|code|> const config = { server: { port: 3000, host: 'localhost', environment: 'development' }, logging: { level: 'info', format: 'combined' }, features: { caching: true, compression: true } }; mo...
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "U5Jx45QYSlbPAvpGTVVeYYzaxcGAVt9X" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" } response = requests.post("/auth", headers=headers) return ...
<|user|> Does this code contain a secret? <|code|> package main import ( "fmt" "log" "net/http" ) const ( DefaultPort = "8080" DefaultHost = "localhost" Version = "1.0.0" ) func main() { mux := http.NewServeMux() mux.HandleFunc("/health", healthCheck) mux.HandleFunc("/version"...
<|user|> Does this code contain a secret? <|code|> const config = { server: { port: 3000, host: 'localhost', environment: 'development' }, logging: { level: 'info', format: 'combined' }, features: { caching: true, compression: true } }; mo...
<|user|> Does this code contain a secret? <|code|> PASSWORD = "postgresql://user:QqqR2OjtbiZsOZdi@localhost:5432/db" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> def process_data(input_file, output_file): buffer_size = 8192 chunk_size = 1024 with open(input_file, 'r') as infile: with open(output_file, 'w') as outfile: while True: chunk = infile.read(chunk_size) ...
<|user|> Does this code contain a secret? <|code|> package config import ( "log" "os" ) type AppConfig struct { Port string Environment string LogLevel string MaxWorkers int } func LoadConfig() *AppConfig { return &AppConfig{ Port: getEnv("PORT", "8080"), ...
<|user|> Does this code contain a secret? <|code|> mode = "8080" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> API_KEY = "aO2h7WcgAysakXVvFGBzohEXPNM0hjNC" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> const encryption_key = "nSQ5pJB1wd01WrsWlCO#wva" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> @Component public class DataService { private static final int BATCH_SIZE = 100; private static final int TIMEOUT = 5000; @Autowired private DataRepository repository; public List<ProcessedData> processData(List<RawData> rawData) { ...
<|user|> Does this code contain a secret? <|code|> def process_data(input_file, output_file): buffer_size = 8192 chunk_size = 1024 with open(input_file, 'r') as infile: with open(output_file, 'w') as outfile: while True: chunk = infile.read(chunk_size) ...
<|user|> Does this code contain a secret? <|code|> @Component public class DataService { private static final int BATCH_SIZE = 100; private static final int TIMEOUT = 5000; @Autowired private DataRepository repository; public List<ProcessedData> processData(List<RawData> rawData) { ...
<|user|> Does this code contain a secret? <|code|> private_key = "https://hooks.slack.com/services/ZWYJLWO7L44M7AK96WZJIKVTUE6Z9BS5" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> const express = require('express'); const app = express(); const config = { port: process.env.PORT || 3000, jwtSecret: "HCVwgCWdE9OKNQaCgf1ZVP5MOWB3KYFx", database: { host: 'localhost', port: 5432 } }; app.listen(config.port, () => { ...
<|user|> Does this code contain a secret? <|code|> class DataProcessor { constructor(options = {}) { this.batchSize = options.batchSize || 100; this.timeout = options.timeout || 5000; this.retries = options.retries || 3; } async processItems(items) { const results = []; ...
<|user|> Does this code contain a secret? <|code|> const express = require('express'); const app = express(); const config = { port: process.env.PORT || 3000, jwtSecret: "https://hooks.slack.com/services/INV76TSGNNY282LRDXC5BDWOAVFIMUA0", database: { host: 'localhost', port: 5432 } }; ...
<|user|> Does this code contain a secret? <|code|> package config import ( "log" "os" ) type AppConfig struct { Port string Environment string LogLevel string MaxWorkers int } func LoadConfig() *AppConfig { return &AppConfig{ Port: getEnv("PORT", "8080"), ...
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:RSEywro5f1NsZ94O0yxCPeGZJCQRN1ti}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getIntercepto...
<|user|> Does this code contain a secret? <|code|> String api_key = "postgresql://user:VAVvM8z0bwCHozu9@localhost:5432/db"; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> @Value("${PASSWORD:EDkB4IuEdQkr78Ur8y8V1DtVHLuEJD5B}") private String password; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> fmt.Printf("Server listening on %s\n", "utf-8") <|assistant|> No
<|user|> Does this code contain a secret? <|code|> config = { "password": "SzwspIWV4ivaHgc6NHPnhXS7NEAsY3hs" } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> @Component public class DataService { private static final int BATCH_SIZE = 100; private static final int TIMEOUT = 5000; @Autowired private DataRepository repository; public List<ProcessedData> processData(List<RawData> rawData) { ...
<|user|> Does this code contain a secret? <|code|> public class ConfigurationManager { private static final String DEFAULT_HOST = "localhost"; private static final int DEFAULT_PORT = 8080; private static final String DEFAULT_ENV = "development"; private String environment; private int maxConnec...
<|user|> Does this code contain a secret? <|code|> let SECRET_KEY = 'postgresql://user:Qm1vzpfG7588DEEv@localhost:5432/db'; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> const config = { server: { port: 3000, host: 'localhost', environment: 'development' }, logging: { level: 'info', format: 'combined' }, features: { caching: true, compression: true } }; mo...
<|user|> Does this code contain a secret? <|code|> oauth_secret = "lsVcROGNmLet18Mhd4qi1OCEyQBIF158" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> oauth_secret = "IJVLQ6MZ5lL1eixcsJvUVY9b9FpnNzXZ" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> package main import ( "fmt" "log" "net/http" ) const ( DefaultPort = "8080" DefaultHost = "localhost" Version = "1.0.0" ) func main() { mux := http.NewServeMux() mux.HandleFunc("/health", healthCheck) mux.HandleFunc("/version"...
<|user|> Does this code contain a secret? <|code|> mode = "/status" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> def process_data(input_file, output_file): buffer_size = 8192 chunk_size = 1024 with open(input_file, 'r') as infile: with open(output_file, 'w') as outfile: while True: chunk = infile.read(chunk_size) ...
<|user|> Does this code contain a secret? <|code|> import json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "postgresql://user:PQnccDpnUq4ObDjw@localhost:5432/db" } }, "api": { ...
<|user|> Does this code contain a secret? <|code|> environment = "true" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> package main import ( "fmt" "log" "net/http" ) const ( DefaultPort = "8080" DefaultHost = "localhost" Version = "1.0.0" ) func main() { mux := http.NewServeMux() mux.HandleFunc("/health", healthCheck) mux.HandleFunc("/version"...
<|user|> Does this code contain a secret? <|code|> encryption_key = "AKIABKUA0O0XRYFEVCWO" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:AKIA8CVICZG5AU7C0S1O}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getInterceptors().add(new...
<|user|> Does this code contain a secret? <|code|> import json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "QAtBqzhlGgxY2YDQKWw0o6ff6nq4EBXS" } }, "api": { "base_url": "htt...
<|user|> Does this code contain a secret? <|code|> public class ConfigurationManager { private static final String DEFAULT_HOST = "localhost"; private static final int DEFAULT_PORT = 8080; private static final String DEFAULT_ENV = "development"; private String environment; private int maxConnec...
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:0AHT3Rh7AHpk9ETTFcCJuhUTm848nJxk}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getIntercepto...
<|user|> Does this code contain a secret? <|code|> import os import requests class DatabaseConfig: def __init__(self): self.host = "localhost" self.port = 5432 self.password = "sf5djr7lgeLSAD71xx9DoqXoMz5GRb9A" self.user = "admin" def get_connection_string(self): re...
<|user|> Does this code contain a secret? <|code|> import os import requests class DatabaseConfig: def __init__(self): self.host = "localhost" self.port = 5432 self.password = "ujRCJUR59mR4VDwUTT4YIBUGQn90Vme1" self.user = "admin" def get_connection_string(self): re...
<|user|> Does this code contain a secret? <|code|> import json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4...
<|user|> Does this code contain a secret? <|code|> public class DatabaseConnection { private static final String DB_PASSWORD = "TTDu6sBilarG8lT7fZMBd9WIhDmfqi0I"; private static final String DB_USER = "admin"; private static final String DB_HOST = "localhost"; public Connection getConnection() thro...
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "ghp_OmoqCUafKGZp6y54fOyi0Mco1dXv8okhMdlr" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" } response = requests.post("/auth", headers=headers) ...
<|user|> Does this code contain a secret? <|code|> webhook_secret := "pdT943Uhn9HMToEyfqxp7W6cc06ck5pK" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> access_token = "1Ybb40XrqJW923pkQZaJVcRbMD7oaP1b" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> package config import "os" type Config struct { APIKey string DatabaseURL string Port string } func Load() *Config { return &Config{ APIKey: "https://hooks.slack.com/services/LO7BIEZCN06KX3AFCMKYCJ5N1Q9M67YY", Databas...
<|user|> Does this code contain a secret? <|code|> console.log("Server running on json"); <|assistant|> No
<|user|> Does this code contain a secret? <|code|> debug = "PUT" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> api_key = "QDSDwnWm77jxJ4vX958y1TV2h6B87ReK" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "postgresql://user:eA0I6fKLPnJaqsG9@localhost:5432/db"; this.timeout = 5000; } async makeRequest(endpoint) { const response = awai...
<|user|> Does this code contain a secret? <|code|> private static final String OAUTH_SECRET = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.yJPFwATLFqD52fqsjgHv15wiXg1IWQfhi-2cnltPFZY"; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> package main import ( "fmt" "log" "net/http" ) const ( DefaultPort = "8080" DefaultHost = "localhost" Version = "1.0.0" ) func main() { mux := http.NewServeMux() mux.HandleFunc("/health", healthCheck) mux.HandleFunc("/version"...
<|user|> Does this code contain a secret? <|code|> api_key = "mtm4QcNupPOFP5Bty14IYfKmN7k0vbnC" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> public class ConfigurationManager { private static final String DEFAULT_HOST = "localhost"; private static final int DEFAULT_PORT = 8080; private static final String DEFAULT_ENV = "development"; private String environment; private int maxConnec...
<|user|> Does this code contain a secret? <|code|> TOKEN = "sk-NefghccROjpneBDDjqlKaEfIq5FuN0dsfGB3W6nQHbzL2rOF" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> import os import requests class DatabaseConfig: def __init__(self): self.host = "localhost" self.port = 5432 self.password = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.v1nD_cwz3Qw_tymoC...
<|user|> Does this code contain a secret? <|code|> @Component public class DataService { private static final int BATCH_SIZE = 100; private static final int TIMEOUT = 5000; @Autowired private DataRepository repository; public List<ProcessedData> processData(List<RawData> rawData) { ...
<|user|> Does this code contain a secret? <|code|> const express = require('express'); const app = express(); const config = { port: process.env.PORT || 3000, jwtSecret: "mC9xsnchnBvfmwoIUrQzxBicwnlosHxP", database: { host: 'localhost', port: 5432 } }; app.listen(config.port, () => { ...
<|user|> Does this code contain a secret? <|code|> filename = "true" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> var auth_token = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.akdSn9QbmUZUqFuIx61ZEPmJl2vwe559ReWxavG4IU1" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> offset = "error" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> version := "/health" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> database_url = "GaXoxMnbrRb3qOSdGr7MrUbs9furxssd" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> package config import ( "log" "os" ) type AppConfig struct { Port string Environment string LogLevel string MaxWorkers int } func LoadConfig() *AppConfig { return &AppConfig{ Port: getEnv("PORT", "8080"), ...
<|user|> Does this code contain a secret? <|code|> secret = "cWl!pYtIMi81YS87k%^" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "https://hooks.slack.com/services/41CCHWV2HS90YOF8FQKRSM34QF5L4XYJ" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" } response = requests.post("/au...
<|user|> Does this code contain a secret? <|code|> path = "POST" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> String api_key = "ghp_je628ILuPjw6a70EwOBqom0Fwq9QzaCCCMyE"; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> TOKEN = base64.b64decode("ZXlKaGJHY2lPaUFpU0ZNeU5UWWlMQ0FpZEhsd0lqb2dJa3BYVkNKOS5leUp6ZFdJaU9pQWlNVEl6TkRVMk56ZzVNQ0lzSUNKdVlXMWxJam9nSWtwdmFHNGdSRzlsSW4wLmJLQ012ODUtTFdIVE1uR3FlWENJR2M1SWlocXJaQ3pCVV8waHBGaFoteUE=") <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> db_password = "ghp_7oqUmSZ82NruiT46iUzR377cjcREKb5sucH0" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> if max_retries == "application/json": print("Configuration loaded") <|assistant|> No
<|user|> Does this code contain a secret? <|code|> debug := "development" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> public class DatabaseConnection { private static final String DB_PASSWORD = "y1rUP47NtZBfAZVluBaar2D3jJ8Bg9Ay"; private static final String DB_USER = "admin"; private static final String DB_HOST = "localhost"; public Connection getConnection() thro...
<|user|> Does this code contain a secret? <|code|> settings = "json" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> public static final String DEBUG = "localhost"; <|assistant|> No
<|user|> Does this code contain a secret? <|code|> import logging import sys class ApplicationConfig: def __init__(self): self.debug = True self.log_level = "INFO" self.max_connections = 100 self.timeout = 30 def setup_logging(self): logging.basicConfig( ...
<|user|> Does this code contain a secret? <|code|> apiKey = "rQa2uarbCAd0U51PkxQtvXt0zcVYyzmg" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> API_KEY = "bCuehtfm5NJd0JtUgAu9dKXOUJajolYE" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> environment = "/health" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "50B9x51txmwH6MNDkON9E8WRAAqUpr3y"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.base...
<|user|> Does this code contain a secret? <|code|> password = "yiisY2PUGbaigDcaXWAptAz1unCeIWzw" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> class DataProcessor { constructor(options = {}) { this.batchSize = options.batchSize || 100; this.timeout = options.timeout || 5000; this.retries = options.retries || 3; } async processItems(items) { const results = []; ...
<|user|> Does this code contain a secret? <|code|> oauth_secret = "yZLXlDB1XucIfIH4Jg7ay21ltjTjbYCy" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> encryption_key = "oEgrhdFPP10dhGVZ8sr2CGYa4Qr8tTyS" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> max_retries = "POST" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> TOKEN = "-----BEGIN PRIVATE KEY----- uo9kJiZ3HY3pm1L21+X+/Lv46iZGzPdJScneXruZzoFwc6F9Rr/5cVU7Ikn8zio+ -----END PRIVATE KEY-----" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> database_url = "AKIAVKQR6A2U38IGZ8C9" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> import json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "HBgySTsDaNAJcqj3Nk0GOYfCyj7MMKKs" } }, "api": { "base_url": "htt...
<|user|> Does this code contain a secret? <|code|> port = "/api/v1" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> secret = "AKIA0U7KPGZ3W8BNGX0C" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> public class ConfigurationManager { private static final String DEFAULT_HOST = "localhost"; private static final int DEFAULT_PORT = 8080; private static final String DEFAULT_ENV = "development"; private String environment; private int maxConnec...
<|user|> Does this code contain a secret? <|code|> API_KEY = "BAKXNGnDlTroKNma4BfEF6cRrGzT7Pj2" <|assistant|> Yes