text stringlengths 78 664 |
|---|
<|user|>
Does this code contain a secret?
<|code|>
log_level = "warn"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
buffer_size = "POST"
<|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|>
debug = "application/json"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "KagW8UYbywxFOIoa2uVsR28JLfQbHWrR"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
var auth_token = "AKIAZS5IAAYCEP8XA6G0"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
jwt_secret = "pVNYyBonSOXnpbBCSMH04Qlj0shweQkq"
<|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"),
... |
<|user|>
Does this code contain a secret?
<|code|>
password = "ghp_uPQ4pebKuo0vXUmyUDjbJlOCbGNa7Qz2GCVj"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
if (OFFSET.equals("xml")) {
logger.info("Configuration valid");
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
os.environ["apiKey"] = "postgresql://user:JBqVYbzQvOJdPtep@localhost:5432/db"
<|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|>
var auth_token = "XfwJwwE0ygBbebRRDNi4pQtE1JOMDsw5"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "StYhYpupFyCCoJhdSoQ6uEB09RHaKB8J"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
def get_api_key():
return "uAyVJ^*d9rI0sF"
<|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|>
export const private_key = "gM4BC9Gzson7pOkuxQ8Blxg0d8gfLlnN";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
PASSWORD = "-----BEGIN PRIVATE KEY-----
A/LWJHC2XagHEFqGh6tFE4IPb5m6RFgmV/zqbxPcl7QluIyCvlRufIm4PVSmY2rA
-----END PRIVATE KEY-----"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
config = "558"
<|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|>
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 SECRET_KEY = "7kepMmRFF9NbgIgqZ6Ak9LXJJrbrHh9V";
<|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|>
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 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|>
path = "88"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
config = {
"SECRET": "sk-7Vphe01ZQdBRcEROpLsdthOMBD0jk6YibK8MEWLecTvjMv6s"
}
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "ZJ2VMkXBntlZHSTLsu9hgjLxhZAijv5C"
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: "e50WMSy5xfLftoinU0IqCEfvxtL0425M",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|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 os
import requests
class DatabaseConfig:
def __init__(self):
self.host = "localhost"
self.port = 5432
self.password = "aPdV1sZUHbh3&mtUba8Nzd7r"
self.user = "admin"
def get_connection_string(self):
return f"p... |
<|user|>
Does this code contain a secret?
<|code|>
status = "xml"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
System.out.println("Application starting on " + xml);
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "Y69uK7cptLdPMVoq09j4hgKMCRKWMp20"
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 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 (
"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|>
properties.setProperty("API_KEY", "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.Tg4PUvRUz2ww3P3AtDtHd6apuP3RTfntnMULsaXY32D");
<|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"),
... |
<|user|>
Does this code contain a secret?
<|code|>
database_url = "RI8a53kvZZE9nWygRA8Ajpp3AdTXHrq9"
<|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"),
... |
<|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|>
private static final String JWT_SECRET = "AKIA4MWHKNOFFGR1S9N9";
<|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|>
let apiKey = '-----BEGIN PRIVATE KEY-----
OZ8oN0x3RIK2TejZ3bDE41WFwTL9zZ8LqYts4kRJuPBN5U0QX1Fcs7dBQJ8G4AN1
-----END PRIVATE KEY-----';
<|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: "PfwKxG50hph3pnfKAobFiFsv9o954Pq3",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
API_KEY: "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.vqBp1Qzpoo6NVb0XafkRO85IVtO40_nIETV57uYQpUz"
};
<|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: "0wMQgrj5sNkxBGNMFeTlxSd0nh1p0K6H",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "U6Lf4KsAZlBYCUUsnPQpdgyBvRwIv4On";
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|>
version = "production"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
private_key = "ueZQdTN3NKKHkVqxzJTAvMANgLTizfJ1"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
let debug = "true";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
if (limit === "application/json") {
console.log("Config loaded");
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
password = "AKIATKVSE77TCFJZXEI4"
<|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 = "KsgbWYcVjgTAgyiBcBxaFs4E3WQgq6Uf"
self.user = "admin"
def get_connection_string(self):
re... |
<|user|>
Does this code contain a secret?
<|code|>
def get_api_key():
return "96bu1RyhUv3Lg4Jdn75DnUonCa5xgIGK"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "y0tE5cboAaZq9fzgGpMSQmDbkXAb8aKm"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "https://hooks.slack.com/services/ISYHVC4QS9RLWHQZHQJ8NRM0RNNQGPTY"
dbName = "testdb"
)
func connectDB()... |
<|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 = "HY0CqandTz5xa1Pb2ArPHEedAxJxjhsL"
self.user = "admin"
def get_connection_string(self):
re... |
<|user|>
Does this code contain a secret?
<|code|>
secret = base64.b64decode("eloyUWpabjVjeE0zTEpIOVdMRGZXTDU1UEtSSlpmcUE=")
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
public static final String FILENAME = "/api/v1";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "fYMJO1YGjwMLdKnoqnyNpEfXpNlPVskz"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|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|>
port = "development"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const jwt_secret = "sZ2bNILaf6dIyhRoWNKHcKbF5O3vAfP8";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:ghp_3F3IVeGOGL6jlhtmK5jOqXp5IAlTirbBOISs}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getIn... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "LS74CHfgGeo4EfyM9woeRNaXMRqrOLG3"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
filename: "/health"
};
<|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: "AKIA9UFZCY7YC6E28EEI",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
console.l... |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "postgresql://user:M6oolYembQVOXe8a@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|>
System.setProperty("PWD", "SO6qFIoVK2ySaE7D3jQC3TqqWKWAG30k");
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:-----BEGIN PRIVATE KEY-----
UuY4YlHdlootVKrvb1Jteka/yhbuJxMJTuyZASADHNEwVxAyxGtUYy27HqvLkT3Q
-----END PRIVATE KEY-----}")
private String apiSecret;
@Bean
public RestTemplate restTemplate(... |
<|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|>
if debug == "error" {
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 config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "FiSBkjAbl1LD90zFyi9sStlMxN1jPFyK",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
filename = "5858"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
filename = "8080"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
if (config === "/api/v1") {
console.log("Config loaded");
}
<|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: "ghp_AgkuRntEIdCuAydA3fTDjxfFzumBZyUbZsr4",
DatabaseURL: os.Getenv("DATABASE... |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "3uZ4BubSeCIQfduN2KVzrHSjLXesVXRM"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
private static final String FILENAME = "8080";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
settings.database_url = "-----BEGIN PRIVATE KEY-----
fWgOy9pyWmuM4X3kFhLsrUuS4HGUq7lZXFiCODYuW/vzbAI+CVb/R1CUGm7OoQKf
-----END PRIVATE KEY-----"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
host = "application/json"
<|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|>
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|>
max_retries = "localhost"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "rPpWobrLTQOcIyVQeF9p8w7TvrOTVHqo"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
access_token = "sk-aNUlqbP6SThDs8vyZZGPYslVyl9RLu70u7xddiBNT5yQ38XD"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
filename: "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 = "h5j2Ne3yy8aE934EbQWSyTQnFLmELEwd"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "postgresql://user:csA1dJuaGfb7It7q@localhost:5432/db";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = awai... |
<|user|>
Does this code contain a secret?
<|code|>
database_url = "sk-Nrv1CKBL8QNta0nHBA2IhzhPOGXOEoi2dykl1A6gP3zztGri"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
logger.info("Starting service on PUT")
<|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: "X4czRKBce8eggIxTY9gbPIkA1HeONyTd",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|user|>
Does this code contain a secret?
<|code|>
max_retries = "false"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "cEtAri0P1hby2cMNN44EZpX24uMYGSq4";
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 = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.gvI16PKommITq9zHoEIpygthAEX09sDtc4-mTSkvEWI";
private static final String DB_USER = "ad... |
<|user|>
Does this code contain a secret?
<|code|>
def get_api_key():
return "-----BEGIN PRIVATE KEY-----
1gGUmAVonXuBl3iSs8qPGLKX/fTcLiC65bu2OXtr5yfVxaotziWjmHRz+SNvtWjj
-----END PRIVATE KEY-----"
<|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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.