Quantcast
Channel: Simple Password – LeakedIn
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: API Key

$
0
0
Detected 1 occurrence(s) of ‘(api|private)[-_]key[ "']*=[ ="']*\w+’: class LandingController < ApplicationController def index @user = current_user @name = @user.name.titleize @balance = "#{@user.currency} #{@user.balance}" @last_login = @user.last_sign_in_at api_key = ApiKey.find_by_user_id( @user.id) @access_token = api_key.access_token end def check_mail end end def success transaction = Transaction.find_by_token(params[:token]) transaction.payer_id = params[:payer_id] Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: success transaction = Transaction.find_by_token(params[:token]) […]

Viewing all articles
Browse latest Browse all 2663

Trending Articles