Scan your whole stack
Are you using @amplitude/babel-plugin-autocapture-transformer?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.0
@amplitude/babel-plugin-autocapture-transformer was last scanned on 23 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.0 LATEST | 23 Nov 2026 | No rules fired |
| 0.1.3-cursorvideo-click-cell-9eb2.0 | 20 Nov 2026 | No rules fired |
| 0.1.3-cursorpage-x-y-plus-click-cell-9eb2.0 | 19 Nov 2026 | No rules fired |
| 0.1.3-video-analytics-plus-page-x-y.0 | 18 Nov 2026 | Not shown |
| 0.1.3-claudeconfident-mccarthy-373nfy.0 | 10 Nov 2026 | Not shown |
Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.2.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A Babel plugin that wraps React Native interaction handlers with Amplitude's ampCapture helper at compile time, so element clicks and other UI events can be autocaptured without changing your source JSX by hand.
npm install --save-dev @amplitude/babel-plugin-autocapture-transformer
This plugin expects @amplitude/analytics-react-native to be installed in your app (it auto-imports ampCapture from that package).
In
function HomeScreen() {
return (
<Button
accessibilityLabel="Online test label"
testID="12345"
title="Online test"
onPress={func}
/>
);
}
Out
import { ampCapture } from '@amplitude/analytics-react-native';
function HomeScreen() {
return (
<Button
accessibilityLabel="Online test label"
testID="12345"
title="Online test"
onPress={ampCapture(func, {
action: 'Press',
accessibilityLabel: 'Online test label',
testID: '12345',
element: 'Button',
component: 'HomeScreen',
})}
/>
);
}
When a file already imports from @amplitude/analytics-react-native, the plugin adds ampCapture to that import instead of inserting a second one.
.babelrc / babel.config.json{
"plugins": ["@amplitude/babel-plugin-autocapture-transformer"]
}
babel.config.js (Expo / React Native)module.exports = function (api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: ['@amplitude/babel-plugin-autocapture-transformer'],
};
};
{
"plugins": [
[
"@amplitude/babel-plugin-autocapture-transformer",
{
"pressableElements": ["CustomButton"],
"valueChangeElements": ["Toggle"],
"textChangeElements": ["SearchField"]
}
]
]
}
The plugin only rewrites known interactive JSX elements that already have an expression handler (for example onPress={handler}). String handlers and elements without handlers are left alone.
| Category | Default elements | Attributes → action |
|---|---|---|
| Pressable | Button, TouchableOpacity, TouchableHighlight, TouchableWithoutFeedback, Pressable, Touchable, TouchableNativeFeedback, Link |
onPress → Press, onLongPress → LongPress |
| Value change | Switch, Slider, Picker |
onValueChange → ValueChange |
| Text change | TextInput |
onChangeText → ChangeText, onSubmitEditing → SubmitEditing |
If the element also has accessibilityLabel and/or testID, those values are copied into the ampCapture properties object. The plugin also adds:
element — the JSX tag name (for example Button)component — the enclosing React component or function name when it can be resolved (for example HomeScreen)| Name | Type | Default | Description |
|---|---|---|---|
pressableElements |
string[] |
[] |
Additional JSX component names treated as pressable (onPress / onLongPress). Merged with the built-in defaults. |
valueChangeElements |
string[] |
[] |
Additional JSX component names treated as value-change elements (onValueChange). Merged with the built-in defaults. |
textChangeElements |
string[] |
[] |
Additional JSX component names treated as text-change elements (onChangeText / onSubmitEditing). Merged with the built-in defaults. |
<Button />). Member expressions like <RN.Button /> are ignored and need to be included in the options array.{...props}) are not inspected for accessibilityLabel / testID; only attributes written directly on the element are collected.component is omitted when the enclosing function is anonymous (for example export default () => …).MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.