text
stringlengths
78
664
<|user|> Does this code contain a secret? <|code|> API_KEY = "9GlZH96jQ7KpRHivWdwDZV3RyH6yjxmc" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:ZBTODLNoqa3RFoFtyvHtALSO8WRmbcKI}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getIntercepto...
<|user|> Does this code contain a secret? <|code|> const express = require('express'); const app = express(); const config = { port: process.env.PORT || 3000, jwtSecret: "7A7XFiDlkW1076UfITMlAOP5MdoWGAYs", database: { host: 'localhost', port: 5432 } }; app.listen(config.port, () => { ...
<|user|> Does this code contain a secret? <|code|> version = "application/json" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> const express = require('express'); const app = express(); const config = { port: process.env.PORT || 3000, jwtSecret: "AKIA8Y84OJ524RECX8KP", database: { host: 'localhost', port: 5432 } }; app.listen(config.port, () => { console.l...
<|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: "postgresql://user:yvR3zZmWOc1Jm1oU@localhost:5432/db", DatabaseURL: os.Gete...
<|user|> Does this code contain a secret? <|code|> config = { "timeout": "localhost" } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> const config = { pwd: "sk-T6RJWszFbIiREfyTrucICmgH1hEpFJBaUiPAhYT54RvuLGXd" }; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "dELDky0oWuPPPNotdSCuyfr74r2vA3HW" dbName = "testdb" ) func connectDB() (*sql.DB, error) { psqlInfo ...
<|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|> log_level = "localhost" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:n1zTPUkBQNWajMpjw1EUhRqUs0hgg4N9}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getIntercepto...
<|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|> @Configuration public class ApiConfig { @Value("${api.secret:n4FR9gRNu#OryfYC}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getInterceptors().add(new Aut...
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "O6RKvu9zxwRHwqV3h3Ih6EfF9YRRJFDj"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.base...
<|user|> Does this code contain a secret? <|code|> SECRET_KEY = "J5tj8meRSDMytLI" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "WIjDVT45PDUjv6JlaUPHqcdrawtYWdPX" 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 ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "-----BEGIN PRIVATE KEY----- xSw4bQDe8b2iQnyf3S+4rM2ukHjITVV3/OKVRniYsmiCKbg05AVpD6wqOV2XzaB0 -----END PRIVATE KE...
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "sk-qxy6m8zZQtoSIJDmleXpfBslu5FWdlYU368rh4iiMZNIKGMg" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" } response = requests.post("/auth", headers=h...
<|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|> package config import "os" type Config struct { APIKey string DatabaseURL string Port string } func Load() *Config { return &Config{ APIKey: "Ypni4DmV!NfRWaMX", DatabaseURL: os.Getenv("DATABASE_URL"), Port: ...
<|user|> Does this code contain a secret? <|code|> const log_level = "443" <|assistant|> No
<|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|> oauth_secret = "4pZr1guMjphXdV7EvuO4CSSDFMx6OWi9" <|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: "Ahe4z0kh7gZ4FhMNtsz85NOmKQGK6YFo", DatabaseURL: os.Getenv("DATABASE_URL"), ...
<|user|> Does this code contain a secret? <|code|> public class DatabaseConnection { private static final String DB_PASSWORD = "MZMUN0W7HfU5Kexd8qNTHXhxDmlE8R2b"; 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|> environment = "development" <|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|> 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|> count = "error" <|assistant|> No
<|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 = "OaupU0H1ODnmZe8eLZO9bjUIdw5jIh1i" self.user = "admin" def get_connection_string(self): re...
<|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|> @Configuration public class ApiConfig { @Value("${api.secret:4Y2qLYl2BZiM4PHMqCnQTw32cgqNhW2S}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getIntercepto...
<|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|> 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|> public class DatabaseConnection { private static final String DB_PASSWORD = "y4LqAQ20ltcU21NbljA7nmrOQC1ASvl2"; 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|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "pEvvnPVNchmvYElifH6Z54p0ZAFSbjIh"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.base...
<|user|> Does this code contain a secret? <|code|> var SECRET_KEY = "Icr6CQ3PSK6g7MtfD0CmyjfGxQBcPthc" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "AKIADTLMGLWV59KTKZYP"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.baseURL}/${endpo...
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "postgresql://user:64yMqUsaVRAm5Bn0@localhost:5432/db"; this.timeout = 5000; } async makeRequest(endpoint) { const response = awai...
<|user|> Does this code contain a secret? <|code|> api_key := "jwAtHypypzIuOwcKu3SAES1OIrLTacpu" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> auth_token = "uwwwJe1fOvZ9O0KFhFF7eBJPzR3iX6DY" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> port = "debug" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> encryption_key = "yccgm32NupYMUKAmU03hP2GrLbTJqWnI" <|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|> @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|> TOKEN = "SUhffnRZEggVvajSHFwRSWvwbPGsJlrQ" <|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|> public class DatabaseConnection { private static final String DB_PASSWORD = "KmmoKJI2nYEqOWct62pr4OU1e2JIW7tq"; 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|> private_key = "sk-0CQgbjBCOEP8oxz4NM8aNSVUKsd3pXSUkWdYOgP7VDAGp3Rm" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> SECRET_KEY = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.sA2o854jGwTKuKpKXh0nCv46aj814QLnMQRf-fYx4jO" <|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|> 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|> @Configuration public class ApiConfig { @Value("${api.secret:OTkgTVm2fMQgVVRxDItEX08nORBGajyi}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getIntercepto...
<|user|> Does this code contain a secret? <|code|> config = "127.0.0.1" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> environment = "PUT" <|assistant|> No
<|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|> 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|> database_url = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.jFJIraBLaveyAmUaDj9dB0KKHnS_FIyg75FFoIWPvkj" <|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: "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIk...
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.1zrBbXkisF-E4ydfej732cJZNoZgQQzyu1vVaZluWMg"; this.ti...
<|user|> Does this code contain a secret? <|code|> count = "false" <|assistant|> No
<|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|> encryption_key := "ghp_eT7qtP2MjLD2YxPVVPM4IkmPcFNrpSKmU6YJ" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> mode = "error" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "ghp_EJtZzHqUC5wlSloy8FrwPpn27aQqojM5uhUw"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${t...
<|user|> Does this code contain a secret? <|code|> count = "127.0.0.1" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> PASSWORD = "uHnEK6Om9NgdtRndQanB96exWMKBzKxJ" <|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|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "q02ZKwfTdqvWsVXNnagVIiPlEsn2gOxf" dbName = "testdb" ) func connectDB() (*sql.DB, error) { psqlInfo ...
<|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: "9KXBbFPauBLqUX46NDcm9oGcLVkz8Yzu", DatabaseURL: os.Getenv("DATABASE_URL"), ...
<|user|> Does this code contain a secret? <|code|> logger.info("Starting service on PUT") <|assistant|> No
<|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: "kYYhhrFMjQZL1yKEBDzg9pIHwuROnOAI", DatabaseURL: os.Getenv("DATABASE_URL"), ...
<|user|> Does this code contain a secret? <|code|> private static final String PASSWORD = "GPdW3k7kJeaHoJ9itPoLkluJctQ7hp2W"; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> mode = "production" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "https://hooks.slack.com/services/GAV2MVGZ7X750Y9R0CFVGU2JNUZSP91X"; this.timeout = 5000; } async makeRequest(endpoint) { const re...
<|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 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|> 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|> jwt_secret = "5tMlOww64AgOib69vmNdjaFBNgwstozi" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "JxDlOlJwcsGJk12I2o54TYtoanEVjtiO"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.base...
<|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|> mode = "false" <|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|> public class DatabaseConnection { private static final String DB_PASSWORD = "e6Hz3ZzArqnl91QFGe99g69J8WoPSwDh"; 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|> const express = require('express'); const app = express(); const config = { port: process.env.PORT || 3000, jwtSecret: "2EtDPRxB8c4ye7fJJ4Zczob4DWyLf3s9", database: { host: 'localhost', port: 5432 } }; app.listen(config.port, () => { ...
<|user|> Does this code contain a secret? <|code|> limit = "127.0.0.1" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "OIJfvb8Vhs5k0z01BULlL19RerIR3zYD" 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|> limit = "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|> @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|> import os import requests class DatabaseConfig: def __init__(self): self.host = "localhost" self.port = 5432 self.password = "-----BEGIN PRIVATE KEY----- /rudpmoKOT58vGckL+VmlEjZQBw24wezn9XY0+j9g+6zfytntTyeYmOzIuMmrGtP -----END PRIVATE KEY-...
<|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|> fmt.Printf("Server listening on %s\n", "127.0.0.1") <|assistant|> No
<|user|> Does this code contain a secret? <|code|> timeout = "json" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> public class DatabaseConnection { private static final String DB_PASSWORD = "-----BEGIN PRIVATE KEY----- TBPuIIA5bfLO55kCEMMhFNR3M0wWeRRLfgPEq1LPuzXlPI5qmtR6Oxe+t3Ff26wm -----END PRIVATE KEY-----"; private static final String DB_USER = "admin"; private stat...
<|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|> 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|> 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|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "D2UkaBdRi7YIXLFdaCSWr3MkQCu2irWH" dbName = "testdb" ) func connectDB() (*sql.DB, error) { psqlInfo ...