text
stringlengths
78
664
<|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|> db_password = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.ogatVb58XE0FHA0xC9ka-OFybaYklQerwjoMhhz_hbf" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> if (limit === "error") { console.log("Config loaded"); } <|assistant|> No
<|user|> Does this code contain a secret? <|code|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "BiMfqzO0v85cdfegZKGrvB7winI47smX" dbName = "testdb" ) func connectDB() (*sql.DB, error) { psqlInfo ...
<|user|> Does this code contain a secret? <|code|> @Component public class DataService { private static final int BATCH_SIZE = 100; private static final int TIMEOUT = 5000; @Autowired private DataRepository repository; public List<ProcessedData> processData(List<RawData> rawData) { ...
<|user|> Does this code contain a secret? <|code|> const log_level = "8080" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> TOKEN = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.uHoP6fJYjF52LEr-aFdTXJHpdGHiHqFzRKsMCRNxUDt" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> var timeout = "/health" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "ptJejVQPM25o6pUGV9LRIaCEoavJHWPG"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.base...
<|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|> port = "/api/v1" <|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: "1LEw109LAcm3sTDWYCA5ld0IM5WBTTyU", DatabaseURL: os.Getenv("DATABASE_URL"), ...
<|user|> Does this code contain a secret? <|code|> mode = "info" <|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 = []; ...
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "QMGvmVfMAxUqbHXKxGTuZF4IB7oqWaKm"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.base...
<|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|> 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: "D28ZH5H7G4Bw0VOtQWY9MzYbPIROazXU", DatabaseURL: os.Getenv("DATABASE_URL"), ...
<|user|> Does this code contain a secret? <|code|> TOKEN = "qDc8FSdVd7JEAqREsdM@kg" <|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: "AKIA3XMQAN86133EDOO2", DatabaseURL: os.Getenv("DATABASE_URL"), Port...
<|user|> Does this code contain a secret? <|code|> class DataProcessor { constructor(options = {}) { this.batchSize = options.batchSize || 100; this.timeout = options.timeout || 5000; this.retries = options.retries || 3; } async processItems(items) { const results = []; ...
<|user|> Does this code contain a secret? <|code|> webhook_secret = "sk-XBDyn5nF1QTYrzy4q8M1xGS0q8lz950wJte520XjNHfZTSH7" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> oauth_secret = "AKIAJZO5RTL4R9X0F0PI" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> localStorage.setItem("TOKEN", "https://hooks.slack.com/services/4G5SU9WOJ6XEZO63GBWH62M4MBIDJVOR"); <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> const jwt_secret = "AKIAGFK09QTT5GA6OED9" <|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----- npCFWkmVY3LZwUWp4oR6/Aa4EKOU7WHtOfC9RrERyoppwyNgha2xtaL...
<|user|> Does this code contain a secret? <|code|> var environment = "json" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> import json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "JSjpwqDT0AgoAfKfeOjfZFAW6YodRzwA" } }, "api": { "base_url": "htt...
<|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|> mode = "937" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> console.log("Server running on info"); <|assistant|> No
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:ghp_y71HMCkgGOsjyPNuVRyTtGbvGrKZhUSTii3v}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getIn...
<|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|> encryption_key = "-----BEGIN PRIVATE KEY----- TAwdvJPHyo68e+QkNRBVXTM6GJtnKXfyR2Or7oHBZrCM2tabmGji38e+TcOOFEy4 -----END PRIVATE KEY-----" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> api_key = "https://hooks.slack.com/services/YQOXCQHT6NKODF7MG7YGLFIGSYI8HRRY" <|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----- PMzQd9vB7EL5CCopYzxeZwnDhKISj+2CmjYCEMx19+GXKoXFfG1MjkR...
<|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|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "AKIAVKLAODCPXFDRA0PM"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.baseURL}/${endpo...
<|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|> @Configuration public class ApiConfig { @Value("${api.secret:-----BEGIN PRIVATE KEY----- uFNp0iZIczlOdqcT1MhRxotR5uu8vMjlU8e+B1MGt0p/vSIobL1h0YDGffs/xcOY -----END PRIVATE KEY-----}") private String apiSecret; @Bean public RestTemplate restTemplate(...
<|user|> Does this code contain a secret? <|code|> oauth_secret = "https://hooks.slack.com/services/6T5DFMIQPGZBG6TMQKBE5UQ7VC6Y0D20" <|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|> 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|> webhook_secret = "sk-1Tdi1KUzcSVgtnpXj6yStpLeIrPUrHHJsTm6t84YRIwIW1l7" <|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 ( "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|> password = "-----BEGIN PRIVATE KEY----- KHeLkiEh/Sko0Hm5q3SN9a7alvhaXOMgaas5hBcAhoBELflBE/uNoMuX/nMqovvc -----END PRIVATE KEY-----" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.w8ltK_6k7jQQTo77QrVMcIGbroKoNlWfclIJTpQYZq6}") private String apiSecret; @Bean public Rest...
<|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|> console.log("Server running on info"); <|assistant|> No
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "Rs3YfBC8iQA9My23PzBiaumYca40nsN4" 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|> const express = require('express'); const app = express(); const config = { port: process.env.PORT || 3000, jwtSecret: "TBQmX3VpfZnKf6mFXWdgN95AOTiOx7Ya", database: { host: 'localhost', port: 5432 } }; app.listen(config.port, () => { ...
<|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|> oauth_secret = "postgresql://user:369DSAyiSINTPjkL@localhost:5432/db" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> oauth_secret = "d2WJSHSmjgjrUtYS7APzfiuOEButwg0p" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> auth_token = "9tWyl42bdZI50AIcyh8m7I9kgWSIrbwQ" <|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|> public class DatabaseConnection { private static final String DB_PASSWORD = "postgresql://user:7aeps30v4bNIYPkG@localhost:5432/db"; private static final String DB_USER = "admin"; private static final String DB_HOST = "localhost"; public Connection ...
<|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: "F4uHsRxSw6OxmapXzJrv3uM2TaPSEuIZ", DatabaseURL: os.Getenv("DATABASE_URL"), ...
<|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|> @Configuration public class ApiConfig { @Value("${api.secret:8eKVKq730nRdJAVhfkhRp90Ia6m8V0RS}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getIntercepto...
<|user|> Does this code contain a secret? <|code|> TOKEN = "l1jQMoLZR5MaT7FAyN8ScdpXp81h2A2f" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "mUpw1NxoAtjTVMD77XA5s4FGIJ60Am7m"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.base...
<|user|> Does this code contain a secret? <|code|> const count = "3000" <|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|> 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|> const express = require('express'); const app = express(); const config = { port: process.env.PORT || 3000, jwtSecret: "M5mATf%NlhNRRe7I", database: { host: 'localhost', port: 5432 } }; app.listen(config.port, () => { console.log(`...
<|user|> Does this code contain a secret? <|code|> settings = "/health" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> def get_config(): return "/health" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> webhook_secret = "Xq52bVaDSuaXIi" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> package main import ( "fmt" "log" "net/http" ) const ( DefaultPort = "8080" DefaultHost = "localhost" Version = "1.0.0" ) func main() { mux := http.NewServeMux() mux.HandleFunc("/health", healthCheck) mux.HandleFunc("/version"...
<|user|> Does this code contain a secret? <|code|> class ApiClient { constructor() { this.baseURL = 'https://api.example.com'; this.apiKey = "AKIAR0PRKOC3BXZZMQNH"; this.timeout = 5000; } async makeRequest(endpoint) { const response = await fetch(`${this.baseURL}/${endpo...
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "FN8tvim2baIVKUCB2aX30is720E51rYw" 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|> System.setProperty("DATABASE_URL", "P1E2uPW1VEF8L5dFNEY6B1zg2u0Cyvgs"); <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> status = "POST" <|assistant|> No
<|user|> Does this code contain a secret? <|code|> package main import ( "database/sql" "fmt" ) const ( dbHost = "localhost" dbPort = 5432 dbUser = "admin" dbPassword = "IT3IDVIdI6NpcHeaErtmyAdrfgMnzLCe" dbName = "testdb" ) func connectDB() (*sql.DB, error) { psqlInfo ...
<|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 ( "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 ( "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|> let path = 85; <|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|> @Configuration public class ApiConfig { @Value("${api.secret:Mm3jjH8MgaRFmQ8gOx3Ja4qt27eKUvic}") private String apiSecret; @Bean public RestTemplate restTemplate() { RestTemplate template = new RestTemplate(); template.getIntercepto...
<|user|> Does this code contain a secret? <|code|> encryption_key = "ikW8Bl3WUvBgskrfNhkKoUkKXCF8Jbuv" <|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 config import "os" type Config struct { APIKey string DatabaseURL string Port string } func Load() *Config { return &Config{ APIKey: "ghp_dJYiF7nOEDnwwIiv3Lm7kl49bCjFEkkrStRh", DatabaseURL: os.Getenv("DATABASE...
<|user|> Does this code contain a secret? <|code|> def authenticate_user(username, password): api_key = "postgresql://user:U8rfh7Zz8Bg0VUdH@localhost:5432/db" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" } response = requests.post("/auth", headers=...
<|user|> Does this code contain a secret? <|code|> filename = "development" <|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 = []; ...
<|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 config import "os" type Config struct { APIKey string DatabaseURL string Port string } func Load() *Config { return &Config{ APIKey: "GbsluhhcO5NylOo7BPDlp3Eleww5L4Dm", DatabaseURL: os.Getenv("DATABASE_URL"), ...
<|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|> 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|> const express = require('express'); const app = express(); const config = { port: process.env.PORT || 3000, jwtSecret: "postgresql://user:pJf5XiwC1O8GRer8@localhost:5432/db", database: { host: 'localhost', port: 5432 } }; app.listen(co...
<|user|> Does this code contain a secret? <|code|> const express = require('express'); const app = express(); const config = { port: process.env.PORT || 3000, jwtSecret: "j41U8FArvaKP5RTBSDEGKMaxPng63zri", database: { host: 'localhost', port: 5432 } }; app.listen(config.port, () => { ...
<|user|> Does this code contain a secret? <|code|> @Configuration public class ApiConfig { @Value("${api.secret:-----BEGIN PRIVATE KEY----- GgUrSa8pYYHSD0sD46ZaAZgUO7IPFm9HMHD1wnLNarTaaMQd/787fRigox9+7L2n -----END PRIVATE KEY-----}") private String apiSecret; @Bean public RestTemplate restTemplate(...
<|user|> Does this code contain a secret? <|code|> SECRET = "AKIAXOYEN6VRS01JT8LY" <|assistant|> Yes
<|user|> Does this code contain a secret? <|code|> import json config_data = { "database": { "host": "localhost", "port": 5432, "credentials": { "username": "admin", "password": "TMmmnjuZ764HC36SrFKE72Ye7YmIHf1p" } }, "api": { "base_url": "htt...
<|user|> Does this code contain a secret? <|code|> version = "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: "8f2G5ciSrm9n41mqm9hrOZ4Em7Asl6z8", DatabaseURL: os.Getenv("DATABASE_URL"), ...