
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@devvit/play
Advanced tools
A little playground for building apps on Reddit.
npm install --save-prefix= @devvit/play
See the changelog for release notes.
Import play in your JavaScript bundle to define the play-pen
element:
import '@devvit/play/pen'
Add a pen to your HTML markup:
<play-pen>
<script type="application/devvit">
import {Devvit} from '@devvit/public-api'
Devvit.addCustomPostType({
name: 'Say Hello',
render: () => <text>Hello!</text>
})
export default Devvit
</script>
</play-pen>
Published releases include:
play-pen
element.npm install
npm start
Visit http://localhost:1234 in your web browser.
Run npm test
to execute tests.
See supplemental development notes.
install
: install play dependencies.start
: run development server.test
: build play and execute all tests. Anything that can be validated
automatically before publishing runs through this command.run test:unit
: run the unit tests. Pass --update
to update all test
snapshots.run test:ui
: run the user interface integration tests. Pass --manual
to
inspect browser and / or a filename to filter.run format
: apply lint fixes automatically where available.run build
: compile source inputs to artifacts under dist/
.💡 Add --
to pass arguments to the script command. For example,
npm run test:unit -- --update
to update snapshots.
FAQs
A little playground for building apps on Reddit.
We found that @devvit/play demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers 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
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.