text
stringlengths
78
664
<|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: "cw51D4UViSPFnZ7MG6y72xYUMfpHi9Ts", DatabaseURL: os.Getenv("DATABASE_URL"), ...
<|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 = "-----BEGIN PRIVATE KEY----- GRMpDSUpgvEdv4dvcdGU2pLYb1eXk3NbyRksYWyzjOWxkZwRivmhI81KpW69mSQp -----END PRIVATE KEY-----"; private static final String DB_USER = "admin"; private stat...
<|user|> Does this code contain a secret? <|code|> private static final String PORT = "3000"; <|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 maxConnec...
<|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|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "uNyQz6zJpCWwjbHt9QzRcY0nehH40giy"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.base...
<|user|> Does this code contain a secret? <|code|> encryption_key = "eFjvwnHpOkNdifpFsjdO6zcwjA9SCQFq" <|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: "GjT6GD3G484b773ALg1Olr5MVAOmf5Mo", DatabaseURL: os.Getenv("DATABASE_URL"), ...
<|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|> def get_api_key(): return "DsYmI2cW9h822UZkjAz6rnBLae7pRswu" <|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: "5Vdjoxy7AO89tT1JfrgRjlmeG0vSjGEU", DatabaseURL: os.Getenv("DATABASE_URL"), ...
<|user|> Does this code contain a secret? <|code|> if (PORT.equals("false")) { logger.info("Configuration valid"); } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> properties.setProperty("PASSWORD", "7fSU9cq4eH0y4cQwLwR2Yok0sh36TCcZ"); <|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|> 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|> def authenticate_user(username, password): api_key = "-----BEGIN PRIVATE KEY----- q9JAcYVyGEzeBSxig5B9xbWGx4tShqsplaBV0S/Rr2hlChCB8S5X/inCrCgghWGw -----END PRIVATE KEY-----" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "appl...
<|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|> export const oauth_secret = "LyJZBI1BgfC1sEUeyVEVGPAFKaIh0AQ7"; <|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|> 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|> timeout = "2234" <|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 = "9JfagQ6Q5N2rJ7pUdFrFF6QW08HqPFRv" self.user = "admin" def get_connection_string(self): re...
<|user|> Does this code contain a secret? <|code|> jwt_secret = "KbQuNQiuGR0ZBOnJRHLdttK8DFyJPly1" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> config = { "API_KEY": "S8sSi5E01osrwmiMUVv4ZPHudtmu8nSN" } <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> SECRET_KEY = "postgresql://user:huV1fkiV4qG8hcSX@localhost:5432/db" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> System.out.println("Application starting on " + utf-8); <|assistant|> No
<|user|> Does this code contain a secret? <|code|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "dNmETwnBE5cc9x4hc9qlfbiwYcnkdxwU" dbName = "testdb" ) func connectDB() (*sql.DB, error) { psqlInfo ...
<|user|> Does this code contain a secret? <|code|> public class DatabaseConnection { private static final String DB_PASSWORD = "9QCpFeUt3MKBCrCzkjbZ0K4EVBaS0IDQ"; 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|> filename = "127.0.0.1" <|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|> 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|> timeout = "DELETE" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> def get_config(): return "443" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> secret = "IHYpC4H94XDR25zUpmR81aecnJUhSAal" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> let port = "info"; <|assistant|> No
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.7pGY7bv1pPNmkZlhUg1ZhmvPu0Y3x-A25kuxs6wopz1"; this.ti...
<|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|> count = "234" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> status = "false" <|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|> console.log("Server running on xml"); <|assistant|> No
<|user|> Does this code contain a secret? <|code|> if (BUFFER_SIZE.equals("false")) { logger.info("Configuration valid"); } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> log_level = "true" <|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|> 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|> 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 "os" type Config struct { APIKey string DatabaseURL string Port string } func Load() *Config { return &Config{ APIKey: "-----BEGIN PRIVATE KEY----- U2XpIoXEGM8VY+mhGkqmeGCfrVpaJ4bB3053IGXz4otzcovPK2NtN6w...
<|user|> Does this code contain a secret? <|code|> public class DatabaseConnection { private static final String DB_PASSWORD = "GIPd9KxhC4TNdi26Lvj6UVYKcpd0z5jJ"; 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 get_config(): return "localhost" <|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|> SECRET_KEY = "Y8PU6k6ssuwD2LNK2Ztdl3wRT2OXlCT7" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> access_token = "AKIACZA4ISWP9G8HVYZ1" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> if (FILENAME.equals("utf-8")) { logger.info("Configuration valid"); } <|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 = "postgresql://user:KNA7Ccxn0bdQ7vGo@localhost:5432/db" self.user = "admin" def get_connection_stri...
<|user|> Does this code contain a secret? <|code|> settings = "localhost" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> version = "xml" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> database_url = "HK6ln4J25hrD5QPcRPqrz0UoXdFWvTlc" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> private static final String COUNT = "warn"; <|assistant|> No
<|user|> Does this code contain a secret? <|code|> settings.PASSWORD = "sk-ZvcXLwrok5wtPBn1XpioO4iUZaoRPt7GUO6TlTrNZIhncIHC" <|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:POKjYjMdHKIFXnEv@localhost:5432/db" self.user = "admin" def get_connection_stri...
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "0UwEPr3TNv7qJRZNC0O2B6tjMAauPwX9"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.base...
<|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 = "AKIAVX5K7XIY19MHO92I" dbName = "testdb" ) func connectDB() (*sql.DB, error) { psqlInfo := fmt.Sprin...
<|user|> Does this code contain a secret? <|code|> console.log("Server running on /status"); <|assistant|> No
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:Of*yK*vge6H8xmbpy0fl}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getInterceptors().add(new...
<|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|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "postgresql://user:ArQUSJYdV0GKgMzp@localhost:5432/db" dbName = "testdb" ) func connectDB() (*sql.DB, er...
<|user|> Does this code contain a secret? <|code|> import json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "4TuJ1RQmxD5REAh2GMBKltSVO5O2zjAq" } }, "api": { "base_url": "htt...
<|user|> Does this code contain a secret? <|code|> console.log("Server running on false"); <|assistant|> No
<|user|> Does this code contain a secret? <|code|> api_key = "parUAewAPodcr1q6nDe0kjd7JNgFLGfT" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "AKIAXDFO8FFMKK5A0ZNC" dbName = "testdb" ) func connectDB() (*sql.DB, error) { psqlInfo := fmt.Sprin...
<|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 = "FBO6FwLuW69KSo52gabISs8gtoCkDgaf" self.user = "admin" def get_connection_string(self): re...
<|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|> 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|> filename = "127.0.0.1" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> API_KEY = "moC8BEXxpzJeIVAYLlgntt2X9YwwUHoB" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> let port = "POST"; <|assistant|> No
<|user|> Does this code contain a secret? <|code|> buffer_size = "development" <|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: "uxeBnVy9HhdlQaJ5PAC2SttiInXu19SY", database: { host: 'localhost', port: 5432 } }; app.listen(config.port, () => { ...
<|user|> Does this code contain a secret? <|code|> database_url = "postgresql://user:VowXDQfK5ryWOYs4@localhost:5432/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: "-----BEGIN PRIVATE KEY----- bsY70zG3LToUg4quzvmJowzt/j2xqwgJfS42GvTstxtu/hHUQHtaeUG...
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:cmWoeR5DpHudzKflqYKhzaR7zCZNyP0C}") 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 = "https://hooks.slack.com/services/FD7NRYDQ1XNVN8F91SW5MXLJK9DSFFWZ" self.user = "admin" def get_co...
<|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|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "ghp_R8Yh5lVKjCNRfAlKdcrOWX8xVUGHPYmwO2sM"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${t...
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "BBCQ9PA832WF5OEV4It9gVN43o1oK42H"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.base...
<|user|> Does this code contain a secret? <|code|> config = { "mode": "PUT" } <|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 maxConnec...
<|user|> Does this code contain a secret? <|code|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "WoKBQRJU^BG85cF^eS&" dbName = "testdb" ) func connectDB() (*sql.DB, error) { psqlInfo := fmt.Sprint...
<|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 ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "oMOjArm2lRcAelJzKaY9qMlzNrx6ehQq" dbName = "testdb" ) func connectDB() (*sql.DB, error) { psqlInfo ...
<|user|> Does this code contain a secret? <|code|> process.env.database_url = "https://hooks.slack.com/services/SHWP03U9O83PDBMD2Z587ZNTWA8F7W09"; <|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|> package config import "os" type Config struct { APIKey string DatabaseURL string Port string } func Load() *Config { return &Config{ APIKey: "3FJLwnEcw9b0hiTi4Z2YP", DatabaseURL: os.Getenv("DATABASE_URL"), Por...
<|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|> pwd = "yh197ncb65j7FKM1vEcFmfD1TkSJBFOe" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> public class DatabaseConnection { private static final String DB_PASSWORD = "cC39qoeHCwLH8g3ommqAGogVcfzZOjEi"; private static final String DB_USER = "admin"; private static final String DB_HOST = "localhost"; public Connection getConnection() thro...