
Research
Security News
The Landscape of Malicious Open Source Packages: 2025 Mid‑Year Threat Report
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
!!! INFO !!!
Visit our documentation for more information/explanation.
pip install dprofiles.
Head over to the Discord developer site to get your Bots Token, Client ID and secret (if you are using the Oauth2 Client). Make sure to also set a redirect URL for your bot.
import dprofiles
client = dprofiles.Client("<your token>")
client.get(670663150365835285) # returns all user information
client.get(670663150365835285, "bio") # returns the information for "bio"
client.get(670663150365835285, "bio", save=True) # saves returned content into {user-ID}.json
client.check_vote(670663150365835285, [second-ID]) # True if user a has voted for user b
client.has_voted(70663150365835285) # True if voted in last 6/12h
from dprofiles.ext import DiscordOauth2Client
from quart import Quart, redirect, render_template_string, request, url_for
app = Quart(__name__)
app.secret_key = b"some random bytes for the secret quart key"
app.config['DISCORD_CLIENT_ID'] = ""
app.config['DISCORD_CLIENT_SECRET'] = ""
app.config['SCOPES'] = ['identify']
app.config['DISCORD_REDIRECT_URI'] = 'http://127.0.0.1:5000/callback'
app.config['DISCORD_BOT_TOKEN'] = ""
client = DiscordOauth2Client(app)
@app.route('/')
@client.is_logged_in
async def index():
user = await client.fetch_user()
return f"Hello, {user.name}!"
@app.route('/login/', methods=['GET'])
async def login():
return await client.create_session()
@app.route('/callback')
async def callback():
await client.callback()
return redirect(url_for('index')) #redirects to "/"
if __name__ == '__main__':
app.run()
/users/@me
without email
./users/@me
with an email
.FAQs
Discord Oauth2 Client for Quart and a easy to use API Wrapper for dprofiles.xyz
We found that dprofiles demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.