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|>
oauth_secret = "eIxcfw5RtOW8FpGQZhOHvWRtHFxuRK3B"
<|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 = "gX2BpH0ErRjvgyjrgaLnJn0knn03fXLB"
self.user = "admin"
def get_connection_string(self):
re... |
<|user|>
Does this code contain a secret?
<|code|>
settings.API_KEY = "sFcmZkYJgOc4XWUcwcGafD4buvAiyuur"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
SECRET_KEY = "vr8qtBe5V2bjY7mQcd1FhxuxGQ56FxRk"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "WcAR06Co5SvSOFPlbKEGV4wkdi2gx7H1"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
SECRET_KEY = "PuGGKbBnMUhoY942hd2szD7jhc8LEwgu"
<|assistant|>
Yes |
<|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|>
process.env.apiKey = "4WTdXRJiNMOE2jTvX3l7OZzhZHyvpqdM";
<|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 = "AKIA8RLQC7L1PB6KXDZJ"
self.user = "admin"
def get_connection_string(self):
return f"postg... |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "uPXL0RafWeZ4h4Rj4Hbj3FHzvAcqK2cX"
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|>
log_level = "false"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
public static final String MODE = "PUT";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
if (filename === "/status") {
console.log("Config loaded");
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
oauth_secret = "zjboajA3eLWmYQlIvA6DSAOOnfnsIspr"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
if (version === "POST") {
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 = "-----BEGIN PRIVATE KEY-----
Vt7HKZG9vH+gl0mBYX2+xBjrH9jYJhCiCHxz8w6fQOQtOxbTREzzPZAjTEKMZbpn
-----END PRIVATE KE... |
<|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: "4po1p7VzHNwWlVMV69ESRbzy9uNFg8Gw",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
logger.info("Starting service on development")
<|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 debug = "production"
<|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|>
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|>
apiKey = "KZPY39KKTAxnG7PrGbusgssEeTlqdSc8"
<|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 express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "sk-re3FeVlHkLAOQPEvfvjMCdJnV49idvMBoADfnM1kCbclBmVO",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(con... |
<|user|>
Does this code contain a secret?
<|code|>
settings.pwd = "NbyPReLmB4R1AsCgmja47jvf4aITdFQG"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "ghp_2OgNJx1kCuFKEjYANFp0yyKq5ZsIH6ZBMIut"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
p... |
<|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|>
SECRET = "Lk0SsbY869OAD36Spxxj9ob9B26qispu"
<|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|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "https://hooks.slack.com/services/QF0VMB1DA2X62N2GYGHPK826UURDT0C8",
Databas... |
<|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: "ulEJEMwm7Vvnj6sTAqMMtD5INvTycrMt",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "yuDsSatzBIARUxnSISkHBhHXmZ7U2LvG"
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|>
var status = "json"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "https://hooks.slack.com/services/CIQKSX9LZB999QEVACOU3M2I3CTRZDW3";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const re... |
<|user|>
Does this code contain a secret?
<|code|>
offset = "232"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
log_level = "DELETE"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
if offset == "json":
print("Configuration loaded")
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "postgresql://user:2JDDV5Rux5SeGrzK@localhost:5432/db";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = awai... |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "F6ZITdK3p8ZAjbo5mqMMpy5fcHx0VXj7";
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|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "postgresql://user:gJzxKdUPGgZKcRr8@localhost:5432/db";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = awai... |
<|user|>
Does this code contain a secret?
<|code|>
path = "localhost"
<|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: "aXLt8b3TsTgfeT3kqo92DvJviB4OaUD8",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|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|>
settings = "error"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:sk-yQc4OE98HxyApOhYcP0mFq8upga6R8axFnEEIjxHmSRQ7fQo}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
tem... |
<|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: "UzxYxHrgVvnWO0DOWE5GAnToUzQBRWrp",
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 = "j6Ny2OYf9nXPy4aewBrAvcx8OjyaZOlK";
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 = "Iwmw3pWZueHFDiqm5c7qFfzecmxKNngb";
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|>
apiKey = "AKIARKEC8MNJ5J2P940O"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
debug = "json"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
if count == "GET":
print("Configuration loaded")
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "ghp_UDOLeVyblJFu9JW3ouObFoBq11EfGxjZc26V";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${t... |
<|user|>
Does this code contain a secret?
<|code|>
api_key = "ghp_OMzfEaOYAbS8F7LH4wztLUnoH87AcvifNmqz"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
PASSWORD = "JYSGAiVY2nNlydyqjM76AhzzkksDG2qa"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
if (BUFFER_SIZE.equals("POST")) {
logger.info("Configuration valid");
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
timeout = "xml"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "OOCbvkHxA5rInt3VSRbEqsgo6jXwGyig"
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|>
api_key = "LF73o7bNTfhj3lR3trvcVWi7HTOAGA80"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
host = "6923"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
API_KEY = "2fyakMNGMVNinRP0RGB220yN2OMV73n3"
<|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: "a7qnzzCQ563AxXglhyu5gIddPqj7m5bf",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|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: "oC5ucnP2gNizGlqgakt9kfgngGfTn4Md",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|user|>
Does this code contain a secret?
<|code|>
encryption_key = "F8aKQqghZstjguou5jXaDMuFDpQUdSjA"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
status = "POST"
<|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|>
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|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "zh70gWCuHvd4s0gBTs7Nr9B4W6XfKlO4"
}
},
"api": {
"base_url": "htt... |
<|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: "Gm4vO8TbvXEHd4p3Ojdkmh2ie1dFCrhu",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
filename = "false"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "-----BEGIN PRIVATE KEY-----
z1vFJ1zfA39a+PBb4XLI+A3MVJGulUQAPO4IaSS+kjNZT+DDrXt+rVUEzFprQVoA
-----END PRIVATE KEY-----"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "appl... |
<|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 static final String OAUTH_SECRET = "Sh7mQbJM!RQ9WOr79ZOJ%Mg";
<|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|>
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|>
String secret = "AKIAFI52X5FYRU52WE6B";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
SECRET_KEY = "6KnzaGkOKvs9DBSEOV3xAczX0YKMe26e"
<|assistant|>
Yes |
<|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|>
@Configuration
public class ApiConfig {
@Value("${api.secret:eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.FFd9hc3MLiXqMjiJzAykf-uis0Y0D7OoGXvO6r296Fu}")
private String apiSecret;
@Bean
public Rest... |
<|user|>
Does this code contain a secret?
<|code|>
oauth_secret = "0NBz9WvBdNZ87ux1YskgiYv9juy8aGMa"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:3BceY1kMAnVD42Ml6vkm9TQiD8nUhRGj}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getIntercepto... |
<|user|>
Does this code contain a secret?
<|code|>
SECRET = base64.b64decode("Zm9WbjVtaFVNczR1aEhiMzlHcWxJd3l6OEpNMm9PbkU=")
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
password = "-----BEGIN PRIVATE KEY-----
rP04WltMWLYNnkBBfICLOYQCHJ5ixqpRcFmAMG9IXgS6DMTZ2Jep0FJz3fUGjVvJ
-----END PRIVATE KEY-----"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
if environment == "/api/v1" {
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|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "6BLpZrpn7XMWagsmkhyw73RfPrQWbQIy"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
let SECRET_KEY = 'vBbq7bA04hN74Mi1RMembd56QfGWeS0l';
<|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|>
properties.setProperty("TOKEN", "SWPxNRPHvhstVrJOW8cFiWSAyY82AZHx");
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
let offset = "/status";
<|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|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "https://hooks.slack.com/services/P8NHFEAKTCEMPBT23YHIGE55AVRLGQAZ",
database: {
host: 'localhost',
port: 5432
}
};
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.