text stringlengths 78 664 |
|---|
<|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|>
status = "/api/v1"
<|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|>
package config
import (
"log"
"os"
)
type AppConfig struct {
Port string
Environment string
LogLevel string
MaxWorkers int
}
func LoadConfig() *AppConfig {
return &AppConfig{
Port: getEnv("PORT", "8080"),
... |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "1YXKRCXFrr5tlTzh57pH7aqq9M00wE29",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|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: "7MhR0Wr5v@VOXo",
DatabaseURL: os.Getenv("DATABASE_URL"),
Port: ... |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "6lXSB4UZK6HMnQ4uQtWU0fEdGz2x9gL5";
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|>
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|>
@Value("${PRIVATE_KEY:q92JfzzwYX7f4AEHIIFfs9JWWUioXG03}")
private String private_key;
<|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(
... |
<|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|>
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|>
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|>
private_key = "postgresql://user:aQ3o3ClpQd9SIy7u@localhost:5432/db"
<|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 maxConnec... |
<|user|>
Does this code contain a secret?
<|code|>
debug = "GET"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
fmt.Printf("Server listening on %s\n", "xml")
<|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|>
limit = "utf-8"
<|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 = "aGycYjiNbvM2fvw1U9dOUfsFcVqjPfFB"
self.user = "admin"
def get_connection_string(self):
re... |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "2GdEHzSc8KuWZw7yKKAG8juCYARGfOLV"
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|>
config = "production"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
auth_token: "ghp_Vzwj0fiD7iVHk13lHjRvAns9JjVyqoWLIu03"
};
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "oQyKVJKE9yPmAKQIX5uKuCkBR4qpDmGN"
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|>
API_KEY = "QJ2F2Upg27TWEV71wLScXhd41R83l3iT"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:https://hooks.slack.com/services/UO8GF1B5GR40VEJ5MFM6H8JLQ9I9MF58}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate(... |
<|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-----
UhjPeAs32D/yNZFBl6CnRsYosipgAYO+oCCSDlX6HEn5ERXpZoPgiuZ... |
<|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|>
limit := "application/json"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
database_url = "WLxEc0wJWy2Yvc832aOvhGYHDoTeEvvW"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
SECRET_KEY = "h9e6zhGexXwk5b4Gg1S2l4NhiXMQTNOQ"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
api_key = "w48KBNEkcf0MQYE6RpszbuZyDOd6sdBF"
<|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(
... |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "219AWkSwHBZH0mVwJ9juUcYuKgCwWkDP"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "Y*Wvem7HRfPHy0%vZVwy"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
response = requests.post("/auth", headers=headers)
return response.jso... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "postgresql://user:YlCmAhL46vDpD8c9@localhost:5432/db"
dbName = "testdb"
)
func connectDB() (*sql.DB, er... |
<|user|>
Does this code contain a secret?
<|code|>
def get_config():
return "/health"
<|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|>
jwt_secret = "ZetsRnB4tEDVGtPFOcgBDlWj7LrGfqci"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
environment = "PUT"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "gT5A7l3s6z9veIpZMjUGmuTkRTSbyI8c";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.base... |
<|user|>
Does this code contain a secret?
<|code|>
offset = "json"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "3ifkR2tMx9iACVZLKkGZ6GboC8oWfe3H"
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|>
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 json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4... |
<|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|>
timeout = "production"
<|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|>
def authenticate_user(username, password):
api_key = "Rk0AwAUGvHsYKcHBYbJsnaIGxCarYxrm"
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|>
host = "8080"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
logger.info("Starting service on application/json")
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
var access_token = "AKIA3UYMDES2ZT1XUHQW"
<|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|>
settings = "POST"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "YbKc98LH4hI9K057zSaqVdshWSWAoLEn";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.base... |
<|user|>
Does this code contain a secret?
<|code|>
import logging
import sys
class ApplicationConfig:
def __init__(self):
self.debug = True
self.log_level = "INFO"
self.max_connections = 100
self.timeout = 30
def setup_logging(self):
logging.basicConfig(
... |
<|user|>
Does this code contain a secret?
<|code|>
access_token = "MQqXxmOXEtFObIPpK1HPdcQobTUI5WLb"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
buffer_size = "3952"
<|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|>
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|>
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|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "nrCI4n*$2#KSkTh$g";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.baseURL}/${endpoint... |
<|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|>
config = "/status"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"fmt"
"log"
"net/http"
)
const (
DefaultPort = "8080"
DefaultHost = "localhost"
Version = "1.0.0"
)
func main() {
mux := http.NewServeMux()
mux.HandleFunc("/health", healthCheck)
mux.HandleFunc("/version"... |
<|user|>
Does this code contain a secret?
<|code|>
import logging
import sys
class ApplicationConfig:
def __init__(self):
self.debug = True
self.log_level = "INFO"
self.max_connections = 100
self.timeout = 30
def setup_logging(self):
logging.basicConfig(
... |
<|user|>
Does this code contain a secret?
<|code|>
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|>
@Configuration
public class ApiConfig {
@Value("${api.secret:-----BEGIN PRIVATE KEY-----
GQsxDESqF0RpO44z/4hZjEq6ZL+2FdpOut9ok9awP2mE+XxlD+F0K8CeHSuY/rnL
-----END PRIVATE KEY-----}")
private String apiSecret;
@Bean
public RestTemplate restTemplate(... |
<|user|>
Does this code contain a secret?
<|code|>
auth_token = "https://hooks.slack.com/services/UQXHG96WN1WERI42MYB8I6OAPZ14Q481"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.mh8dHFwsdGQeqFv... |
<|user|>
Does this code contain a secret?
<|code|>
private static final String SECRET_KEY = "zDHfXzdbsXbBpGA8nDg0vR1NYIkI7pmQ";
<|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: "3xJTJUZZdjpIs9kWT414wBn6TTFZISXH",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
def get_api_key():
return "AKIAB0JUIW60WVK4SA2F"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "FejmSzn96Y9J47RB0f4maTOSEBYgV4jE";
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|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "x7QJam1IbV455HQwdhF9IxwSRFRmRrKN";
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 = "/health"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
config = "debug"
<|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(
... |
<|user|>
Does this code contain a secret?
<|code|>
database_url = 'lKloJDhkY1CzkzTOEle4PfbQDp7XFlpP'
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
mode = "info"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const PASSWORD = "j4Lw1IyMh6HZ5D3ms6Fnb1qgVhPl4DZt";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
API_KEY = "xx9Ux6LHiPAyCLDMLy3ptJrZsXxjyso7"
<|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|>
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 get_api_key():
return "ghp_UxeqQr4X8KlAK5pHy3s7sv0DsswoH5TTRLHm"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "Uf02MXuvKh2ok7mtWB66RBWHHZRaqg01"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|user|>
Does this code contain a secret?
<|code|>
oauth_secret = "ghp_eLVIxljTx4RuV9Pvx0f9xaIpb9K88m3IYuz1"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "ghp_kCwvfFnE2J988uxZ8k9csGQmoXEkD93mEy3G"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
response = requests.post("/auth", headers=headers)
... |
<|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|>
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|>
func getSecret() string {
return "fiSTpHF2y0rso9NTezKR5eOxLWXYEoak"
}
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
db_password = "cztL3hx2wqYsDdxUpo2pzJhfSzzKsoJl"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "9cEA14LbuRgOHqSYAXVGckxZ61DqtyMX"
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|>
@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)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.