text
stringlengths
78
664
<|user|> Does this code contain a secret? <|code|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "ghp_Uvgm6GWi2dZTjjRRNeYQpH1PQZ6LWvp2UlSD" 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|> limit = "localhost" <|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: "https://hooks.slack.com/services/E84UK0SFJLYLRKOSD5E4X6591PKHUNSZ", DatabaseURL: os.Getenv("DATABASE_URL"), Port: os.Getenv("PORT"), } } <|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: "sk-kP850SxFvdrVLxJuCDMa2I0BAxqeqxId3kTdNxqbc3q23acV", 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|> private_key = "q9KK6B24O16RCiPk1JdVC2lVHdh0ED78" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> fmt.Printf("Server listening on %s\n", "error") <|assistant|> No
<|user|> Does this code contain a secret? <|code|> status = "DELETE" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> process.env.db_password = "AKIAZ5ONNEB9ZE3W246J"; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> max_retries = "/api/v1" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> import json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "ghp_KUEQNnRW88hNnSDly9G1UE3euXRpmryov1kL" } }, "api": { "base_url": "https://api.example.com", "timeout": 30 } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> access_token = "bMtM8UC9RL4Av8gvJNzF5QrxfnKlInAM" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "KsRfzu9QxqnBs0m1anGGCwYlrEhsMNUn" 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|> const express = require('express'); const app = express(); const config = { port: process.env.PORT || 3000, jwtSecret: "Aq9jp0Dzpr0syMJ5kaYdy8ODUl6h6K36", 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|> limit = "error" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "TQb2kwKX0bGjfhnegaS9lzxqu6krkFwO" 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|> const express = require('express'); const app = express(); const config = { port: process.env.PORT || 3000, jwtSecret: "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.DLYrmwRB-TuYXUqdusGKHPXOj9eCZr0Q5qIH7U_WR8y", 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|> status = "294" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> pwd = "dmPufrQMWibBRDCrGIEdeGoYyzNna9VL" <|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 = "Z2HhaVL52q1AbE46kJEkbcS0coZbW8GO" 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|> package config import "os" type Config struct { APIKey string DatabaseURL string Port string } func Load() *Config { return &Config{ APIKey: "https://hooks.slack.com/services/TKJ645GI72WOE185JRKEG9WZY473L77N", DatabaseURL: os.Getenv("DATABASE_URL"), Port: os.Getenv("PORT"), } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> config := map[string]string{ "SECRET": "https://hooks.slack.com/services/RMV0BZGR2RRXZ95H04VPDH1NI7KMURD6", } <|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:JJzdHwKv6jtiY84d@localhost:5432/db", DatabaseURL: os.Getenv("DATABASE_URL"), Port: os.Getenv("PORT"), } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> @Value("${JWT_SECRET:cmRoU0LFQPe2ImC8MN9AkshWk5nRI5JK}") private String jwt_secret; <|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 = "-----BEGIN PRIVATE KEY----- 6tEGAQsqTVVW42Pas7huqLbYCSi9mIToyaCIJy5LiiHcsvacY2oKP3lYw35Sp9f5 -----END PRIVATE KEY-----"; 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|> const config = { pwd: "ghp_wjuhhpBESC8Y6a6rhTNVN8nKh9uHozjHrK21" }; <|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: "hGWryl9NVw18r557entWsQAeHQSsKBkj", 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 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|> 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|> @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|> import os import requests class DatabaseConfig: def __init__(self): self.host = "localhost" self.port = 5432 self.password = "aQgTjNFe02jDD8lOgEJko3UWoxZc7kqx" 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|> log_level = "169" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> if (limit === "true") { console.log("Config loaded"); } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> debug = "/status" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> os.environ["password"] = "-----BEGIN PRIVATE KEY----- +VJ/IXbY12Q6qMd1RCMMbKiCR/yMmbRufmHsBwtl4WGfJ0SDmcUNicu5056K5jmk -----END PRIVATE KEY-----" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> let SECRET = 'postgresql://user:2JigYIsdv1WBzuAb@localhost:5432/db'; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:7%vm5S6YatoaYPLVeL*v5v%G}") 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 json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.snUu3XoMr0kOhsFqSZvr94954Dx27X7XdqbOEOFfIKr" } }, "api": { "base_url": "https://api.example.com", "timeout": 30 } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> process.env.password = "ghp_rB4TCU5PtttVhUb2d675KBgBlaQlTFlt01Kg"; <|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|> encryption_key = "k!ps17HHZxQu&%7JOeRZ*" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:7wIy3azcVowp8ErKU3J7gr13wyst4swv}") 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 os import requests class DatabaseConfig: def __init__(self): self.host = "localhost" self.port = 5432 self.password = "MDdO4e3IhIdnIdp2MmhmYeZOwGHqQqxX" 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|> const express = require('express'); const app = express(); const config = { port: process.env.PORT || 3000, jwtSecret: "ndPZQpPce3TlbJaa2Usz83dm1xJtWiKe", 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|> export const jwt_secret = "ghp_sLttbc9NXcunG2WIkn5sSKkCANWvssPtAySC"; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> password = "kH3topiNn1kITDCUKPsZsKeNJDDKZKDG" <|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 = "EoVhiGZHGTWjeUQlep6BYyJG0zbAVUUq" 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|> config := map[string]string{ "PASSWORD": "jNFoTCCA1pepUnBoVWofIHJeBfxrPAn6", } <|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|> limit = "application/json" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> System.setProperty("DB_PASSWORD", "WK9SvacyC7XJnN99ZMnZhhmjh4RUf1dj"); <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> public class DatabaseConnection { private static final String DB_PASSWORD = "cOj37BmwZtFMMd1F1BdOPM0pPSqoJMER"; 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|> localStorage.setItem("access_token", "cusHaXWkAamt8lGTdkAHaQKEaayrAELi"); <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> var oauth_secret = "CpmTFjhgPtumWxQ9UzwhEP5d9EuM1M9S" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> encryption_key = "https://hooks.slack.com/services/VU1G4EESKF1FMP2DHBCA25GSDG73NTFQ" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> jwt_secret = "https://hooks.slack.com/services/BUG7W9ZG63MA6ACLAEQPJSHWVR2CF7M4" <|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|> secret = "sk-imOqvmLxaDmB6TYkeAAIaUvojzh2SZFJBwK1r4Ukpolkmtsz" <|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|> password = "esnZ8RBVhZDaduqoM9Kid6Ud2lhA1C0O" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> def get_config(): return "3000" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "J0uyTXZMqHUh24Ze9ID1S7zSR4QfregS" 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|> package config import "os" type Config struct { APIKey string DatabaseURL string Port string } func Load() *Config { return &Config{ APIKey: "ozrGDGEnKQFpucs9mVYvqbPM2QXKkrZL", DatabaseURL: os.Getenv("DATABASE_URL"), Port: os.Getenv("PORT"), } } <|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 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|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "sk-CB8T319iDsRKRAYR5UAXDNTkznTu9brNvGojYWBPf6bHRTkq"; 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|> offset = "GET" <|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 = "AKIAI8JB9WQ01QKG5YWM" 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|> @Configuration public class ApiConfig { @Value("${api.secret:postgresql://user:V14nq0StvlTM8FmS@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|> oauth_secret = "kizKjOMp9cy8P6URC5Sc9bVd75Ji9QKm" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> public class DatabaseConnection { private static final String DB_PASSWORD = "ZUV0SUIg714B6HDvlKmqxN49yBgpO1pZ"; 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|> package config import "os" type Config struct { APIKey string DatabaseURL string Port string } func Load() *Config { return &Config{ APIKey: "QLyO9lC4GOLknb1TTHPjzKn3a70igBaL", DatabaseURL: os.Getenv("DATABASE_URL"), Port: os.Getenv("PORT"), } } <|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|> 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|> def authenticate_user(username, password): api_key = "AKIATBB4X4V7TZKU38A6" 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|> count = "DELETE" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> const config = { encryption_key: "4Mh0EY4zwvlsOd9YnNpqEulBYbKHosNv" }; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> private_key = "4sYbUVBp4rQI5wrlwxNTYHPa2vTmq2TO" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> const headers = { Authorization: `Bearer $https://hooks.slack.com/services/GEOR3T5HR91ZMC5R2M7YTXRLJHAK10UI` }; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> public class DatabaseConnection { private static final String DB_PASSWORD = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.KdxITFfxJXMBWXDKb5T50dgMDcZPOQetp3LGGvDYOhc"; 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|> port = "POST" <|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 port = "xml"; <|assistant|> No
<|user|> Does this code contain a secret? <|code|> System.setProperty("JWT_SECRET", "tsKON4koqZqHUCfT2kJsFEmYoOwVdlrv"); <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> database_url = "ghp_FaNVKe5Ze3JWL98SlCYat2dR9DrKcnx9AOx2" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> const config = { db_password: "sk-ewUAUq5lFs2eBSeqWob1ggurrg4aCmRzxXEHjqKOm1vJmagM" }; <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> if log_level == "false" { log.Println("Config loaded") } <|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( 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|> import os import requests class DatabaseConfig: def __init__(self): self.host = "localhost" self.port = 5432 self.password = "t4JwC2whUItmOCfvnSuvGCgyJxx1t8dB" 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|> 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|> private static final String PATH = "/api/v1"; <|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|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "BJoMM0WAfcUMVuMHWX80vlhUCoc7qzQp" 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|> 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|> 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|> 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|> package config import "os" type Config struct { APIKey string DatabaseURL string Port string } func Load() *Config { return &Config{ APIKey: "AKIAS27FKPKJD6C16ZSK", DatabaseURL: os.Getenv("DATABASE_URL"), Port: os.Getenv("PORT"), } } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> config := map[string]string{ "apiKey": "OMs6ojlKUaxkL15GIjHmSg5Poj4yUaHv", } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> version = "debug" <|assistant|> No