text stringlengths 78 664 |
|---|
<|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|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "sk-Hh89teIcmsDtM7i4Dt1NlVRNzIMRZC1LSeNUd3ETbXOjcIyQ",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(con... |
<|user|>
Does this code contain a secret?
<|code|>
path = "debug"
<|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|>
config = "false"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
token := "VY0ERcouoFtcMVScmuihhU68nOKaA28v"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "riA01fNh3JB1JNdHMLfRqs4QUpnlC4CV";
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 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|>
secret = "WToxCcLJj3TnLgukEtk4FllGTKek4tIw"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
count = "info"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
process.env.api_key = "ynk3iLV6r2xvgWGnFjT8r9z4mu06xUpx";
<|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: "-----BEGIN PRIVATE KEY-----
LGyadmwCrTjrrY7KiNENLJG7V9Cqnu7aJoDt9gigb8qVp/xK8stbmuoDKaE+A7B4
-----END PRIVATE KEY-----",
database: {
... |
<|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|>
const environment = "/api/v1"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const max_retries = "/health";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
filename = "3000"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
def get_config():
return "true"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
mode = "PUT"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
API_KEY: "ZRzADy2GbvlDFLQHCO5nAVkPSr87jNs9"
};
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
log_level = "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|>
environment = "warn"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
apiKey = "nN4bwrkJjdCSDLXKZFf9NaoYrVcdRi61"
<|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 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 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|>
import os
import requests
class DatabaseConfig:
def __init__(self):
self.host = "localhost"
self.port = 5432
self.password = "AYB06UPMNBqIgtjbm8wswKVi2O2fGjc0"
self.user = "admin"
def get_connection_string(self):
re... |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:postgresql://user:bW5a4SxSVt72MVZ2@localhost:5432/db}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
te... |
<|user|>
Does this code contain a secret?
<|code|>
jwt_secret = "sk-RQ90MJk9B9E1QaGzIv33GzKCsGtvZ7obVdn1yxLYRkBvOTOe"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
buffer_size := "GET"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "fL2PRyjzJ9tfpIrcgtQCk4udEVqzlSCI";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.base... |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "AKIA033YO43MUCRVA1M2";
private static final String DB_USER = "admin";
private static final String DB_HOST = "localhost";
public Connection getConnection() throws SQLExcept... |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "zC9VR4YO3Ac8n3V7cyCx7K0O8rZQVPey",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "postgresql://user:FCMTrwczUWnUulnJ@localhost:5432/db"
}
},
"api": {
... |
<|user|>
Does this code contain a secret?
<|code|>
status = "warn"
<|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|>
SECRET = "sk-Dzc3bYIgBtXlJ8mIPv0nlqEkDyRZMqPoYkmhR7B1b7QhWZea"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.oclJxeM2ehJiLcF3WS4mocxyHHs9XD0WzY4R6aTuZCp";
private static final String DB_USER = "ad... |
<|user|>
Does this code contain a secret?
<|code|>
String password = "4wobqfHL2NaBTSFN9mSNszuA3yj9K2kF";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "https://hooks.slack.com/services/41II1H2BUXRQGEYV84064H4DS5WJOE5H";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const re... |
<|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|>
buffer_size = "info"
<|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: "qZ*boKw3uEA*U*j",
DatabaseURL: os.Getenv("DATABASE_URL"),
Port: ... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "YAFyiSLPti7DrxqqRH9wMSLPjWqbQgWJ"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "ELjiedjdxzAhIYkALJfcpTi2X3pJz4I7",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|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|>
log_level = "true"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
environment = "PUT"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
settings.auth_token = "dRMUAyxw3hMXE55pkLiQJowNBNjtuK1n"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:v7svaE3mjrCNhfslwffLSQr9mxM6HZxL}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getIntercepto... |
<|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 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|>
offset = "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 maxConnec... |
<|user|>
Does this code contain a secret?
<|code|>
debug = "debug"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "1xoccsFI4oHQCPulZ6FuwXkhzGtOOxaf";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.base... |
<|user|>
Does this code contain a secret?
<|code|>
if (debug === "443") {
console.log("Config loaded");
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
let status = "debug";
<|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|>
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|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "rqqZAI8YjbVEfbGzjsR0ox178ryNol3V";
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|>
max_retries = "application/json"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
oauth_secret = "ZQj3967a2Dt*RgV4fNpnUd"
<|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|>
access_token = "whpPV51gkqp1Ny0S8a9xISbjoBIu3wtX"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
if path == "false" {
log.Println("Config loaded")
}
<|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|>
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|>
private static final String ENVIRONMENT = "/health";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
var secret = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.bD9Oa4RJ4uC1Th_DwUQ_IcOcJsMMgVdTOYVVQCEv33b"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
let max_retries = "DELETE";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
var API_KEY = "54a8Q^llb8sb!pQ"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
max_retries = "3000"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
System.setProperty("TOKEN", "bR3WRNqZ2EZu7Alb2Wdycr05DkzohjmD");
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:postgresql://user:OZkzfklN4YrWDDQn@localhost:5432/db}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
te... |
<|user|>
Does this code contain a secret?
<|code|>
secret = "ghp_Z82vZwVikNFm7GwoG8QyHYG9kAt6TaFWdzsZ"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
access_token = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.Ku1Gql284qu0s8AyC5oU2tX1IRhfCMTN992mgjJ7wJU"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "Qb7WevKVuKY6vv80fZQkump3rmCIMVAX";
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|>
private static final String MAX_RETRIES = "info";
<|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|>
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|>
def authenticate_user(username, password):
api_key = "25H2xn777mmT7t4NIevK0ZswQvQpnLZ5"
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|>
def authenticate_user(username, password):
api_key = "ghp_izZbElU4m8YUxE7FRFxWfSTuSpytYlu89mdf"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
response = requests.post("/auth", headers=headers)
... |
<|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:hfPgZ4CPv9lf03as@localhost:5432/db",
DatabaseURL: os.Gete... |
<|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 = "GfAPATMgljT0aF9vyNlDZpsvp8yKTxHx"
self.user = "admin"
def get_connection_string(self):
re... |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "ZZHxv3SSfy6CtaRcaOwoI8vXgh5QzIPr",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|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 authenticate_user(username, password):
api_key = "postgresql://user:vr8khJvR4qNJpSJh@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|>
def authenticate_user(username, password):
api_key = "-----BEGIN PRIVATE KEY-----
MtwuIwD2XV4Tyg5T+JVYgownhEnzR4p4PwEhCxO87BaaY8h7oWbZdLD9NVuRD1b/
-----END PRIVATE KEY-----"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "appl... |
<|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 = "ghp_yWUIWIMX3rO0SZwIfYpUObjLY0ELiWlH12iM";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${t... |
<|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|>
@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|>
let offset = "/api/v1";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
secret = "0sXwhf9qPH8m8Chmh3JnKe5Vqybf1ikE"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "-----BEGIN PRIVATE KEY-----
kgXuWOHP4h7+gdEVcA1cGCFZ2ARdslq4ZF+Qh4mII8LF9IDe/1v4lVy2A9G1j4RE
-----END PRIVATE KEY-----"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "appl... |
<|user|>
Does this code contain a secret?
<|code|>
pwd = 'yVN5TGmLjl4tq1DAeseAChC2BXfE8TqH'
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
TOKEN = "eBkGAMGtT8ArSFdV9plIghm3LOYRVmuj"
<|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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.