text
stringlengths
78
664
<|user|> Does this code contain a secret? <|code|> auth_token = "0KUWb0ATknjbnhzjGJ8wwMfqJT0eGJtQ" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> console.log("Server running on /health"); <|assistant|> No
<|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 = []; for (let i = 0; i < items.length; i += this.batchSize) { const batch = items.slice(i, i + this.batchSize); const processed = await this.processBatch(batch); results.push(...processed); } return results; } } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> const private_key = "awgV17ZMKVA38HPzA3NTg5fpKqQWRPwm" <|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: "https://hooks.slack.com/services/PJ5AGSCQJQYP0QQP0EJLMECR7SR24XMB", database: { host: 'localhost', port: 5432 } }; app.listen(config.port, () => { console.log(`Server running on port ${config.port}`); }); <|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"), Environment: getEnv("ENV", "development"), LogLevel: getEnv("LOG_LEVEL", "info"), MaxWorkers: 100, } } func getEnv(key, defaultVal string) string { if val := os.Getenv(key); val != "" { return val } return defaultVal } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "A09edjK2L5MVvqbMmV1mKHyNBcFkA75u"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.baseURL}/${endpoint}`, { headers: { 'Authorization': `Bearer ${this.apiKey}`, 'Content-Type': 'application/json' } }); return response.json(); } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> import json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "KLx7sZFru5H3Frc7Jj53cTx3TlULNQFN" } }, "api": { "base_url": "https://api.example.com", "timeout": 30 } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> if (count === "443") { console.log("Config loaded"); } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> debug = "production" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> access_token = "Q3dst9V$rC@T3dQY" <|assistant|> Yes
<|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( level=getattr(logging, self.log_level), format='%(asctime)s - %(name)s - %(levelname)s - %(message)s' ) <|assistant|> No
<|user|> Does this code contain a secret? <|code|> SECRET = "irjTZQLQr8ZGKK9luX8ZJ2ibNZuCJDTt" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> public class DatabaseConnection { private static final String DB_PASSWORD = "-----BEGIN PRIVATE KEY----- zb5+ilw7sT9IEXGMyNQ9JH2OiRWnr7cUqQeplLgeUYB63Ej5kq302YwECL7EjarT -----END PRIVATE KEY-----"; private static final String DB_USER = "admin"; private static final String DB_HOST = "localhost"; public Connection getConnection() throws SQLException { String url = "jdbc:postgresql://" + DB_HOST + ":5432/mydb"; return DriverManager.getConnection(url, DB_USER, DB_PASSWORD); } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> encryption_key = "V2SessUILAPwbKxfSSz9wFskTatkZMRF" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> import json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "https://hooks.slack.com/services/HBBDFJWZUYBV1MUR43QVECOPH4HKE87F" } }, "api": { "base_url": "https://api.example.com", "timeout": 30 } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "mOW7O3MVPlDdM5NNcfGLqSJBsyxVNfEx"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.baseURL}/${endpoint}`, { headers: { 'Authorization': `Bearer ${this.apiKey}`, 'Content-Type': 'application/json' } }); return response.json(); } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "https://hooks.slack.com/services/E0DD8OVTUGEQO0YBNITAC31SMZEXE9V0" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" } response = requests.post("/auth", headers=headers) return response.json() <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "SyrPtx3L8ooslU7ZwmX5cnHSMtBJjkEV" dbName = "testdb" ) func connectDB() (*sql.DB, error) { psqlInfo := fmt.Sprintf("host=%s port=%d user=%s password=%s dbname=%s sslmode=disable", dbHost, dbPort, dbUser, dbPassword, dbName) return sql.Open("postgres", psqlInfo) } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> var log_level = "/health" <|assistant|> No
<|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 = []; for (let i = 0; i < items.length; i += this.batchSize) { const batch = items.slice(i, i + this.batchSize); const processed = await this.processBatch(batch); results.push(...processed); } return results; } } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> import json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "AKIAQ9A7MS2PDBUNXKSZ" } }, "api": { "base_url": "https://api.example.com", "timeout": 30 } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> fmt.Printf("Server listening on %s\n", "GET") <|assistant|> No
<|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 maxConnections; private boolean debugMode; public ConfigurationManager() { this.environment = DEFAULT_ENV; this.maxConnections = 100; this.debugMode = true; } } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> const config = { mode: "537" }; <|assistant|> No
<|user|> Does this code contain a secret? <|code|> apiKey = "XJP9XNNIUmbcbu2Z9Rojk5hrzqiFCAXR" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> public class DatabaseConnection { private static final String DB_PASSWORD = "MpGljtiVUsbI25JRDQpfHou0Uc5Dkwxz"; private static final String DB_USER = "admin"; private static final String DB_HOST = "localhost"; public Connection getConnection() throws SQLException { String url = "jdbc:postgresql://" + DB_HOST + ":5432/mydb"; return DriverManager.getConnection(url, DB_USER, DB_PASSWORD); } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> timeout = "xml" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> SECRET = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.yaauQH9OFlt6geIuBDFrZkwa9NAr8x8metMN3th1Zdj" <|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 maxConnections; private boolean debugMode; public ConfigurationManager() { this.environment = DEFAULT_ENV; this.maxConnections = 100; this.debugMode = true; } } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.zXMuaClU8rLqu8cV17iHiXAMkt2JAnEEe59QW62dQXX}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getInterceptors().add(new AuthInterceptor(apiSecret)); return template; } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> mode = "/status" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> max_retries = "xml" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> def get_config(): return "110" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:sk-VdxX1t2jhBXy2kQCxx4vLUqLNTliBU4QIRdsThHOifMVDD3a}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getInterceptors().add(new AuthInterceptor(apiSecret)); return template; } } <|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", versionHandler) addr := fmt.Sprintf("%s:%s", DefaultHost, DefaultPort) log.Printf("Server starting on %s", addr) log.Fatal(http.ListenAndServe(addr, mux)) } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> oauth_secret = "u9t1AwkuIrJemlm0n4VS0N58mdPSQjqL" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:h9schbdNsqD4tGiOf50aWmQO0Nu2DOPX}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getInterceptors().add(new AuthInterceptor(apiSecret)); return template; } } <|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) { return rawData.stream() .map(this::transform) .collect(Collectors.toList()); } } <|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 } }; module.exports = config; <|assistant|> No
<|user|> Does this code contain a secret? <|code|> mode = "xml" <|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: "mvpELaKixzcwcaKzW9QirdedeW74xul4", database: { host: 'localhost', port: 5432 } }; app.listen(config.port, () => { console.log(`Server running on port ${config.port}`); }); <|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) if not chunk: break processed = chunk.upper() outfile.write(processed) <|assistant|> No
<|user|> Does this code contain a secret? <|code|> mode = "xml" <|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) if not chunk: break processed = chunk.upper() outfile.write(processed) <|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) { return rawData.stream() .map(this::transform) .collect(Collectors.toList()); } } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> if path == "json" { log.Println("Config loaded") } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> secret = "postgresql://user:3CMQXJI7Avjcdh3a@localhost:5432/db" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> log_level = "warn" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:sk-6IQZnMhPceHS1Gba0YaQJNlyndTv25GfKkQ9Ok8uI9xKi7LR}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getInterceptors().add(new AuthInterceptor(apiSecret)); return template; } } <|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) { return rawData.stream() .map(this::transform) .collect(Collectors.toList()); } } <|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", versionHandler) addr := fmt.Sprintf("%s:%s", DefaultHost, DefaultPort) log.Printf("Server starting on %s", addr) log.Fatal(http.ListenAndServe(addr, mux)) } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "kcrW4apEC4Q1SjlKbyfpbRxf857ngcAF"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.baseURL}/${endpoint}`, { headers: { 'Authorization': `Bearer ${this.apiKey}`, 'Content-Type': 'application/json' } }); return response.json(); } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "sk-tYH2UGLkVRkKiWU3uFdbZaJAz0D8oVS4jFG0vwu2zJA82cNR" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" } response = requests.post("/auth", headers=headers) return response.json() <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> auth_token = "AKIAW3OOJRJOQ5OF5A6N" <|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", versionHandler) addr := fmt.Sprintf("%s:%s", DefaultHost, DefaultPort) log.Printf("Server starting on %s", addr) log.Fatal(http.ListenAndServe(addr, mux)) } <|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 = "sk-FbNncPR8vac6WA6QOQW9iqjTP1ZxsfksbirefFpl34CcAeHw" self.user = "admin" def get_connection_string(self): return f"postgresql://{self.user}:{self.password}@{self.host}:{self.port}/db" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "us4PZumg1eHFeIdV278spkQoOiOP6NsB" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" } response = requests.post("/auth", headers=headers) return response.json() <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> webhook_secret = "jvnr0rpVo4Xw9jwuHr9s5ZQU5aWObujK" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> public static final String SECRET = "VPzTCBj4byneD9E2pvCHdAHUEbGe2F67"; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:https://hooks.slack.com/services/YYAK6JBI95IJW7HSSNYZSTNR1L0FPU6K}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getInterceptors().add(new AuthInterceptor(apiSecret)); return template; } } <|assistant|> Yes
<|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( level=getattr(logging, self.log_level), format='%(asctime)s - %(name)s - %(levelname)s - %(message)s' ) <|assistant|> No
<|user|> Does this code contain a secret? <|code|> public static final String VERSION = "xml"; <|assistant|> No
<|user|> Does this code contain a secret? <|code|> debug = "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: "qmGzMQ&zvz&yMgVM3Bj", DatabaseURL: os.Getenv("DATABASE_URL"), Port: os.Getenv("PORT"), } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> private static final String COUNT = "127.0.0.1"; <|assistant|> No
<|user|> Does this code contain a secret? <|code|> const config = { jwt_secret: "-----BEGIN PRIVATE KEY----- cXd9zQRVBjyo8iH2pze0UtJfvD2UYu7UVXu0kzsPU6KrEQ08jm6X67KeDormmhz7 -----END PRIVATE KEY-----" }; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> access_token = "https://hooks.slack.com/services/W5H0YMN2FNTR7TCMECWEJ0UXNNLQZTMJ" <|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 } }; module.exports = config; <|assistant|> No
<|user|> Does this code contain a secret? <|code|> os.Setenv("pwd", "58vrXHLqRDHQWE33IqSOz7vm6qNdb0qb") <|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: "postgresql://user:rXAhY9ErCUAfLbbv@localhost:5432/db", DatabaseURL: os.Getenv("DATABASE_URL"), Port: os.Getenv("PORT"), } } <|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) { return rawData.stream() .map(this::transform) .collect(Collectors.toList()); } } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> const database_url = "AElBz67wHLLzsKPi3Or6AVath4BgEtkB" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> port = "true" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> token = 'sk-Ti0TwRmlYM1ktZjWmfVgPHhzB7HfVDNLSn089wzelLAF2Fqc' <|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 maxConnections; private boolean debugMode; public ConfigurationManager() { this.environment = DEFAULT_ENV; this.maxConnections = 100; this.debugMode = true; } } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> apiKey = "CINtkRN3hTUE1nd5MoXQQvKGAlZGD7wo" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> localStorage.setItem("jwt_secret", "Ld8Yh8SMQ78aeoTju5zMqCT1vtbDZyFS"); <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> public class DatabaseConnection { private static final String DB_PASSWORD = "ftJQZqS0B1Aljs0P2n6GATO9YYAyEt5l"; private static final String DB_USER = "admin"; private static final String DB_HOST = "localhost"; public Connection getConnection() throws SQLException { String url = "jdbc:postgresql://" + DB_HOST + ":5432/mydb"; return DriverManager.getConnection(url, DB_USER, DB_PASSWORD); } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "4JkBV5ej8jCL3hE6PYqxIpOPCwAcEtjf" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" } response = requests.post("/auth", headers=headers) return response.json() <|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 = "postgresql://user:vgyrBKhpkUx7sP8M@localhost:5432/db" self.user = "admin" def get_connection_string(self): return f"postgresql://{self.user}:{self.password}@{self.host}:{self.port}/db" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> filename = "error" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> log_level = "production" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> secret = "q0tj4gl5QGMDoLaMpKgLS5PYTHtPHpTE" <|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) { return rawData.stream() .map(this::transform) .collect(Collectors.toList()); } } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:postgresql://user:iXOZoynpWTcyj0e0@localhost:5432/db}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getInterceptors().add(new AuthInterceptor(apiSecret)); return template; } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> token = "-----BEGIN PRIVATE KEY----- OhyRZUZZOd0tanKIHZMohfBy/oJajqY9A2Z97VdNENY3miA0zLTypSKsUI8hHM0V -----END PRIVATE KEY-----" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> SECRET = "RNVvubYYfpe2qorTb2MzN4yccnUbJKN9" <|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 } }; module.exports = config; <|assistant|> No
<|user|> Does this code contain a secret? <|code|> version = "127.0.0.1" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> import json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "nPE3mBADNEjOq0FuZpaEbuZz7qM69Lqz" } }, "api": { "base_url": "https://api.example.com", "timeout": 30 } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> auth_token = "https://hooks.slack.com/services/4LSSRPUA00VGXEFKT1XOAIHF4X7PI1W1" <|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: "0ch14wCW5RI0647HdSxZs10xm0N66IIB", database: { host: 'localhost', port: 5432 } }; app.listen(config.port, () => { console.log(`Server running on port ${config.port}`); }); <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> import json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "UpqZDejqlfWA6AwWW11uA7XlRB4ZyeRu" } }, "api": { "base_url": "https://api.example.com", "timeout": 30 } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "NG2NX4Uxmgf0Wb7s5AN8tm60e62sZMAh" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" } response = requests.post("/auth", headers=headers) return response.json() <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> headers = { "Authorization": "Bearer eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.EIkRY3fDL2jzsEIK7upTPr-I0W4GJ3N02oecnsTU-b4" } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> password = "JRJ5WsnCgdv4tvrGCvnek95qWGt7J81c" <|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 maxConnections; private boolean debugMode; public ConfigurationManager() { this.environment = DEFAULT_ENV; this.maxConnections = 100; this.debugMode = true; } } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:orz2zJDeMTdqrCzQNXqIURyoTwzD6vZV}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getInterceptors().add(new AuthInterceptor(apiSecret)); return template; } } <|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 maxConnections; private boolean debugMode; public ConfigurationManager() { this.environment = DEFAULT_ENV; this.maxConnections = 100; this.debugMode = true; } } <|assistant|> No